File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
charts/kargo/templates/api Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -87,24 +87,30 @@ spec:
87
87
protocol : TCP
88
88
{{- if .Values.api.probes.enabled }}
89
89
livenessProbe :
90
+ {{- if .Values.api.tls.enabled }}
90
91
exec :
91
92
command :
92
93
- /usr/local/bin/grpc_health_probe
93
94
- -addr=:8080
94
- {{- if .Values.api.tls.enabled }}
95
95
- -tls
96
96
- -tls-no-verify
97
- {{- end }}
97
+ {{- else }}
98
+ grpc :
99
+ port : 8080
100
+ {{- end }}
98
101
initialDelaySeconds : 10
99
102
readinessProbe :
103
+ {{- if .Values.api.tls.enabled }}
100
104
exec :
101
105
command :
102
106
- /usr/local/bin/grpc_health_probe
103
107
- -addr=:8080
104
- {{- if .Values.api.tls.enabled }}
105
108
- -tls
106
109
- -tls-no-verify
107
- {{- end }}
110
+ {{- else }}
111
+ grpc :
112
+ port : 8080
113
+ {{- end }}
108
114
initialDelaySeconds : 5
109
115
{{- end }}
110
116
{{- if or .Values.kubeconfigSecrets.kargo (and .Values.api.oidc.enabled .Values.api.oidc.dex.enabled) .Values.api.tls.enabled .Values.api.cabundle.configMapName .Values.api.cabundle.secretName }}
You can’t perform that action at this time.
0 commit comments