fup namespace is not needed

This commit is contained in:
Philippe Caseiro 2023-03-17 11:35:51 +01:00
parent 920f62a5ab
commit fe265a14b0
1 changed files with 0 additions and 5 deletions

View File

@ -4,7 +4,6 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: hydra-maester-account name: hydra-maester-account
namespace: hydra
--- ---
# Source: hydra/charts/hydra-maester/templates/rbac.yaml # Source: hydra/charts/hydra-maester/templates/rbac.yaml
kind: ClusterRole kind: ClusterRole
@ -27,7 +26,6 @@ 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: hydra
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
@ -38,7 +36,6 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: hydra-maester-role name: hydra-maester-role
namespace: hydra
rules: rules:
- apiGroups: [""] - apiGroups: [""]
resources: ["secrets"] resources: ["secrets"]
@ -52,11 +49,9 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: hydra-maester-role-binding name: hydra-maester-role-binding
namespace: hydra
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: hydra
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role