mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
add kubeconfig option
This commit is contained in:
parent
548188d3fa
commit
faad0c48ff
2 changed files with 11 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue