# services/bstein-dev-home/portal-e2e-client-secret-sync-rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  name: portal-e2e-client-secret-sync-target
  namespace: bstein-dev-home
rules:
  - apiGroups: [""]
    resources: ["secrets"]
    verbs: ["get", "create", "patch", "update"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: portal-e2e-client-secret-sync-target
  namespace: bstein-dev-home
subjects:
  - kind: ServiceAccount
    name: portal-e2e-client-secret-sync
    namespace: sso
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: portal-e2e-client-secret-sync-target
