34 lines
480 B
Nix
34 lines
480 B
Nix
{ pkgs, config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.k8s;
|
|
in
|
|
{
|
|
options.k8s = {
|
|
initca = mkOption {
|
|
type = types.path;
|
|
};
|
|
|
|
clusterName = mkOption {
|
|
type = types.str;
|
|
};
|
|
|
|
hosts = mkOption {
|
|
type = types.listOf types.set;
|
|
default = [];
|
|
};
|
|
|
|
clusterHosts = mkOption {
|
|
type = types.str;
|
|
};
|
|
|
|
adminAuthorizedKeys = mkOption {
|
|
type = types.listOf types.str;
|
|
default = [];
|
|
};
|
|
};
|
|
|
|
config = {
|
|
};
|
|
}
|