change port and protocol

Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
This commit is contained in:
Lee Briggs 2025-01-30 17:17:55 -08:00
parent 6bfc02c402
commit 3e708bddc5
No known key found for this signature in database
GPG Key ID: A4D09B96FDFEB505
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ spec:
{{- if .Values.operatorConfig.port.enabled }}
ports:
- containerPort: {{ .Values.operatorConfig.port.containerPort }}
protocol: TCP
protocol: UDP
{{- end }}
{{- with .Values.operatorConfig.resources }}
resources:
@ -81,7 +81,7 @@ spec:
- name: CLIENT_SECRET_FILE
value: /oauth/client_secret
{{- if .Values.operatorConfig.port.enabled }}
- name: PORT
- name: TS_PORT
value: {{ .Values.operatorConfig.port.containerPort | quote }}
{{- end }}
{{- $proxyTag := printf ":%s" ( .Values.proxyConfig.image.tag | default .Chart.AppVersion )}}

View File

@ -37,7 +37,7 @@ operatorConfig:
defaultTags:
- "tag:k8s-operator"
# Manual configuration of Tailscaled port
# Manual configuration of tsnet port. If unset, a random port is selected.
port:
enabled: false
containerPort: 8080