chore: Add configs/encryption-config.yaml file

* update .gitignore to not ignore configs/encryption-config.yaml file

Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
pull/780/head
Chirayu Kapoor 2024-05-10 15:55:43 +05:30
parent a9cb5f7ba5
commit 1405fbb17c
No known key found for this signature in database
GPG Key ID: 07B117F85E8A4206
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@ ca-key.pem
ca.csr
ca.pem
encryption-config.yaml
!configs/encryption-config.yaml
kube-controller-manager-csr.json
kube-controller-manager-key.pem
kube-controller-manager.csr

View File

@ -0,0 +1,11 @@
kind: EncryptionConfig
apiVersion: v1
resources:
- resources:
- secrets
providers:
- aescbc:
keys:
- name: key1
secret: ${ENCRYPTION_KEY}
- identity: {}