Skip to content

Commit

Permalink
[Fixes #190] Bug: nginx livenessProbe always kill nginx container, wh…
Browse files Browse the repository at this point in the history
…en using externalscheme: https (#196)
  • Loading branch information
mwallschlaeger committed Jul 10, 2024
1 parent 1ed0ad6 commit a9ceab7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions charts/geonode/templates/nginx/nginx-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ spec:
imagePullPolicy: {{ .Values.nginx.imagePullPolicy }}
ports:
- name: http
{{- if (eq .Values.geonode.general.externalScheme "https" )}}
containerPort: 443
{{- else }}
containerPort: 80
{{- end }}

volumeMounts:
- name: "{{ include "persistant_volume_name" . }}"
Expand All @@ -50,7 +46,7 @@ spec:
httpGet:
path: /
port: http
initialDelaySeconds: 15
initialDelaySeconds: 45
timeoutSeconds: 5

resources:
Expand Down

0 comments on commit a9ceab7

Please sign in to comment.