Skip to content

Commit

Permalink
Add if statement for overrideAuthority configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kota2and3kan committed Mar 22, 2024
1 parent efe4fe3 commit fbfd0ef
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,28 +63,32 @@ spec:
exec:
command:
- /usr/local/bin/grpc_health_probe
- -addr=:60053
- -addr=localhost:60053
{{- if .Values.scalardbCluster.tls.enabled }}
- -tls
{{- if .Values.scalardbCluster.tls.caRootCertSecret }}
- -tls-ca-cert=/tls/certs/ca-root-cert.pem
{{- end }}
{{- if .Values.scalardbCluster.tls.overrideAuthority }}
- -tls-server-name={{ .Values.scalardbCluster.tls.overrideAuthority }}
{{- end }}
{{- end }}
failureThreshold: 60
periodSeconds: 5
livenessProbe:
exec:
command:
- /usr/local/bin/grpc_health_probe
- -addr=:60053
- -addr=localhost:60053
{{- if .Values.scalardbCluster.tls.enabled }}
- -tls
{{- if .Values.scalardbCluster.tls.caRootCertSecret }}
- -tls-ca-cert=/tls/certs/ca-root-cert.pem
{{- end }}
{{- if .Values.scalardbCluster.tls.overrideAuthority }}
- -tls-server-name={{ .Values.scalardbCluster.tls.overrideAuthority }}
{{- end }}
{{- end }}
failureThreshold: 3
periodSeconds: 10
successThreshold: 1
Expand Down

0 comments on commit fbfd0ef

Please sign in to comment.