Skip to content
Snippets Groups Projects
Unverified Commit 1f9841f6 authored by Hugo Blom's avatar Hugo Blom Committed by GitHub
Browse files

update cinder csi manifests (#6434)

parent aa21edeb
No related branches found
No related tags found
No related merge requests found
...@@ -16,19 +16,16 @@ metadata: ...@@ -16,19 +16,16 @@ metadata:
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["persistentvolumes"] resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "patch"] verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: [""] - apiGroups: [""]
resources: ["nodes"] resources: ["nodes"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"] - apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"] resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "patch"] verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"] - apiGroups: ["storage.k8s.io"]
resources: ["csinodes"] resources: ["csinodes"]
verbs: ["get", "list", "watch"] verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments/status"]
verbs: ["patch"]
--- ---
......
...@@ -23,8 +23,8 @@ spec: ...@@ -23,8 +23,8 @@ spec:
image: {{ csi_attacher_image_repo }}:{{ csi_attacher_image_tag }} image: {{ csi_attacher_image_repo }}:{{ csi_attacher_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }} imagePullPolicy: {{ k8s_image_pull_policy }}
args: args:
- "--v=5"
- "--csi-address=$(ADDRESS)" - "--csi-address=$(ADDRESS)"
- "--timeout=3m"
{% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %} {% if cinder_csi_controller_replicas is defined and cinder_csi_controller_replicas > 1 %}
- --leader-election - --leader-election
- --leader-election-namespace=kube-system - --leader-election-namespace=kube-system
...@@ -40,6 +40,7 @@ spec: ...@@ -40,6 +40,7 @@ spec:
imagePullPolicy: {{ k8s_image_pull_policy }} imagePullPolicy: {{ k8s_image_pull_policy }}
args: args:
- "--csi-address=$(ADDRESS)" - "--csi-address=$(ADDRESS)"
- "--timeout=3m"
{% if cinder_topology is defined and cinder_topology %} {% if cinder_topology is defined and cinder_topology %}
- --feature-gates=Topology=true - --feature-gates=Topology=true
{% endif %} {% endif %}
......
...@@ -5,3 +5,6 @@ metadata: ...@@ -5,3 +5,6 @@ metadata:
spec: spec:
attachRequired: true attachRequired: true
podInfoOnMount: true podInfoOnMount: true
volumeLifecycleModes:
- Persistent
- Ephemeral
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment