diff --git a/stable/mercure/Chart.yaml b/stable/mercure/Chart.yaml index 4327add24e..967265ee21 100644 --- a/stable/mercure/Chart.yaml +++ b/stable/mercure/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: "0.5.0" +appVersion: "0.6.0" description: The Mercure hub allows to push data updates using the Mercure protocol to web browsers and other HTTP clients in a convenient, fast, reliable and battery-efficient way name: mercure -version: 1.0.8 +version: 1.0.9 keywords: - mercure - hub diff --git a/stable/mercure/templates/configmap.yaml b/stable/mercure/templates/configmap.yaml index 59842cd3b8..585cd038dc 100644 --- a/stable/mercure/templates/configmap.yaml +++ b/stable/mercure/templates/configmap.yaml @@ -22,3 +22,4 @@ data: historySize: {{ .Values.historySize | quote }} readTimeout: {{ .Values.readTimeout | quote }} writeTimeout: {{ .Values.writeTimeout | quote }} + useForwardedHeaders: {{ .Values.useForwardedHeaders | quote }} diff --git a/stable/mercure/templates/deployment.yaml b/stable/mercure/templates/deployment.yaml index 75aa6ee739..e421f7e68f 100644 --- a/stable/mercure/templates/deployment.yaml +++ b/stable/mercure/templates/deployment.yaml @@ -100,6 +100,11 @@ spec: configMapKeyRef: name: {{ include "mercure.fullname" . }} key: writeTimeout + - name: USE_FORWARDED_HEADERS + valueFrom: + configMapKeyRef: + name: {{ include "mercure.fullname" . }} + key: useForwardedHeaders livenessProbe: httpGet: path: / diff --git a/stable/mercure/values.yaml b/stable/mercure/values.yaml index a13ae7ce60..e5c3ed193b 100644 --- a/stable/mercure/values.yaml +++ b/stable/mercure/values.yaml @@ -16,6 +16,7 @@ historyCleanupFrequency: 0.3 historySize: 0 readTimeout: "0s" writeTimeout: "0s" +useForwardedHeaders: "0" image: repository: dunglas/mercure