Browse Source

kube_encryption_resources must be output as yaml (#6309)

pull/5781/head
Erwan Miran 4 years ago
committed by GitHub
parent
commit
d3ca9d1db9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. 3
      roles/kubernetes/master/templates/secrets_encryption.yaml.j2

3
roles/kubernetes/master/templates/secrets_encryption.yaml.j2

@ -1,7 +1,8 @@
kind: EncryptionConfig
apiVersion: v1
resources:
- resources: {{ kube_encryption_resources }}
- resources:
{{ kube_encryption_resources|to_nice_yaml|indent(4, True) }}
providers:
- {{ kube_encryption_algorithm }}:
keys:

Loading…
Cancel
Save