summaryrefslogtreecommitdiff
path: root/roles/kubernetes/kubeadm/control-plane/templates/encryption-config.j2
blob: 345c9bf920fb1755f914df9a3a3cb56ac31c868e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
resources:
  - resources:
    - secrets
    providers:
    - secretbox:
        keys:
{% for key in kubernetes_secrets.encryption_config_keys %}
        - name: key{{ loop.index }}
          secret: {{ key }}
{% endfor %}
    - identity: {}