1
0
forked from suse-edge/Factory
Factory/upgrade-controller-chart/templates/clusterrole.yaml
Atanas Dinov 26e34cc386 [3.2] Bump Upgrade Controller and Release Manifest (#54)
Co-authored-by: Ivo Petrov <ivo.petrov@suse.com>
Reviewed-on: suse-edge/Factory#54
Reviewed-by: Denislav Prodanov <dprodanov@noreply.src.opensuse.org>
2024-12-12 09:39:30 +01:00

123 lines
1.5 KiB
YAML

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "upgrade-controller.fullname" . }}
labels:
{{- include "upgrade-controller.labels" . | nindent 4 }}
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- watch
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- apiGroups:
- apps
resources:
- deployments
verbs:
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- get
- list
- watch
- apiGroups:
- batch
resources:
- jobs/status
verbs:
- get
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- helm.cattle.io
resources:
- helmcharts
verbs:
- create
- get
- list
- update
- watch
- apiGroups:
- helm.cattle.io
resources:
- helmcharts/status
verbs:
- get
- apiGroups:
- lifecycle.suse.com
resources:
- releasemanifests
verbs:
- create
- get
- list
- watch
- apiGroups:
- lifecycle.suse.com
resources:
- upgradeplans
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- lifecycle.suse.com
resources:
- upgradeplans/finalizers
verbs:
- update
- apiGroups:
- lifecycle.suse.com
resources:
- upgradeplans/status
verbs:
- get
- patch
- update
- apiGroups:
- upgrade.cattle.io
resources:
- plans
verbs:
- create
- delete
- get
- list
- watch