mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-04-14 04:41:08 +00:00
Clean up test namespace (#852)
SUMMARY The helm_set_values test target did not clean up its namespace which is leading to unstable tests in the k8s_drain target. ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis Reviewed-by: Yuriy Novostavskiy
This commit is contained in:
@@ -104,3 +104,11 @@
|
|||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
path: "{{ ymlfile.path }}"
|
path: "{{ ymlfile.path }}"
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
|
- name: Delete namespace
|
||||||
|
k8s:
|
||||||
|
state: absent
|
||||||
|
kind: namespace
|
||||||
|
name: "{{ helm_namespace }}"
|
||||||
|
ignore_errors: true
|
||||||
|
|||||||
Reference in New Issue
Block a user