Skip to content

Commit

Permalink
bug: adding https scheme for liveness and readiness prob
Browse files Browse the repository at this point in the history
  • Loading branch information
saumilmac committed Mar 13, 2024
1 parent 3fc0db6 commit 6ba7968
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/snyk-broker/templates/broker_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,23 @@ spec:
httpGet:
port: {{ .Values.deployment.container.containerPort }}
path: {{ .Values.brokerLivenessProbe.path }}
{{- if and (.Values.httpsCert) (.Values.httpsKey) }}
scheme: HTTPS
{{- else }}
scheme: HTTP
{{- end }}
{{- toYaml .Values.brokerLivenessProbe.config | nindent 12 }}
{{- end }}
{{- if .Values.brokerReadinessProbe.enabled }}
readinessProbe:
httpGet:
port: {{ .Values.deployment.container.containerPort }}
path: {{ .Values.brokerReadinessProbe.path }}
{{- if and (.Values.httpsCert) (.Values.httpsKey) }}
scheme: HTTPS
{{- else }}
scheme: HTTP
{{- end }}
{{- toYaml .Values.brokerReadinessProbe.config | nindent 12 }}
{{- end }}
{{- if .Values.extraContainerSpecs }}
Expand Down

0 comments on commit 6ba7968

Please sign in to comment.