feat(lin-va-terminal): add sops secret for rke2 kubeconfig
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, config
|
||||
, namespace
|
||||
, osConfig
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
@@ -37,4 +38,11 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Kubernetes Secrets
|
||||
sops.secrets = lib.mkIf osConfig.${namespace}.security.sops.enable {
|
||||
rke2_kubeconfig = {
|
||||
path = "${config.home.homeDirectory}/.kube/lin-va-kube";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user