mirror of
https://github.com/lukaszraczylo/helm-charts.git
synced 2026-07-08 06:34:48 +00:00
07ca75f66d
# This is the 1st commit message: Add jobs-manager-operator v0.0.23 # The commit message #2 will be skipped: # fixup! Add jobs-manager-operator v0.0.23 # The commit message #3 will be skipped: # fixup! Add jobs-manager-operator v0.0.23
75 lines
1.4 KiB
YAML
75 lines
1.4 KiB
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: {{ include "chart.fullname" . }}-manager-role
|
|
labels:
|
|
{{- include "chart.labels" . | nindent 4 }}
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- events
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- batch
|
|
resources:
|
|
- jobs
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- jobsmanager.raczylo.com
|
|
resources:
|
|
- managedjobs
|
|
verbs:
|
|
- create
|
|
- delete
|
|
- get
|
|
- list
|
|
- patch
|
|
- update
|
|
- watch
|
|
- apiGroups:
|
|
- jobsmanager.raczylo.com
|
|
resources:
|
|
- managedjobs/finalizers
|
|
verbs:
|
|
- update
|
|
- apiGroups:
|
|
- jobsmanager.raczylo.com
|
|
resources:
|
|
- managedjobs/status
|
|
verbs:
|
|
- get
|
|
- patch
|
|
- update
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: {{ include "chart.fullname" . }}-manager-rolebinding
|
|
labels:
|
|
app.kubernetes.io/component: rbac
|
|
app.kubernetes.io/created-by: jobs-manager-operator
|
|
app.kubernetes.io/part-of: jobs-manager-operator
|
|
{{- include "chart.labels" . | nindent 4 }}
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: '{{ include "chart.fullname" . }}-manager-role'
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: '{{ include "chart.fullname" . }}-controller-manager'
|
|
namespace: '{{ .Release.Namespace }}' |