Skip to content

Commit

Permalink
Update calls-offloader chart (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
streamer45 authored Dec 19, 2024
1 parent c460b57 commit cca4c47
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 33 deletions.
4 changes: 2 additions & 2 deletions charts/mattermost-calls-offloader/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: mattermost-calls-offloader
description: A Helm chart for Kubernetes to deploy Mattermost's Calls Offloader service
type: application
version: 0.2.0
appVersion: "0.8.0"
version: 0.2.1
appVersion: "0.9.0"
keywords:
- mattermost
- calls-offloader
Expand Down
30 changes: 0 additions & 30 deletions charts/mattermost-calls-offloader/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,36 +55,6 @@ spec:
port: offloader
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
{{- if .Values.volumeConfig.usePVC }}
- mountPath: {{ .Values.persistentVolume.mountPath }}
name: {{ .Values.persistentVolume.name }}
{{- end }}
{{- if .Values.volumeConfig.useEFS }}
- mountPath: {{ .Values.efsVolume.mountPath }}
name: {{ .Values.efsVolume.name }}
{{- end }}
{{- if .Values.volumeConfig.useNFS }}
- mountPath: {{ .Values.nfsVolume.mountPath }}
name: {{ .Values.nfsVolume.name }}
{{- end }}
volumes:
{{- if .Values.volumeConfig.usePVC }}
- name: {{ .Values.persistentVolume.name }}
persistentVolumeClaim:
claimName: {{ .Values.persistentVolume.claimName }}
{{- end }}
{{- if .Values.volumeConfig.useEFS }}
- name: {{ .Values.efsVolume.name }}
persistentVolumeClaim:
claimName: {{ .Values.efsVolume.claimName }}
{{- end }}
{{- if .Values.volumeConfig.useNFS }}
- name: {{ .Values.nfsVolume.name }}
nfs:
server: {{ .Values.nfsVolume.server }}
path: {{ .Values.nfsVolume.path }}
{{- end }}

{{- with .Values.nodeSelector }}
nodeSelector:
Expand Down
5 changes: 4 additions & 1 deletion charts/mattermost-calls-offloader/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
repository: mattermost/calls-offloader
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.8.0"
tag: "v0.9.0"

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -83,6 +83,9 @@ config:
value: "true"
- name: LOGGER_CONSOLELEVEL
value: "INFO"
# To be set in case a persistent volume is used.
# - name: JOBS_KUBERNETES_PERSISTENTVOLUMECLAIMNAME
# value: "my-pvc"

volumeConfig:
usePVC: false
Expand Down

0 comments on commit cca4c47

Please sign in to comment.