File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
test/e2e/nemo-dependencies/customizer/tasks Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 30
30
--namespace {{ namespace }} \
31
31
--version {{ volcano.chart_version }}
32
32
33
+ - name: Patch ClusterRole for volcano to update/patch replicaset finalizers in OpenShift
34
+ shell: |
35
+ kubectl patch clusterrole volcano-controllers --type='json' -p='[
36
+ {
37
+ "op": "add",
38
+ "path": "/rules/-",
39
+ "value": {
40
+ "apiGroups": ["apps"],
41
+ "resources": ["replicasets/finalizers"],
42
+ "verbs": ["update", "patch"]
43
+ }
44
+ }
45
+ ]'
46
+ register: patch_result
47
+ changed_when: "'configured' in patch_result.stdout or 'patched' in patch_result.stdout"
48
+ when: is_openshift
49
+
33
50
- name: Wait for Volcano deployments to be available
34
51
command: kubectl rollout status deployment/{{ item }} -n {{ namespace }} --timeout=300s
35
52
loop:
You can’t perform that action at this time.
0 commit comments