From 331671ac309c2f39e75b72fd0d0a966fbfe23324 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Wed, 18 Dec 2024 15:02:10 +0100 Subject: [PATCH] Revert "apiserver: fix incorrect path to admission plugins config files (#11779)" (#11808) This reverts commit 742409e6634b8403818281a78af90f308a5bf464. --- .../control-plane/templates/admission-controls.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubernetes/control-plane/templates/admission-controls.yaml.j2 b/roles/kubernetes/control-plane/templates/admission-controls.yaml.j2 index dc8edbfc9ba..fc4d0efbfd0 100644 --- a/roles/kubernetes/control-plane/templates/admission-controls.yaml.j2 +++ b/roles/kubernetes/control-plane/templates/admission-controls.yaml.j2 @@ -4,6 +4,6 @@ plugins: {% for plugin in kube_apiserver_enable_admission_plugins %} {% if plugin in kube_apiserver_admission_plugins_needs_configuration %} - name: {{ plugin }} - path: {{ kube_config_dir }}/admission-controls/{{ item | lower }}.yaml.yaml + path: {{ kube_config_dir }}/{{ plugin | lower }}.yaml {% endif %} {% endfor %}