Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix indentation #477

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.13.0
version: 0.13.1
appVersion: 6.2.0
keywords:
- mattermost
Expand Down
112 changes: 56 additions & 56 deletions charts/mattermost-push-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
name: "apple-rn-push-cert"
subPath: "apple-rn-push-cert.pem"
{{- end }}
{{- if .Values.applePushSettings.apple_rnbeta.privateCert }}
{{- if .Values.applePushSettings.apple_rnbeta.privateCert }}
- mountPath: "/certs/apple-rnbeta-push-cert.pem"
name: "apple-rnbeta-push-cert"
subPath: "apple-rnbeta-push-cert.pem"
Expand Down Expand Up @@ -107,63 +107,63 @@ spec:
- key: "push-config.json"
path: "push-config.json"
{{- if not .Values.externalSecrets.enabled }}
{{- if .Values.applePushSettings.authKey }}
- name: "apple-auth-key"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_auth_key"
path: {{ .Values.applePushSettings.authKeyFileName }}
{{- end }}
{{- if .Values.applePushSettings.apple.privateCert }}
- name: "apple-push-cert"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_cert"
path: "apple-push-cert.pem"
{{- end }}
{{- if .Values.applePushSettings.apple_rn.privateCert }}
- name: "apple-rn-push-cert"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_rn_cert"
path: "apple-rn-push-cert.pem"
{{- end }}
{{- if .Values.applePushSettings.apple_rnbeta.privateCert }}
- name: "apple-rnbeta-push-cert"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_rnbeta_cert"
path: "apple-rnbeta-push-cert.pem"
{{- end }}
{{- if .Values.androidPushSettings.android_serviceFile }}
- name: "android-service-file"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-android-service-files
items:
- key: "android_serviceFile"
path: {{ .Values.androidPushSettings.android_serviceFileName }}
{{- end }}
{{- if .Values.androidPushSettings.android_rn_serviceFile }}
- name: "android-rn-service-file"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-android-service-files
items:
- key: "android_rn_serviceFile"
path: {{ .Values.androidPushSettings.android_rn_serviceFileName }}
{{- end }}
{{- if .Values.applePushSettings.authKey }}
- name: "apple-auth-key"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_auth_key"
path: {{ .Values.applePushSettings.authKeyFileName }}
{{- end }}
{{- if and .Values.applePushSettings.apple.privateCert }}
- name: "apple-push-cert"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_cert"
path: "apple-push-cert.pem"
{{- end }}
{{- if and .Values.applePushSettings.apple_rn.privateCert }}
- name: "apple-rn-push-cert"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_rn_cert"
path: "apple-rn-push-cert.pem"
{{- end }}
{{- if and .Values.applePushSettings.apple_rnbeta.privateCert }}
- name: "apple-rnbeta-push-cert"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-apple-certs
items:
- key: "apple_rnbeta_cert"
path: "apple-rnbeta-push-cert.pem"
{{- end }}
{{- if .Values.androidPushSettings.android_serviceFile }}
- name: "android-service-file"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-android-service-files
items:
- key: "android_serviceFile"
path: {{ .Values.androidPushSettings.android_serviceFileName }}
{{- end }}
{{- if .Values.androidPushSettings.android_rn_serviceFile }}
- name: "android-rn-service-file"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-android-service-files
items:
- key: "android_rn_serviceFile"
path: {{ .Values.androidPushSettings.android_rn_serviceFileName }}
{{- end }}
{{- else }}
- name: "common-secret"
secret:
secretName: {{ include "mattermost-push-proxy.fullname" . }}-secret
items:
- key: "apple_auth_key"
path: {{ .Values.applePushSettings.authKeyFileName }}
- key: "android_serviceFile"
path: {{ .Values.androidPushSettings.android.serviceFileName }}
- key: "android_rn_serviceFile"
path: {{ .Values.androidPushSettings.android_rn.serviceFileName }}
{{- end }}
- key: "apple_auth_key"
path: {{ .Values.applePushSettings.authKeyFileName }}
- key: "android_serviceFile"
path: {{ .Values.androidPushSettings.android.serviceFileName }}
- key: "android_rn_serviceFile"
path: {{ .Values.androidPushSettings.android_rn.serviceFileName }}
{{- end }}
Loading