Add fs0 cluster to new deployment infra
This commit is contained in:
18
lib/pki.nix
18
lib/pki.nix
@@ -112,14 +112,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
trust = name: hosts: gencert rec {
|
||||
inherit name;
|
||||
csr = gencsr {
|
||||
inherit name hosts;
|
||||
cn = name;
|
||||
o = name;
|
||||
trust = name: hosts:
|
||||
let
|
||||
hosts' = "\"${name}\", " + hosts;
|
||||
in gencert rec {
|
||||
inherit name;
|
||||
csr = gencsr {
|
||||
inherit name;
|
||||
hosts = hosts';
|
||||
cn = name;
|
||||
o = name;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
kube-proxy = gencert rec {
|
||||
name = "kube-proxy";
|
||||
|
||||
Reference in New Issue
Block a user