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 - name: Bind service account for deployment
kubernetes.core.k8s: kubernetes.core.k8s:
name: "concourse-{{ item }}" name: "{{ item }}"
namespace: "concourse-{{ item }}" namespace: "{{ item }}"
definition: "{{ lookup('template', 'rbac/deploy-rolebinding.yml.j2') | from_yaml }}" definition: "{{ lookup('template', 'rbac/deploy-rolebinding.yml.j2') | from_yaml }}"
state: present state: present
loop: loop:
- main - concourse-main
- concourse-inetmock
- blog
- inetmock - inetmock
- name: Create Gitea team credentials - name: Create Gitea team credentials