Skip to content

Commit

Permalink
[AKS] Validate network plugin to be either "azure" or "kubenet". (#12376
Browse files Browse the repository at this point in the history
)
  • Loading branch information
fengzhou-msft authored Mar 5, 2020
1 parent e235711 commit 61fbe31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/azure-cli/azure/cli/command_modules/acs/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def load_arguments(self, _):
c.argument('enable_rbac', action='store_true', options_list=['--enable-rbac', '-r'],
deprecate_info=c.deprecate(redirect="--disable-rbac", hide="2.0.45"))
c.argument('max_pods', type=int, options_list=['--max-pods', '-m'], validator=validate_max_pods)
c.argument('network_plugin')
c.argument('network_plugin', arg_type=get_enum_type(['azure', 'kubenet']))
c.argument('network_policy')
c.argument('no_ssh_key', options_list=['--no-ssh-key', '-x'])
c.argument('pod_cidr')
Expand Down

0 comments on commit 61fbe31

Please sign in to comment.