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";
|
kubectl = "kubecolor";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
# programs.zsh = {
|
||||||
initExtra = ''
|
# initExtra = ''
|
||||||
# kubecolor
|
# # kubecolor
|
||||||
compdef kubecolor=kubectl
|
# compdef kubecolor=kubectl
|
||||||
# konf
|
# # konf
|
||||||
source <(konf-go shellwrapper zsh)
|
# source <(konf-go shellwrapper zsh)
|
||||||
source <(konf completion zsh)
|
# source <(konf completion zsh)
|
||||||
# ignore if konf store hasn't been initialized
|
# # ignore if konf store hasn't been initialized
|
||||||
konf --silent set -
|
# konf --silent set -
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
|
|
||||||
sops.secrets = let
|
# sops.secrets = let
|
||||||
konfStore = "${config.home.homeDirectory}/.kube/konfs/store";
|
# konfStore = "${config.home.homeDirectory}/.kube/konfs/store";
|
||||||
in {
|
# in {
|
||||||
"konf-ctp".path = "${konfStore}/ctp_ctp.yaml";
|
# "konf-ctp".path = "${konfStore}/ctp_ctp.yaml";
|
||||||
"konf-work-prod".path = "${konfStore}/work-prod_work-prod.yaml";
|
# "konf-work-prod".path = "${konfStore}/work-prod_work-prod.yaml";
|
||||||
"konf-work-staging".path = "${konfStore}/work-staging_work-staging.yaml";
|
# "konf-work-staging".path = "${konfStore}/work-staging_work-staging.yaml";
|
||||||
};
|
# };
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
KREW_ROOT = "${config.xdg.dataHome}/krew";
|
KREW_ROOT = "${config.xdg.dataHome}/krew";
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue