chore(k8s): update secrets & fix konf

This commit is contained in:
winston 2023-07-08 04:37:20 +02:00
parent 06b9b93dbb
commit aef8202a20
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 5 additions and 7 deletions

View file

@ -37,17 +37,16 @@
compdef kubecolor=kubectl
# konf
source <(konf-go shellwrapper zsh)
source <(konf-go completion zsh)
source <(konf completion zsh)
# ignore if konf store hasn't been initialized
export KUBECONFIG=$(konf-go --silent set - || true)
konf --silent set -
'';
};
sops.secrets = let
konfStore = "${config.xdg.configHome}/.kube/konfs/store";
konfStore = "${config.home.homeDirectory}/.kube/konfs/store";
in {
"konf-ctp".path = "${konfStore}/ctp_ctp.yaml";
"konf-fra1".path = "${konfStore}/fra1_fra1.yaml";
"konf-work-prod".path = "${konfStore}/work-prod_work-prod.yaml";
"konf-work-staging".path = "${konfStore}/work-staging_work-staging.yaml";
};

File diff suppressed because one or more lines are too long