mirror of
https://github.com/openshift/community.okd.git
synced 2026-07-31 03:44:31 +00:00
fix integration unsafe asserts (#212)
This commit is contained in:
@@ -223,8 +223,8 @@
|
||||
- name: validate clusterrole binding candidates for prune
|
||||
assert:
|
||||
that:
|
||||
- '"{{ item.name }}-binding" in check.cluster_role_binding'
|
||||
- '"{{ test_ns }}/{{ cluster_roles[0].name }}-binding" in check.role_binding'
|
||||
- 'item["name"]+"-binding" in check.cluster_role_binding'
|
||||
- 'test_ns+"/"+cluster_roles[0].name+"-binding" in check.role_binding'
|
||||
with_items: "{{ cluster_roles }}"
|
||||
|
||||
- name: Prune Cluster Role for managing Pod
|
||||
|
||||
Reference in New Issue
Block a user