1
0
forked from suse-edge/Factory
Factory/upgrade-controller-chart/templates/clusterrole_binding.yaml

15 lines
457 B
YAML
Raw Normal View History

2024-10-22 09:51:51 +02:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "upgrade-controller.fullname" . }}
labels:
{{- include "upgrade-controller.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ include "upgrade-controller.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ include "upgrade-controller.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}