xoxys.k3s/templates/etc/rancher/k3s/server/admission-config.yaml.j2

11 lines
290 B
Plaintext
Raw Normal View History

2022-10-03 20:58:05 +00:00
#jinja2: lstrip_blocks: True
---
apiVersion: apiserver.config.k8s.io/v1
kind: AdmissionConfiguration
{% if k3s_server_admission_configuration | length > 0 %}
plugins:
{{ k3s_server_admission_configuration | to_nice_yaml(indent=2) | indent(2, False) }}
{% else %}
plugins: []
{% endif %}