Skip to content

Commit

Permalink
Add target for enable_pod_security_policy deprecation information (Az…
Browse files Browse the repository at this point in the history
  • Loading branch information
bingosummer authored Nov 16, 2022
1 parent 9eeaf6c commit 1c98cce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aks-preview/azext_aks_preview/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def load_arguments(self, _):
c.argument('pod_cidrs')
c.argument('service_cidrs')
c.argument('load_balancer_managed_outbound_ipv6_count', type=int)
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(hide=True))
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(target='--enable-pod-security-policy', hide=True))
c.argument('enable_pod_identity', action='store_true')
c.argument('enable_pod_identity_with_kubenet', action='store_true')
c.argument('enable_workload_identity', arg_type=get_three_state_flag(), is_preview=True)
Expand Down Expand Up @@ -415,7 +415,7 @@ def load_arguments(self, _):
c.argument('http_proxy_config')
c.argument('load_balancer_managed_outbound_ipv6_count', type=int)
c.argument('outbound_type', arg_type=get_enum_type(outbound_types))
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(hide=True))
c.argument('enable_pod_security_policy', action='store_true', deprecate_info=c.deprecate(target='--enable-pod-security-policy', hide=True))
c.argument('disable_pod_security_policy', action='store_true', is_preview=True)
c.argument('enable_pod_identity', action='store_true')
c.argument('enable_pod_identity_with_kubenet', action='store_true')
Expand Down

0 comments on commit 1c98cce

Please sign in to comment.