fix cnpg secret

This commit is contained in:
2026-03-17 13:16:57 -04:00
parent ea27ab3067
commit 37fdf43abe
4 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{ config, ... }:
{
sops.templates."omni-etcd-key.yaml" = {
sops.templates."cnpg-s3-backup-creds.yaml" = {
mode = "0444";
content = ''
apiVersion: v1
@@ -9,7 +9,7 @@
name: s3-backup-creds
namespace: cloudnativepg
type: Opaque
spec:
stringData:
s3AccessKey: fmRuq5b96EKqQOGR1prs
s3SecretKey: ${config.sops.placeholder.cnpg_s3_backup_key}
'';

View File

@@ -1,5 +1,5 @@
{
imports = [
./omni/omni-etcd-key.nix
./cloudnativepg/s3-backup-creds.nix
];
}