freeleaps-ops/cluster/manifests/freeleaps-controls-system/rbac/rbac.yaml
zhenyus b7c11d2829 feat: update RBAC configurations and add Jenkinsfile for aml-services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-05-12 09:56:54 +08:00

22 lines
609 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: certificate-contributor
rules:
- apiGroups: ["cert-manager.io"]
resources: ["certificates"]
verbs: ["create", "get", "list", "watch", "update", "patch", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: certificate-contributor-binding
namespace: freeleaps-controls-system
subjects:
- kind: Group
name: mathmast:certificate-contributor
apiGroup: rbac.authorization.k8s.io
roleRef:
kind: ClusterRole
name: certificate-contributor
apiGroup: rbac.authorization.k8s.io