fup namespace seems to be needed

This commit is contained in:
Philippe Caseiro 2023-03-17 11:57:14 +01:00
parent fe265a14b0
commit 0ef4a86c8c
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,6 @@ kind: Kustomization
resources: resources:
- ./resources/hydra - ./resources/hydra
- ./resources/hydra-dispatcher - ./resources/hydra-dispatcher
- ./resources/hydra-maester
components: components:
- ./components/hydra-cnpg-database - ./components/hydra-cnpg-database

View File

@ -26,6 +26,7 @@ metadata:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: hydra-maester-account # Service account assigned to the controller pod. name: hydra-maester-account # Service account assigned to the controller pod.
namespace: default
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -52,6 +53,7 @@ metadata:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: hydra-maester-account # Service account assigned to the controller pod. name: hydra-maester-account # Service account assigned to the controller pod.
namespace: default
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role