Pass k8s namespace to the loop

This commit is contained in:
Nikolai Rodionov 2024-02-15 16:04:41 +01:00
parent 1f12d21059
commit 0a5d8ebe1a
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -78,6 +78,7 @@
certificate_expires_in: "{{ item.certificate_expires_in | default('500') }}" certificate_expires_in: "{{ item.certificate_expires_in | default('500') }}"
username: "{{ item.username }}" username: "{{ item.username }}"
host_user: "{{ item.host_user | default('') }}" host_user: "{{ item.host_user | default('') }}"
k8s_namespace: "{{ item.k8s_namespace | default('default') }}"
cluster: "{{ item.cluster }}" cluster: "{{ item.cluster }}"
binding_type: "{{ item.binding_type | default('ClusterRoleBinding') }}" binding_type: "{{ item.binding_type | default('ClusterRoleBinding') }}"
role_type: "{{ item.role_type | default('ClusterRole') }}" role_type: "{{ item.role_type | default('ClusterRole') }}"