fix cnpg secret
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
./charts
|
||||
./manifests
|
||||
./secrets
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [6443];
|
||||
|
||||
@@ -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}
|
||||
'';
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./omni/omni-etcd-key.nix
|
||||
./cloudnativepg/s3-backup-creds.nix
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user