Files
GitOps/nowchess/eu-central-1-prod/rbac-coordinator.yaml
T

25 lines
544 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: coordinator-rollout-scaler
namespace: nowchess
rules:
- apiGroups: ["argoproj.io"]
resources: ["rollouts", "rollouts/scale"]
verbs: ["get", "update", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: coordinator-rollout-scaler
namespace: nowchess
subjects:
- kind: ServiceAccount
name: default
namespace: nowchess
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: coordinator-rollout-scaler