feat: add option to customize probes
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-24 21:23:25 +02:00
parent 6ef34f5f60
commit 1c22e90d85
2 changed files with 18 additions and 8 deletions

View File

@ -26,20 +26,18 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.livenessProbe }}
livenessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.config.ATHENS_PORT | default 3000 }}
protocol: TCP
{{- with .Values.readinessProbe }}
readinessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: http
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.extraVolumeMounts }}