Skip to content

Commit 6873586

Browse files
committed
✨ (provisioner) added extraArgs to values.yaml to pass arguments to provisioner container
Signed-off-by: Llyth <6819575+Llyth@users.noreply.github.com>
1 parent 321c724 commit 6873586

5 files changed

Lines changed: 23 additions & 3 deletions

File tree

deploy/helm/csi-s3/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
apiVersion: v1
3-
appVersion: 0.43.0
3+
appVersion: 0.44.0
44
description: "Container Storage Interface (CSI) driver for S3 volumes"
55
name: csi-s3
6-
version: 0.43.0
6+
version: 0.44.0
77
keywords:
88
- s3
99
home: https://github.com/yandex-cloud/k8s-csi-s3

deploy/helm/csi-s3/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The following table lists all configuration parameters and their default values.
2323

2424
| Parameter | Description | Default |
2525
| ---------------------------- | ---------------------------------------------------------------------- | ------------------------------------------------------ |
26+
| `provisioner.extraArgs` | Extra arguments for the provisioner | [] |
2627
| `storageClass.create` | Specifies whether the storage class should be created | true |
2728
| `storageClass.name` | Storage class name | csi-s3 |
2829
| `storageClass.singleBucket` | Use a single bucket for all dynamically provisioned persistent volumes | |

deploy/helm/csi-s3/manifest.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
helm_chart:
22
name: cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-s3
3-
tag: 0.43.0
3+
tag: 0.44.0
44
requirements:
55
k8s_version: ">=1.13"
66
images:
77
- full: images.registrar
88
- full: images.provisioner
99
- full: images.csi
1010
user_values:
11+
- name: provisioner.extraArgs
12+
title:
13+
en: Extra arguments for the provisioner
14+
ru: Дополнительные аргументы для провиженера
15+
description:
16+
en: Extra arguments to pass to the provisioner container
17+
ru: Дополнительные аргументы, которые будут переданы в контейнер провиженера.
18+
string_value:
19+
default_value: ""
1120
- name: storageClass.create
1221
title:
1322
en: Create storage class

deploy/helm/csi-s3/templates/provisioner.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ spec:
8787
args:
8888
- "--csi-address=$(ADDRESS)"
8989
- "--v=4"
90+
{{- range .Values.provisioner.extraArgs }}
91+
- {{ . | quote }}
92+
{{- end }}
9093
env:
9194
- name: ADDRESS
9295
value: {{ .Values.kubeletPath }}/plugins/ru.yandex.s3.csi/csi.sock

deploy/helm/csi-s3/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ images:
77
# Main image
88
csi: cr.yandex/crp9ftr22d26age3hulg/yandex-cloud/csi-s3/csi-s3-driver:0.43.0
99

10+
provisioner:
11+
# Extra arguments for the provisioner
12+
# Example - change the bucket name prefix from "pvc" to "pvc-s3":
13+
# extraArgs:
14+
# - "--volume-name-prefix=pvc-s3"
15+
extraArgs: []
16+
1017
storageClass:
1118
# Specifies whether the storage class should be created
1219
create: true

0 commit comments

Comments
 (0)