From 77118b473e8130bef2f0db8d415d9afdcb2b5526 Mon Sep 17 00:00:00 2001 From: Stavros Foteinopoulos Date: Thu, 5 Sep 2024 17:23:07 +0300 Subject: [PATCH] Fix auth key paths (#471) Signed-off-by: Stavros Foteinopoulos --- charts/mattermost-push-proxy/Chart.yaml | 2 +- charts/mattermost-push-proxy/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/mattermost-push-proxy/Chart.yaml b/charts/mattermost-push-proxy/Chart.yaml index 68dd2352..fa674109 100644 --- a/charts/mattermost-push-proxy/Chart.yaml +++ b/charts/mattermost-push-proxy/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 description: Mattermost Push Proxy server name: mattermost-push-proxy type: application -version: 0.12.4 +version: 0.12.5 appVersion: 6.1.0 keywords: - mattermost diff --git a/charts/mattermost-push-proxy/templates/deployment.yaml b/charts/mattermost-push-proxy/templates/deployment.yaml index 5970e58d..4bb87dc7 100644 --- a/charts/mattermost-push-proxy/templates/deployment.yaml +++ b/charts/mattermost-push-proxy/templates/deployment.yaml @@ -77,7 +77,7 @@ spec: {{- else }} - mountPath: "{{ .Values.applePushSettings.authKeyFile }}" name: "common-secret" - subPath: "auth-key-file" + subPath: {{ .Values.applePushSettings.authKeyFileName }} - mountPath: "/certs/apple-push-cert.pem" name: "common-secret" subPath: "apple-push-cert.pem" @@ -170,7 +170,7 @@ spec: secretName: {{ include "mattermost-push-proxy.fullname" . }}-secret items: - key: "apple_auth_key" - path: "auth-key-file" + path: {{ .Values.applePushSettings.authKeyFileName }} - key: "apple_cert" path: "apple-push-cert.pem" - key: "apple_rn_cert"