feat: add tailscale ingress #7057
28
clusters/cl01tl/helm/komodo/templates/ingress.yaml
Normal file
28
clusters/cl01tl/helm/komodo/templates/ingress.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-tailscale
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}-tailscale
|
||||||
|
{{- include "custom.labels" . | nindent 4 }}
|
||||||
|
tailscale.com/proxy-class: no-metrics
|
||||||
|
annotations:
|
||||||
|
tailscale.com/experimental-forward-cluster-traffic-via-ingress: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: tailscale
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- komodo-cl01tl
|
||||||
|
secretName: komodo-cl01tl
|
||||||
|
rules:
|
||||||
|
- host: komodo-cl01tl
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: komodo-main
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
Reference in New Issue
Block a user