2022-05-02 18:03:15 +00:00
|
|
|
apiVersion: apiserver.config.k8s.io/v1
|
|
|
|
kind: AdmissionConfiguration
|
|
|
|
plugins:
|
2022-10-26 07:28:37 +00:00
|
|
|
{% for plugin in kube_apiserver_enable_admission_plugins %}
|
2022-05-02 18:03:15 +00:00
|
|
|
{% if plugin in kube_apiserver_admission_plugins_needs_configuration %}
|
|
|
|
- name: {{ plugin }}
|
|
|
|
path: {{ kube_config_dir }}/{{ plugin|lower }}.yaml
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|