Files
platform/modules/linkerd-certs.nix
2020-11-21 14:54:52 +01:00

19 lines
378 B
Nix

{ pkgs, ... }:
let
identity = import ./initca.nix {
inherit pkgs;
name = "linkerd-identity-ca";
algo = "ecdsa";
hosts = [ "identity.linkerd.cluster.local" ];
};
webhook = import ./initca.nix {
inherit pkgs;
name = "linkerd-webhook-ca";
algo = "ecdsa";
hosts = [ "webhook.linkerd.cluster.local" ];
};
in {
inherit identity webhook;
}