chore(k8s): update secrets & fix konf
This commit is contained in:
parent
06b9b93dbb
commit
aef8202a20
2 changed files with 5 additions and 7 deletions
|
@ -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
Loading…
Reference in a new issue