Add initial kubernetes configuration
This commit is contained in:
parent
f8a5c9d3ec
commit
3c0347e734
@ -84,6 +84,24 @@ let
|
|||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kubernetes = let
|
||||||
|
kubeOpts.options = {
|
||||||
|
masters = mkOption {
|
||||||
|
type = listOf str;
|
||||||
|
description = "Master Kubernetes hosts.";
|
||||||
|
};
|
||||||
|
|
||||||
|
nodes = mkOption {
|
||||||
|
type = listOf str;
|
||||||
|
description = "List of Kubernetes nodes.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in mkOption {
|
||||||
|
type = nullOr (submodule kubeOpts);
|
||||||
|
description = "Kubernetes configuration.";
|
||||||
|
default = null;
|
||||||
|
};
|
||||||
|
|
||||||
backplane = mkOption {
|
backplane = mkOption {
|
||||||
type = nullOr (submodule {
|
type = nullOr (submodule {
|
||||||
options = {
|
options = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user