Skip to content
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
2 changes: 1 addition & 1 deletion charts/manila-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v1.32.0
description: Manila CSI Chart for OpenStack
name: openstack-manila-csi
version: 2.33.0-alpha.2
version: 2.33.0-alpha.3
home: http://github.com/kubernetes/cloud-provider-openstack
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ spec:
mountPath: /runtimeconfig
readOnly: true
{{- end }}
{{- with $.Values.controllerplugin.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{ toYaml $.Values.controllerplugin.nodeplugin.resources | indent 12 }}
{{- end }}
Expand All @@ -155,6 +158,9 @@ spec:
hostPath:
path: /var/lib/kubelet/pods
type: Directory
{{- with .Values.controllerplugin.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.controllerplugin.affinity }}
affinity: {{ toYaml .Values.controllerplugin.affinity | nindent 8 }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ spec:
mountPath: /runtimeconfig
readOnly: true
{{- end }}
{{- with $.Values.nodeplugin.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
resources:
{{ toYaml $.Values.nodeplugin.nodeplugin.resources | indent 12 }}
{{- end }}
Expand All @@ -110,6 +113,9 @@ spec:
name: manila-csi-runtimeconf-cm
{{- end }}
{{- end }}
{{- with .Values.nodeplugin.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.nodeplugin.affinity }}
affinity: {{ toYaml .Values.nodeplugin.affinity | nindent 8 }}
{{- end }}
Expand Down
13 changes: 13 additions & 0 deletions charts/manila-csi-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ nodeplugin:
# Use fullnameOverride to fully override the name of this component
# fullnameOverride: some-other-name
podSecurityContext: {}
volumes: []
volumeMounts: []

# StatefulSet deployment
controllerplugin:
Expand Down Expand Up @@ -121,6 +123,17 @@ controllerplugin:
# Use fullnameOverride to fully override the name of this component
# fullnameOverride: some-other-name
podSecurityContext: {}
volumes: []
# - name: cacert
# hostPath:
# path: /etc/cacert
volumeMounts: []
# - name: cacert
# mountPath: /etc/cacert
# readOnly: true
# - name: cloud-config
# mountPath: /etc/kubernetes
# readOnly: true

# Log verbosity level.
# See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md
Expand Down