mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-31 14:57:59 +00:00
- Modified the chart, now the healthz container/service port is optional;
This commit is contained in:
@@ -22,6 +22,12 @@ spec:
|
||||
selector:
|
||||
app.kubernetes.io/component: "{{ .Release.Name }}-server"
|
||||
ports:
|
||||
{{ if .Values.server.service.healthz.enabled }}
|
||||
- name: {{ .Values.server.service.healthz.name }}
|
||||
port: {{ .Values.server.service.healthz.port }}
|
||||
protocol: {{ .Values.server.service.healthz.protocol }}
|
||||
targetPort: {{ .Values.server.service.healthz.targetPort }}
|
||||
{{ end }}
|
||||
{{- with .Values.server.service.ports }}
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user