feat(sops): use konf for kubeconfig storage

This commit is contained in:
winston 2023-03-30 06:12:06 +02:00
parent 90805640a0
commit 54643990dd
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 10 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,10 @@
gnupg.home = config.programs.gpg.homedir;
defaultSopsFile = ./main.yaml;
secrets = {
"kubeconfig".path = "${config.xdg.configHome}/kube/kubeconfig";
"konf-ctp".path = "${config.home.homeDirectory}/.kube/konfs/store/ctp_ctp.yaml";
"konf-fra1".path = "${config.home.homeDirectory}/.kube/konfs/store/fra1_fra1.yaml";
"konf-work-prod".path = "${config.home.homeDirectory}/.kube/konfs/store/work-prod_work-prod.yaml";
"konf-work-staging".path = "${config.home.homeDirectory}/.kube/konfs/store/work-staging_work-staging.yaml";
};
};
}