diff --git a/charts/centrifugo/Chart.yaml b/charts/centrifugo/Chart.yaml index 0a85667..4a05b64 100644 --- a/charts/centrifugo/Chart.yaml +++ b/charts/centrifugo/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: centrifugo description: Centrifugo is a scalable real-time messaging server in language-agnostic way -version: 11.0.5 +version: 11.0.6 appVersion: 5.0.3 home: https://centrifugal.dev icon: https://centrifugal.dev/img/favicon.png diff --git a/charts/centrifugo/templates/deployment.yaml b/charts/centrifugo/templates/deployment.yaml index ca0c15c..b4c7a64 100644 --- a/charts/centrifugo/templates/deployment.yaml +++ b/charts/centrifugo/templates/deployment.yaml @@ -48,7 +48,10 @@ spec: volumes: - name: {{ include "centrifugo.fullname" . }}-config configMap: - name: {{ include "centrifugo.fullname" . }}-config + name: {{ include "centrifugo.fullname" . }}-config + {{- with .Values.volumes }} + {{- toYaml . | nindent 8 }} + {{- end }} {{- if .Values.initContainers}} initContainers: {{- with .Values.initContainers }} @@ -148,6 +151,9 @@ spec: - name: "{{ include "centrifugo.fullname" . }}-config" mountPath: "/centrifugo" readOnly: true + {{- with .Values.volumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} ports: - name: external containerPort: {{ .Values.service.port }} diff --git a/charts/centrifugo/values.yaml b/charts/centrifugo/values.yaml index d790743..408f0aa 100644 --- a/charts/centrifugo/values.yaml +++ b/charts/centrifugo/values.yaml @@ -269,6 +269,18 @@ config: # Array of namespaces. namespaces: [] +# Additional volumes for Centrifugo deployment. +volumes: [] + # - name: volume + # secret: + # secretName: volumeSecretName + +# Additional volume mounts for Centrifugo container. +volumeMounts: [] + # - name: volume + # mountPath: "/volume" + # readOnly: true + # TopologySpreadConstrains, e.g. for spreading pods across nodes # see https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/