nixos-servers/kubenix-modules/tailscale.nix

15 lines
460 B
Nix
Raw Normal View History

2024-07-21 17:47:22 +00:00
{ nixhelm, system, ... }: {
kubernetes = {
helm.releases.tailscale = {
chart = nixhelm.chartsDerivations.${system}.tailscale.tailscale-operator;
includeCRDs = true;
namespace = "tailscale";
};
resources.secrets.operator-oauth.stringData = {
client_id = "ref+sops://secrets/kubernetes.yaml#/tailscale/oauth/clientID";
client_secret = "ref+sops://secrets/kubernetes.yaml#/tailscale/oauth/clientSecret";
};
};
}