fix: allows deployment to inetmock namespace

This commit is contained in:
Peter 2022-12-30 16:41:44 +01:00
parent d0fb6d856c
commit 2bfeb76d4b
Signed by: prskr
GPG key ID: C1DB5D2E8DB512F9

View file

@ -65,12 +65,14 @@
- name: Bind service account for deployment
kubernetes.core.k8s:
name: "concourse-{{ item }}"
namespace: "concourse-{{ item }}"
name: "{{ item }}"
namespace: "{{ item }}"
definition: "{{ lookup('template', 'rbac/deploy-rolebinding.yml.j2') | from_yaml }}"
state: present
loop:
- main
- concourse-main
- concourse-inetmock
- blog
- inetmock
- name: Create Gitea team credentials