chore(k8s): deprecate konf secrets
This commit is contained in:
parent
c3df94d80f
commit
c68410ae0c
2 changed files with 21 additions and 24 deletions
|
@ -34,25 +34,25 @@
|
|||
kubectl = "kubecolor";
|
||||
};
|
||||
|
||||
programs.zsh = {
|
||||
initExtra = ''
|
||||
# kubecolor
|
||||
compdef kubecolor=kubectl
|
||||
# konf
|
||||
source <(konf-go shellwrapper zsh)
|
||||
source <(konf completion zsh)
|
||||
# ignore if konf store hasn't been initialized
|
||||
konf --silent set -
|
||||
'';
|
||||
};
|
||||
# programs.zsh = {
|
||||
# initExtra = ''
|
||||
# # kubecolor
|
||||
# compdef kubecolor=kubectl
|
||||
# # konf
|
||||
# source <(konf-go shellwrapper zsh)
|
||||
# source <(konf completion zsh)
|
||||
# # ignore if konf store hasn't been initialized
|
||||
# konf --silent set -
|
||||
# '';
|
||||
# };
|
||||
|
||||
sops.secrets = let
|
||||
konfStore = "${config.home.homeDirectory}/.kube/konfs/store";
|
||||
in {
|
||||
"konf-ctp".path = "${konfStore}/ctp_ctp.yaml";
|
||||
"konf-work-prod".path = "${konfStore}/work-prod_work-prod.yaml";
|
||||
"konf-work-staging".path = "${konfStore}/work-staging_work-staging.yaml";
|
||||
};
|
||||
# sops.secrets = let
|
||||
# konfStore = "${config.home.homeDirectory}/.kube/konfs/store";
|
||||
# in {
|
||||
# "konf-ctp".path = "${konfStore}/ctp_ctp.yaml";
|
||||
# "konf-work-prod".path = "${konfStore}/work-prod_work-prod.yaml";
|
||||
# "konf-work-staging".path = "${konfStore}/work-staging_work-staging.yaml";
|
||||
# };
|
||||
|
||||
home.sessionVariables = {
|
||||
KREW_ROOT = "${config.xdg.dataHome}/krew";
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue