From 0ef4a86c8c5a4f8e4c2fd17a5103c60c30a07893 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Fri, 17 Mar 2023 11:57:14 +0100 Subject: [PATCH] fup namespace seems to be needed --- kustomization.yaml | 1 - .../resources/hydra-maester/resources/hydra-maester-rbac.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kustomization.yaml b/kustomization.yaml index e7cc445..aa8cbeb 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -4,7 +4,6 @@ kind: Kustomization resources: - ./resources/hydra - ./resources/hydra-dispatcher - - ./resources/hydra-maester components: - ./components/hydra-cnpg-database diff --git a/resources/hydra/resources/hydra-maester/resources/hydra-maester-rbac.yaml b/resources/hydra/resources/hydra-maester/resources/hydra-maester-rbac.yaml index 9eca440..03548b3 100644 --- a/resources/hydra/resources/hydra-maester/resources/hydra-maester-rbac.yaml +++ b/resources/hydra/resources/hydra-maester/resources/hydra-maester-rbac.yaml @@ -26,6 +26,7 @@ metadata: subjects: - kind: ServiceAccount name: hydra-maester-account # Service account assigned to the controller pod. + namespace: default roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole @@ -52,6 +53,7 @@ metadata: subjects: - kind: ServiceAccount name: hydra-maester-account # Service account assigned to the controller pod. + namespace: default roleRef: apiGroup: rbac.authorization.k8s.io kind: Role