- Modified the chart, now the healthz container/service port is optional;

This commit is contained in:
Filipe Souza
2024-01-27 13:18:25 -03:00
parent 648a1b2a8d
commit efe31679e0
5 changed files with 21 additions and 13 deletions

View File

@@ -26,6 +26,7 @@ spec:
{{- end }}
spec:
containers:
{{ if .Values.server.service.healthz.enabled }}
- name: healthz
image: "chussenot/tiny-server:latest"
imagePullPolicy: {{ .Values.server.image.imagePullPolicy }}
@@ -33,6 +34,7 @@ spec:
- name: healthz
containerPort: 80
protocol: TCP
{{ end }}
- name: server
image: "{{ .Values.server.image.name }}:{{ .Values.server.image.tag }}"
imagePullPolicy: {{ .Values.server.image.imagePullPolicy }}