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