Skip to content

Commit

Permalink
Update Helm chart with updated CRDs and RBAC (#4)
Browse files Browse the repository at this point in the history
undefined
  • Loading branch information
Nerja authored and knmsk committed Aug 18, 2023
1 parent 750c7bb commit 0e04b5f
Show file tree
Hide file tree
Showing 5 changed files with 3,919 additions and 126 deletions.
55 changes: 46 additions & 9 deletions charts/templates/clusterRole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@ metadata:
annotations:
{{- include "k6-operator.customAnnotations" . | default "" | nindent 4 }}
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
Expand All @@ -34,17 +54,14 @@ rules:
- update
- watch
- apiGroups:
- ""
- coordination.k8s.io
resources:
- services
- leases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
Expand All @@ -69,20 +86,40 @@ rules:
- apiGroups:
- k6.io
resources:
- k6s/status
- k6s/finalizers
- k6s/status
verbs:
- get
- patch
- update
- apiGroups:
- ""
- k6.io
resources:
- secrets
- privateloadzones
verbs:
- list
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- k6.io
resources:
- privateloadzones/finalizers
verbs:
- get
- patch
- update
- apiGroups:
- k6.io
resources:
- privateloadzones/status
verbs:
- get
- patch
- update
{{- if .Values.authProxy.enabled }}
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
2 changes: 1 addition & 1 deletion charts/templates/clusterRoleBinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kind: ClusterRoleBinding
metadata:
name: {{ include "k6-operator.fullname" . }}-proxy-rolebinding
labels:
{{- include "k6-operator.customLabels" . }}
{{- include "k6-operator.customLabels" . | default "" | nindent 4 }}
annotations:
{{- include "k6-operator.customAnnotations" . | default "" | nindent 4 }}
roleRef:
Expand Down
Loading

0 comments on commit 0e04b5f

Please sign in to comment.