k8s_info - fix issue with kubernetes-client caching when api-server was available (#571)

k8s_info - fix issue with kubernetes-client caching when api-server was available

SUMMARY
closes #508
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

k8s_info
ADDITIONAL INFORMATION

Reviewed-by: Mike Graves <mgraves@redhat.com>
This commit is contained in:
Bikouo Aubin
2023-01-24 11:43:30 +01:00
committed by GitHub
parent af7c24cba7
commit 8ed4d4b6ed
7 changed files with 347 additions and 242 deletions

View File

@@ -1,7 +1,7 @@
---
- include_tasks: tasks/create.yml
vars:
namespace_to_create: "{{ item.name }}"
namespace_to_create: "{{ item.name | default(item) }}"
namespace_labels: "{{ item.labels | default(omit) }}"
with_items: "{{ test_namespace }}"
when: test_namespace | type_debug == "list"