50 lines
816 B
YAML
50 lines
816 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: keel
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- namespaces
|
|
verbs:
|
|
- watch
|
|
- list
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- secrets
|
|
verbs:
|
|
- get
|
|
- watch
|
|
- list
|
|
- apiGroups:
|
|
- ""
|
|
- extensions
|
|
- apps
|
|
- batch
|
|
resources:
|
|
- pods
|
|
- replicasets
|
|
- replicationcontrollers
|
|
- statefulsets
|
|
- deployments
|
|
- daemonsets
|
|
- jobs
|
|
- cronjobs
|
|
verbs:
|
|
- get
|
|
- delete # required to delete pods during force upgrade of the same tag
|
|
- watch
|
|
- list
|
|
- update
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- configmaps
|
|
- pods/portforward
|
|
verbs:
|
|
- get
|
|
- create
|
|
- update
|