Skip to content

Commit

Permalink
Merge pull request #1274 from loft-sh/add-vcluster-extraVolumeMounts
Browse files Browse the repository at this point in the history
add vcluster.extraVolumeMounts to provide option for HA use cases
  • Loading branch information
FabianKramm authored Oct 5, 2023
2 parents 4b73354 + 515f631 commit f0d56bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/k3s/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ spec:
- name: config
mountPath: /etc/rancher
{{ toYaml .Values.vcluster.volumeMounts | indent 10 }}
{{- if .Values.vcluster.extraVolumeMounts }}
{{ toYaml .Values.vcluster.extraVolumeMounts | indent 10 }}
{{- end }}
resources:
{{ toYaml .Values.vcluster.resources | indent 10 }}
{{- end }}
Expand Down
1 change: 1 addition & 0 deletions charts/k3s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ vcluster:
- --flannel-backend=none
- --kube-apiserver-arg=bind-address=127.0.0.1
extraArgs: []
extraVolumeMounts: []
volumeMounts:
- mountPath: /data
name: data
Expand Down

0 comments on commit f0d56bf

Please sign in to comment.