1
0
镜像自地址 https://github.com/devcm-repo/helm-charts.git 已同步 2026-06-06 05:41:05 +00:00
文件
helm-charts/charts/tailscale-derp/templates/service.yml
T
2024-06-24 18:08:31 +08:00

22 行
483 B
YAML

apiVersion: v1
kind: Service
metadata:
name: "{{ .Release.Name }}-{{ .Chart.Name }}"
{{- if not (empty .Values.service.annotations) }}
annotations: {{- toYaml .Values.service.annotations | nindent 4 }}
{{- end }}
spec:
type: "{{ .Values.service.type }}"
selector:
app: "{{ .Release.Name }}-{{ .Chart.Name }}"
ports:
- name: http
port: 80
targetPort: 80
- name: https
port: 443
targetPort: 443
- name: stun
port: 3478
targetPort: 3478