From 2bfeb76d4b6cf5ccdd853e40428933cc81f96ba9 Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Fri, 30 Dec 2022 16:41:44 +0100 Subject: [PATCH] fix: allows deployment to inetmock namespace --- k8s/roles/concourse/tasks/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/k8s/roles/concourse/tasks/main.yml b/k8s/roles/concourse/tasks/main.yml index acda4b5..5918329 100644 --- a/k8s/roles/concourse/tasks/main.yml +++ b/k8s/roles/concourse/tasks/main.yml @@ -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