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 = {
|
2024-07-21 17:48:42 +00:00
|
|
|
client_id = "ref+sops://secrets/kubernetes.yaml#/tailscale/clientID";
|
|
|
|
client_secret = "ref+sops://secrets/kubernetes.yaml#/tailscale/clientSecret";
|
2024-07-21 17:47:22 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|