Skip to content
Open
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: 3 additions & 1 deletion chart/templates/daemonset-sa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ spec:
- name: go-cover-dir
mountPath: /go-cover-dir/
{{- end }}
{{- toYaml .Values.longhornManager.longhornManagerContainerVolumeMounts | nindent 8 }}
env:
- name: POD_NAME
valueFrom:
Expand Down Expand Up @@ -121,7 +122,7 @@ spec:
path: /etc/
- name: longhorn
hostPath:
path: /var/lib/longhorn/
path: {{ .Values.longhornManager.dataVolumeHostPath }}
{{- if .Values.enableGoCoverDir }}
- name: go-cover-dir
hostPath:
Expand All @@ -132,6 +133,7 @@ spec:
secret:
secretName: longhorn-grpc-tls
optional: true
{{- toYaml .Values.longhornManager.extraVolumes | nindent 6 }}
{{- with (coalesce .Values.global.imagePullSecrets (ternary "" .Values.privateRegistry.registrySecret (empty .Values.privateRegistry.createSecret))) }}
imagePullSecrets:
{{- $imagePullSecrets := list }}
Expand Down
18 changes: 18 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,24 @@ longhornManager:
## and uncomment this example block
# annotation-key1: "annotation-value1"
# annotation-key2: "annotation-value2"
# -- Host path on the nodes that will be mounted to `/var/lib/longhorn` inside the longhorn-manager pods. The default value is "/var/lib/longhorn/".
dataVolumeHostPath: "/var/lib/longhorn/"
# -- Extra volume specs to add to the `longhorn-manager` pod. The values are directly inserted into the
# `volumes` key in the pod spec.
extraVolumes: []
## To add extra volumes, delete the `[]` in the line above
## and uncomment this example block:
# - name: longhorn
# hostPath:
# path: /var/mnt/my-bonus-data
# -- Extra volumeMount specs to add to the `longhorn-manager` container in the `longhorn-manager` pod.
# The values are directly inserted into the `volumes` key in the pod spec.
longhornManagerContainerVolumeMounts: []
## To mount extra volumes defined above, delete the `[]` in the line above
## and uncomment this example block:
# - name: my-bonus-data-volume
# mountPath: /var/lib/longhorn-extra/my-bonus-data
# mountPropagation: Bidirectional
longhornDriver:
log:
# -- Format of longhorn-driver logs. (Options: "plain", "json")
Expand Down