Skip to content

Commit

Permalink
feat(chart): add allowedTopologies
Browse files Browse the repository at this point in the history
Add allowedTopologies to helm chart
  • Loading branch information
camaeel authored and sergelogvinov committed Dec 8, 2023
1 parent 4c9bae4 commit 41cb02a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/proxmox-csi-plugin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.12
version: 0.1.13
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
Expand Down
4 changes: 4 additions & 0 deletions charts/proxmox-csi-plugin/templates/storageclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ parameters:
mountOptions:
{{- . | toYaml | nindent 2 }}
{{- end }}
{{- with $storage.allowedTopologies }}
allowedTopologies:
{{- . | toYaml | nindent 2 }}
{{- end }}
---
{{- end }}
10 changes: 9 additions & 1 deletion charts/proxmox-csi-plugin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,15 @@ storageClass: []
# csi.storage.k8s.io/node-expand-secret-namespace: "kube-system"
# mountOptions:
# - discard

# allowedTopologies:
# - matchLabelExpressions:
# - key: topology.kubernetes.io/region
# values:
# - Region-1
# - key: topology.kubernetes.io/zone
# values:
# - pve-1
# - pve-3
controller:
plugin:
# -- Controller CSI Driver.
Expand Down

0 comments on commit 41cb02a

Please sign in to comment.