'Adds custom configuration parameters to argument parser.
This is a helper function for make_deployer().'

@classmethod
def validate_options_helper(cls, options):

    if (options.deploy_distributed_platform != 'kubernetes'):
        return
    if (not options.k8s_account_name):
        raise ValueError('--deploy_distributed_platform="kubernetes"    requires    a    --k8s_account_name    be    configured.')
    if hasattr(options, 'injected_deploy_spinnaker_account'):
        raise ValueError('deploy_spinnaker_account    was    already    set    to    "{0}"'.format(options.injected_deploy_spinnaker_account))
    options.injected_deploy_spinnaker_account = options.k8s_account_name
