Skip to content

Commit

Permalink
Fix config-template all cases (#474)
Browse files Browse the repository at this point in the history
Signed-off-by: Stavros Foteinopoulos <[email protected]>
  • Loading branch information
stafot authored Sep 6, 2024
1 parent 0af0a78 commit a626ff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/mattermost-push-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: Mattermost Push Proxy server
name: mattermost-push-proxy
type: application
version: 0.12.7
version: 0.12.8
appVersion: 6.1.0
keywords:
- mattermost
Expand Down
4 changes: 2 additions & 2 deletions charts/mattermost-push-proxy/templates/push-config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{{- else }}
"ApplePushCertPrivate": "/certs/apple-push-cert.pem",
{{- end }}
{{- if eq .Values.applePushSettings.authKey "" }}
{{- if and (eq .Values.applePushSettings.authKey "") (eq .Values.externalSecrets.enabled false) }}
"AppleAuthKeyFile":"",
"AppleAuthKeyID":"",
"AppleTeamID":"",
Expand Down Expand Up @@ -55,7 +55,7 @@
{{- else }}
"ApplePushCertPrivate": "/certs/apple-rnbeta-push-cert.pem",
{{- end }}
{{- if eq .Values.applePushSettings.authKey "" }}
{{- if and (eq .Values.applePushSettings.authKey "") (eq .Values.externalSecrets.enabled false) }}
"AppleAuthKeyFile":"",
"AppleAuthKeyID":"",
"AppleTeamID":"",
Expand Down

0 comments on commit a626ff8

Please sign in to comment.