Revert "fix(resources): do not set namespace in maester rolebinding"

This reverts commit 1fccf5f8dc.
This commit is contained in:
Philippe Caseiro 2024-01-30 12:34:54 +01:00
parent 1fccf5f8dc
commit 83b81b1056
1 changed files with 19 additions and 16 deletions

View File

@ -1,3 +1,4 @@
---
# Source: hydra/charts/hydra-maester/templates/rbac.yaml
apiVersion: v1
kind: ServiceAccount
@ -25,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
@ -51,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