mirror of
https://github.com/devitq/homelab.git
synced 2026-11-20 10:17:39 +00:00
29 lines
691 B
YAML
29 lines
691 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: external-secrets-infisical-token-reviewer
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-2"
|
|
rules:
|
|
- apiGroups:
|
|
- authentication.k8s.io
|
|
resources:
|
|
- tokenreviews
|
|
verbs:
|
|
- create
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: external-secrets-infisical-token-reviewer
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-2"
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: external-secrets-infisical-token-reviewer
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: external-secrets-operator
|
|
namespace: external-secrets
|