From 6604a8027e195ae12cff8750adfed96ad8885850 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 15 Aug 2023 15:40:09 +0000 Subject: [PATCH] Adding sops. --- kubernetes/apps/database/cloudnative-pg/ks.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kubernetes/apps/database/cloudnative-pg/ks.yaml b/kubernetes/apps/database/cloudnative-pg/ks.yaml index 5955b7f..44fe443 100644 --- a/kubernetes/apps/database/cloudnative-pg/ks.yaml +++ b/kubernetes/apps/database/cloudnative-pg/ks.yaml @@ -33,3 +33,11 @@ spec: interval: 30m retryInterval: 1m timeout: 5m + decryption: + provider: sops + secretRef: + name: sops-age + postBuild: + substituteFrom: + - kind: Secret + name: cluster-secrets