From cdd6874a51a35cf0bafa03b0c1a6a721569a6c65 Mon Sep 17 00:00:00 2001 From: Josep Manel Andres Moscardo Date: Tue, 19 Dec 2023 17:14:07 +0100 Subject: [PATCH] remove variable from default and passed to the inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml --- inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml | 3 --- roles/kubernetes/control-plane/vars/main.yaml | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml b/inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml index 38b786891d7..bb2250a345f 100644 --- a/inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml +++ b/inventory/sample/group_vars/k8s_cluster/k8s-cluster.yml @@ -120,9 +120,6 @@ kube_network_node_prefix_ipv6: 120 kube_apiserver_ip: "{{ kube_service_addresses | ipaddr('net') | ipaddr(1) | ipaddr('address') }}" kube_apiserver_port: 6443 # (https) -# list of admission plugins that needs to be configured -kube_apiserver_admission_plugins_needs_configuration: [EventRateLimit, PodSecurity] - # Kube-proxy proxyMode configuration. # Can be ipvs, iptables kube_proxy_mode: ipvs diff --git a/roles/kubernetes/control-plane/vars/main.yaml b/roles/kubernetes/control-plane/vars/main.yaml index ed97d539c09..bc65236b26f 100644 --- a/roles/kubernetes/control-plane/vars/main.yaml +++ b/roles/kubernetes/control-plane/vars/main.yaml @@ -1 +1,3 @@ --- +# list of admission plugins that needs to be configured +kube_apiserver_admission_plugins_needs_configuration: [EventRateLimit, PodSecurity, PodNodeSelector]