|
186 | 186 | validate_defender_disable_and_enable_parameters, |
187 | 187 | validate_disable_windows_outbound_nat, |
188 | 188 | validate_asm_egress_name, |
189 | | - validate_enable_custom_ca_trust, |
190 | 189 | validate_eviction_policy, |
191 | 190 | validate_grafanaresourceid, |
192 | 191 | validate_host_group_id, |
@@ -976,8 +975,6 @@ def load_arguments(self, _): |
976 | 975 | arg_type=get_enum_type(workload_runtimes), |
977 | 976 | default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER, |
978 | 977 | ) |
979 | | - # no validation for aks create because it already only supports Linux. |
980 | | - c.argument("enable_custom_ca_trust", action="store_true") |
981 | 978 | c.argument( |
982 | 979 | "nodepool_allowed_host_ports", |
983 | 980 | validator=validate_allowed_host_ports, |
@@ -1787,11 +1784,6 @@ def load_arguments(self, _): |
1787 | 1784 | arg_type=get_enum_type(workload_runtimes), |
1788 | 1785 | default=CONST_WORKLOAD_RUNTIME_OCI_CONTAINER, |
1789 | 1786 | ) |
1790 | | - c.argument( |
1791 | | - "enable_custom_ca_trust", |
1792 | | - action="store_true", |
1793 | | - validator=validate_enable_custom_ca_trust, |
1794 | | - ) |
1795 | 1787 | c.argument( |
1796 | 1788 | "disable_windows_outbound_nat", |
1797 | 1789 | action="store_true", |
@@ -1906,16 +1898,6 @@ def load_arguments(self, _): |
1906 | 1898 | c.argument("mode", arg_type=get_enum_type(node_mode_types)) |
1907 | 1899 | c.argument("scale_down_mode", arg_type=get_enum_type(scale_down_modes)) |
1908 | 1900 | # extensions |
1909 | | - c.argument( |
1910 | | - "enable_custom_ca_trust", |
1911 | | - action="store_true", |
1912 | | - validator=validate_enable_custom_ca_trust, |
1913 | | - ) |
1914 | | - c.argument( |
1915 | | - "disable_custom_ca_trust", |
1916 | | - options_list=["--disable-custom-ca-trust", "--dcat"], |
1917 | | - action="store_true", |
1918 | | - ) |
1919 | 1901 | c.argument( |
1920 | 1902 | "allowed_host_ports", validator=validate_allowed_host_ports, is_preview=True |
1921 | 1903 | ) |
|
0 commit comments