Skip to content

Commit

Permalink
Remove unused mounts (#472)
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 77118b4 commit 7577fb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 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.5
version: 0.12.6
appVersion: 6.1.0
keywords:
- mattermost
Expand Down
23 changes: 4 additions & 19 deletions charts/mattermost-push-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,12 @@ spec:
- mountPath: "{{ .Values.applePushSettings.authKeyFile }}"
name: "common-secret"
subPath: {{ .Values.applePushSettings.authKeyFileName }}
- mountPath: "/certs/apple-push-cert.pem"
name: "common-secret"
subPath: "apple-push-cert.pem"
- mountPath: "/certs/apple-rn-push-cert.pem"
name: "common-secret"
subPath: "apple-rn-push-cert.pem"
- mountPath: "/certs/apple-rnbeta-push-cert.pem"
name: "common-secret"
subPath: "apple-rnbeta-push-cert.pem"
- mountPath: "{{ .Values.androidPushSettings.android.serviceFileLocation }}"
name: "common-secret"
subPath: "android-service-file"
subPath: "{{ .Values.androidPushSettings.android.serviceFileName }}"
- mountPath: "{{ .Values.androidPushSettings.android_rn.serviceFileLocation }}"
name: "common-secret"
subPath: "android-rn-service-file"
subPath: "{{ .Values.androidPushSettings.android_rn.serviceFileName }}"
{{- end }}
resources:
{{ toYaml .Values.resources | nindent 12 }}
Expand Down Expand Up @@ -171,14 +162,8 @@ spec:
items:
- key: "apple_auth_key"
path: {{ .Values.applePushSettings.authKeyFileName }}
- key: "apple_cert"
path: "apple-push-cert.pem"
- key: "apple_rn_cert"
path: "apple-rn-push-cert.pem"
- key: "apple_rnbeta_cert"
path: "apple-rnbeta-push-cert.pem"
- key: "android_serviceFile"
path: "android-service-file"
path: {{ .Values.androidPushSettings.android.serviceFileName }}
- key: "android_rn_serviceFile"
path: "android-rn-service-file"
path: {{ .Values.androidPushSettings.android_rn.serviceFileName }}
{{- end }}

0 comments on commit 7577fb4

Please sign in to comment.