Skip to content

Commit 5cb8738

Browse files
megawebmasterCarlos Rodríguez Hernández
andauthored
[bitnami/ghost] Fix liveness and readiness probes when HTTPS is used (#6914)
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
1 parent 7d0372f commit 5cb8738

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bitnami/ghost/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ name: ghost
3333
sources:
3434
- https://github.com/bitnami/bitnami-docker-ghost
3535
- http://www.ghost.org/
36-
version: 14.0.6
36+
version: 14.0.7

bitnami/ghost/templates/deployment.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ spec:
193193
livenessProbe:
194194
httpGet:
195195
path: /
196-
port: http
196+
port: {{ ternary "https" "http" .Values.ghostEnableHttps | quote }}
197+
scheme: {{ ternary "HTTPS" "HTTP" .Values.ghostEnableHttps | quote }}
197198
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
198199
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
199200
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
@@ -206,7 +207,8 @@ spec:
206207
readinessProbe:
207208
httpGet:
208209
path: /
209-
port: http
210+
port: {{ ternary "https" "http" .Values.ghostEnableHttps | quote }}
211+
scheme: {{ ternary "HTTPS" "HTTP" .Values.ghostEnableHttps | quote }}
210212
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
211213
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
212214
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}

0 commit comments

Comments
 (0)