csi: bump upcloud csi driver (#8784)
This commit is contained in:
parent
37a5271f5a
commit
b715500b48
7 changed files with 13 additions and 6 deletions
|
@ -7,11 +7,13 @@
|
||||||
# upcloud_csi_provisioner_image_tag: "v3.1.0"
|
# upcloud_csi_provisioner_image_tag: "v3.1.0"
|
||||||
# upcloud_csi_attacher_image_tag: "v3.4.0"
|
# upcloud_csi_attacher_image_tag: "v3.4.0"
|
||||||
# upcloud_csi_resizer_image_tag: "v1.4.0"
|
# upcloud_csi_resizer_image_tag: "v1.4.0"
|
||||||
# upcloud_csi_plugin_image_tag: "alpha"
|
# upcloud_csi_plugin_image_tag: "v0.2.1"
|
||||||
# upcloud_csi_node_image_tag: "v2.5.0"
|
# upcloud_csi_node_image_tag: "v2.5.0"
|
||||||
# upcloud_tolerations: []
|
# upcloud_tolerations: []
|
||||||
## Storage class options
|
## Storage class options
|
||||||
# expand_persistent_volumes: true
|
# expand_persistent_volumes: true
|
||||||
|
# parameters:
|
||||||
|
# tier: maxiops # or hdd
|
||||||
# storage_classes:
|
# storage_classes:
|
||||||
# - name: standard
|
# - name: standard
|
||||||
# is_default: true
|
# is_default: true
|
||||||
|
|
|
@ -3,7 +3,7 @@ upcloud_csi_controller_replicas: 1
|
||||||
upcloud_csi_provisioner_image_tag: "v3.1.0"
|
upcloud_csi_provisioner_image_tag: "v3.1.0"
|
||||||
upcloud_csi_attacher_image_tag: "v3.4.0"
|
upcloud_csi_attacher_image_tag: "v3.4.0"
|
||||||
upcloud_csi_resizer_image_tag: "v1.4.0"
|
upcloud_csi_resizer_image_tag: "v1.4.0"
|
||||||
upcloud_csi_plugin_image_tag: "alpha"
|
upcloud_csi_plugin_image_tag: "v0.2.1"
|
||||||
upcloud_csi_node_image_tag: "v2.5.0"
|
upcloud_csi_node_image_tag: "v2.5.0"
|
||||||
upcloud_username: "{{ lookup('env','UPCLOUD_USERNAME') }}"
|
upcloud_username: "{{ lookup('env','UPCLOUD_USERNAME') }}"
|
||||||
upcloud_password: "{{ lookup('env','UPCLOUD_PASSWORD') }}"
|
upcloud_password: "{{ lookup('env','UPCLOUD_PASSWORD') }}"
|
||||||
|
|
|
@ -65,7 +65,6 @@ spec:
|
||||||
- "--nodehost=$(NODE_ID)"
|
- "--nodehost=$(NODE_ID)"
|
||||||
- "--username=$(UPCLOUD_USERNAME)"
|
- "--username=$(UPCLOUD_USERNAME)"
|
||||||
- "--password=$(UPCLOUD_PASSWORD)"
|
- "--password=$(UPCLOUD_PASSWORD)"
|
||||||
- "--url=$(UPCLOUD_API_URL)"
|
|
||||||
env:
|
env:
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
|
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
|
||||||
|
|
|
@ -5,3 +5,4 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
attachRequired: true
|
attachRequired: true
|
||||||
podInfoOnMount: true
|
podInfoOnMount: true
|
||||||
|
fsGroupPolicy: File
|
|
@ -47,13 +47,12 @@ spec:
|
||||||
- name: registration-dir
|
- name: registration-dir
|
||||||
mountPath: /registration/
|
mountPath: /registration/
|
||||||
- name: csi-upcloud-plugin
|
- name: csi-upcloud-plugin
|
||||||
image: ghcr.io/upcloudltd/upcloud-csi:alpha
|
image: ghcr.io/upcloudltd/upcloud-csi:{{ upcloud_csi_plugin_image_tag }}
|
||||||
args:
|
args:
|
||||||
- "--endpoint=$(CSI_ENDPOINT)"
|
- "--endpoint=$(CSI_ENDPOINT)"
|
||||||
- "--nodehost=$(NODE_ID)"
|
- "--nodehost=$(NODE_ID)"
|
||||||
- "--username=$(UPCLOUD_USERNAME)"
|
- "--username=$(UPCLOUD_USERNAME)"
|
||||||
- "--password=$(UPCLOUD_PASSWORD)"
|
- "--password=$(UPCLOUD_PASSWORD)"
|
||||||
- "--url=$(UPCLOUD_API_URL)"
|
|
||||||
env:
|
env:
|
||||||
- name: CSI_ENDPOINT
|
- name: CSI_ENDPOINT
|
||||||
value: unix:///csi/csi.sock
|
value: unix:///csi/csi.sock
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
---
|
---
|
||||||
expand_persistent_volumes: true
|
expand_persistent_volumes: true
|
||||||
|
parameters:
|
||||||
|
tier: maxiops
|
||||||
storage_classes:
|
storage_classes:
|
||||||
- name: standard
|
- name: standard
|
||||||
is_default: true
|
is_default: true
|
||||||
|
|
|
@ -7,5 +7,9 @@ metadata:
|
||||||
annotations:
|
annotations:
|
||||||
storageclass.kubernetes.io/is-default-class: "{{ class.is_default | default(false) | ternary("true","false") }}"
|
storageclass.kubernetes.io/is-default-class: "{{ class.is_default | default(false) | ternary("true","false") }}"
|
||||||
provisioner: storage.csi.upcloud.com
|
provisioner: storage.csi.upcloud.com
|
||||||
|
parameters:
|
||||||
|
{% for key, value in (class.parameters | default({})).items() %}
|
||||||
|
"{{ key }}": "{{ value }}"
|
||||||
|
{% endfor %}
|
||||||
allowVolumeExpansion: {{ expand_persistent_volumes }}
|
allowVolumeExpansion: {{ expand_persistent_volumes }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue