mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-11-01 10:27:56 +00:00
fix liveness protocol
This commit is contained in:
@@ -183,7 +183,11 @@ spec:
|
|||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: {{ .Values.livenessProbe.path }}
|
path: {{ .Values.livenessProbe.path }}
|
||||||
|
{{- if (or .Values.certificates.customCAs .Values.certificates.customCertificate.certificateSecret) }}
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
|
{{- else }}
|
||||||
|
scheme: HTTP
|
||||||
|
{{- end }}
|
||||||
port: https
|
port: https
|
||||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||||
@@ -197,7 +201,11 @@ spec:
|
|||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: {{ .Values.readinessProbe.path }}
|
path: {{ .Values.readinessProbe.path }}
|
||||||
|
{{- if (or .Values.certificates.customCAs .Values.certificates.customCertificate.certificateSecret) }}
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
|
{{- else }}
|
||||||
|
scheme: HTTP
|
||||||
|
{{- end }}
|
||||||
port: https
|
port: https
|
||||||
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
||||||
@@ -211,7 +219,11 @@ spec:
|
|||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: {{ .Values.startupProbe.path }}
|
path: {{ .Values.startupProbe.path }}
|
||||||
|
{{- if (or .Values.certificates.customCAs .Values.certificates.customCertificate.certificateSecret) }}
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
|
{{- else }}
|
||||||
|
scheme: HTTP
|
||||||
|
{{- end }}
|
||||||
port: https
|
port: https
|
||||||
httpHeaders:
|
httpHeaders:
|
||||||
- name: Host
|
- name: Host
|
||||||
|
|||||||
Reference in New Issue
Block a user