add dns config for inter cluster routing

This commit is contained in:
2024-08-16 16:32:09 -05:00
parent 6ef78230ee
commit 6e33e5594e
3 changed files with 20 additions and 0 deletions

View File

@@ -9,6 +9,8 @@ metadata:
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: tailscale
app.kubernetes.io/part-of: {{ .Release.Name }}
annotations:
tailscale.com/experimental-forward-cluster-traffic-via-ingress: "true"
spec:
ingressClassName: tailscale
tls:

View File

@@ -9,6 +9,8 @@ metadata:
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: tailscale
app.kubernetes.io/part-of: {{ .Release.Name }}
annotations:
tailscale.com/experimental-forward-cluster-traffic-via-ingress: "true"
spec:
ingressClassName: tailscale
tls:

View File

@@ -0,0 +1,16 @@
apiVersion: tailscale.com/v1alpha1
kind: DNSConfig
metadata:
name: tailscale-dns
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: tailscale-dns
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/component: tailscale
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
nameserver:
image:
repo: tailscale/k8s-nameserver
tag: unstable-v1.71.123