mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
add extraVolumes & extraVolumeMounts support (#98)
Co-authored-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
parent
714708050a
commit
2282b4113b
@ -2,7 +2,7 @@ apiVersion: v1
|
|||||||
appVersion: "1.6.12"
|
appVersion: "1.6.12"
|
||||||
description: Eclipse Mosquitto - An open source MQTT broker
|
description: Eclipse Mosquitto - An open source MQTT broker
|
||||||
name: mosquitto
|
name: mosquitto
|
||||||
version: 0.3.3
|
version: 0.4.0
|
||||||
keywords:
|
keywords:
|
||||||
- message queue
|
- message queue
|
||||||
- MQTT
|
- MQTT
|
||||||
|
@ -44,6 +44,7 @@ spec:
|
|||||||
mountPath: /mosquitto/config
|
mountPath: /mosquitto/config
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /mosquitto/data
|
mountPath: /mosquitto/data
|
||||||
|
{{- if .Values.extraVolumeMounts }}{{ toYaml .Values.extraVolumeMounts | trim | nindent 12 }}{{ end }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: configmap
|
- name: configmap
|
||||||
configMap:
|
configMap:
|
||||||
@ -57,6 +58,7 @@ spec:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ .Values.persistence.existingClaim }}
|
claimName: {{ .Values.persistence.existingClaim }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.extraVolumes }}{{ toYaml .Values.extraVolumes | trim | nindent 8 }}{{ end }}
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
@ -74,3 +74,15 @@ persistence:
|
|||||||
size: 5Gi
|
size: 5Gi
|
||||||
|
|
||||||
# customConfig:
|
# customConfig:
|
||||||
|
|
||||||
|
# Any extra volumes to define for the pod
|
||||||
|
extraVolumes: []
|
||||||
|
# - name: example-name
|
||||||
|
# hostPath:
|
||||||
|
# path: /path/on/host
|
||||||
|
# type: DirectoryOrCreate
|
||||||
|
|
||||||
|
# Any extra volume mounts to define for the containers
|
||||||
|
extraVolumeMounts: []
|
||||||
|
# - name: example-name
|
||||||
|
# mountPath: /path/in/container
|
||||||
|
Loading…
Reference in New Issue
Block a user