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

Update calls-offloader chart #484

Merged
merged 1 commit into from
Dec 19, 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
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