Add expression for generating linkerd trust anchors
This commit is contained in:
16
modules/linkerd-certs.nix
Normal file
16
modules/linkerd-certs.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
identity = import ./initca.nix {
|
||||
inherit pkgs;
|
||||
name = "linkerd-identity-ca";
|
||||
hosts = [ "identity.linkerd.cluster.local" ];
|
||||
};
|
||||
|
||||
webhook = import ./initca.nix {
|
||||
inherit pkgs;
|
||||
name = "linkerd-webhook-ca";
|
||||
hosts = [ "webhook.linkerd.cluster.local" ];
|
||||
};
|
||||
in {
|
||||
inherit identity webhook;
|
||||
}
|
||||
Reference in New Issue
Block a user