From 1405fbb17c7bc257b19dec34fdefc97fd8a058ab Mon Sep 17 00:00:00 2001 From: Chirayu Kapoor Date: Fri, 10 May 2024 15:55:43 +0530 Subject: [PATCH] chore: Add configs/encryption-config.yaml file * update .gitignore to not ignore configs/encryption-config.yaml file Signed-off-by: Chirayu Kapoor --- .gitignore | 1 + configs/encryption-config.yaml | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 configs/encryption-config.yaml diff --git a/.gitignore b/.gitignore index d23374e..c581fe4 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/configs/encryption-config.yaml b/configs/encryption-config.yaml new file mode 100644 index 0000000..866e5ab --- /dev/null +++ b/configs/encryption-config.yaml @@ -0,0 +1,11 @@ +kind: EncryptionConfig +apiVersion: v1 +resources: + - resources: + - secrets + providers: + - aescbc: + keys: + - name: key1 + secret: ${ENCRYPTION_KEY} + - identity: {} \ No newline at end of file