From cca4c47719379c50bd3ae6f6c49fc1fb64b12e73 Mon Sep 17 00:00:00 2001 From: Claudio Costa Date: Thu, 19 Dec 2024 08:31:33 -0600 Subject: [PATCH] Update calls-offloader chart (#484) --- charts/mattermost-calls-offloader/Chart.yaml | 4 +-- .../templates/deployment.yaml | 30 ------------------- charts/mattermost-calls-offloader/values.yaml | 5 +++- 3 files changed, 6 insertions(+), 33 deletions(-) diff --git a/charts/mattermost-calls-offloader/Chart.yaml b/charts/mattermost-calls-offloader/Chart.yaml index ebba04bc..3c5dee17 100644 --- a/charts/mattermost-calls-offloader/Chart.yaml +++ b/charts/mattermost-calls-offloader/Chart.yaml @@ -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 diff --git a/charts/mattermost-calls-offloader/templates/deployment.yaml b/charts/mattermost-calls-offloader/templates/deployment.yaml index 414e3e3c..a96ca3bf 100644 --- a/charts/mattermost-calls-offloader/templates/deployment.yaml +++ b/charts/mattermost-calls-offloader/templates/deployment.yaml @@ -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: diff --git a/charts/mattermost-calls-offloader/values.yaml b/charts/mattermost-calls-offloader/values.yaml index 4cdf67bd..99899e2a 100644 --- a/charts/mattermost-calls-offloader/values.yaml +++ b/charts/mattermost-calls-offloader/values.yaml @@ -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: "" @@ -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