Skip to content

Commit

Permalink
Merge pull request #20 from GemeenteUtrecht/fix-nginx-deployment
Browse files Browse the repository at this point in the history
Multiple fixes for Open-Zaak chart
  • Loading branch information
bartjkdp authored Mar 2, 2022
2 parents 5472d90 + 73c9f33 commit 84bb54e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/open-zaak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: open-zaak
description: Productiewaardige API's voor Zaakgericht Werken

type: application
version: 0.5.0
version: 0.5.1
appVersion: "1.5.0"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/open-zaak/templates/configmap-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data:
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 300s;
proxy_read_timeout 300s;
{{- if .Values.useXForwardedHost }}
{{- if .Values.settings.useXForwardedHost }}
proxy_set_header Host $http_host;
{{- end }}
Expand Down
4 changes: 2 additions & 2 deletions charts/open-zaak/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ metadata:
labels:
{{- include "open-zaak.labels" . | nindent 4 }}
data:
ALLOWED_HOSTS: "{{ include "open-zaak.fullname" . }},{{ .Values.settings.allowedHosts | toString }}"
{{- if .Values.useXForwardedHost }}
ALLOWED_HOSTS: "{{ include "open-zaak.fullname" . }},{{ include "open-zaak.fullname" . }}.{{ .Release.Namespace }},{{ .Values.settings.allowedHosts | toString }}"
{{- if .Values.settings.useXForwardedHost }}
USE_X_FORWARDED_HOST: "True"
{{- end }}
CACHE_DEFAULT: {{ .Values.settings.cache.default | toString | quote }}
Expand Down
1 change: 0 additions & 1 deletion charts/open-zaak/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ nginx:
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 101
fsGroup: 1000
autoscaling:
enabled: false
livenessProbe:
Expand Down

0 comments on commit 84bb54e

Please sign in to comment.