From da516e4bfad756244d12264a1f47f3683967ac00 Mon Sep 17 00:00:00 2001 From: rohow Date: Fri, 9 May 2025 10:40:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(net):=20=E6=96=B0=E5=A2=9Etailscale?= =?UTF-8?q?=E8=8A=82=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{helmchart.yaml => helmchart-hk.yaml} | 0 apps/infra/net/tailscale/helmchart-sh.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+) rename apps/infra/net/tailscale/{helmchart.yaml => helmchart-hk.yaml} (100%) create mode 100644 apps/infra/net/tailscale/helmchart-sh.yaml diff --git a/apps/infra/net/tailscale/helmchart.yaml b/apps/infra/net/tailscale/helmchart-hk.yaml similarity index 100% rename from apps/infra/net/tailscale/helmchart.yaml rename to apps/infra/net/tailscale/helmchart-hk.yaml diff --git a/apps/infra/net/tailscale/helmchart-sh.yaml b/apps/infra/net/tailscale/helmchart-sh.yaml new file mode 100644 index 0000000..df89350 --- /dev/null +++ b/apps/infra/net/tailscale/helmchart-sh.yaml @@ -0,0 +1,33 @@ +apiVersion: helm.cattle.io/v1 +kind: HelmChart +metadata: + name: tailscale-derp-sh + namespace: infra-net +spec: + repo: https://devcm-repo.github.io/helm-charts + chart: tailscale-derp + version: 0.0.6 + targetNamespace: infra-net + valuesContent: |- + nodeSelector: + kubernetes.io/hostname: tcd + hostNetwork: true + extraVolumes: + - name: cert-volume + secret: + secretName: dev-cm-crt + items: + - key: tls.key + path: tcd.node.dev.cm.key + - key: tls.crt + path: tcd.node.dev.cm.crt + extraVolumeMounts: + - name: cert-volume + mountPath: /certs + derp: + hostname: 'tcd.node.dev.cm' + verify_clients: true + http_port: -1 + https_port: 30443 + stun_port: 33478 + certdir: /certs