add kubeconfig option

This commit is contained in:
Bryton Hall 2022-08-31 21:35:36 -04:00
parent 548188d3fa
commit faad0c48ff
2 changed files with 11 additions and 0 deletions

View file

@ -272,6 +272,13 @@ in {
imports = [./base.nix];
options.kubernetes = {
kubeconfig = mkOption {
description = "path to kubeconfig file (default: use $KUBECONFIG)";
type = types.nullOr types.str;
default = null;
example = "/run/secrets/kubeconfig";
};
version = mkOption {
description = "Kubernetes version to use";
type = types.enum versions;