From 7f0a7773fe95535627fde16d52336debdef006fa Mon Sep 17 00:00:00 2001 From: Andres Romero Date: Wed, 14 Oct 2020 02:53:52 +0000 Subject: [PATCH] Fixing broken Molecule tests --- config/rbac/cluster_role_binding.yaml | 1 - config/rbac/leader_election_role_binding.yaml | 1 - config/rbac/namespaced/kustomization.yaml | 1 + config/rbac/namespaced/role_binding.yaml | 1 - 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/rbac/cluster_role_binding.yaml b/config/rbac/cluster_role_binding.yaml index cd4b89e..dae9905 100644 --- a/config/rbac/cluster_role_binding.yaml +++ b/config/rbac/cluster_role_binding.yaml @@ -9,5 +9,4 @@ roleRef: name: manager-role subjects: - kind: ServiceAccount - namespace: system name: sa diff --git a/config/rbac/leader_election_role_binding.yaml b/config/rbac/leader_election_role_binding.yaml index a3e862c..482a32c 100644 --- a/config/rbac/leader_election_role_binding.yaml +++ b/config/rbac/leader_election_role_binding.yaml @@ -8,5 +8,4 @@ roleRef: name: leader-election-role subjects: - kind: ServiceAccount - namespace: system name: sa diff --git a/config/rbac/namespaced/kustomization.yaml b/config/rbac/namespaced/kustomization.yaml index b3c8b59..30ee59f 100644 --- a/config/rbac/namespaced/kustomization.yaml +++ b/config/rbac/namespaced/kustomization.yaml @@ -8,3 +8,4 @@ resources: - ../leader_election_role_binding.yaml - ../gitea_editor_role.yaml - ../gitea_viewer_role.yaml +- ../service_account.yaml diff --git a/config/rbac/namespaced/role_binding.yaml b/config/rbac/namespaced/role_binding.yaml index b2ecce6..29b426f 100644 --- a/config/rbac/namespaced/role_binding.yaml +++ b/config/rbac/namespaced/role_binding.yaml @@ -9,5 +9,4 @@ roleRef: name: manager-role subjects: - kind: ServiceAccount - namespace: system name: sa