Skip to content

Commit

Permalink
🐛 fix(k8sgpt-rbac.yaml): correct indentation error
Browse files Browse the repository at this point in the history
Signed-off-by: MateSousa <[email protected]>
  • Loading branch information
MateSousa committed Nov 25, 2023
1 parent 6f8189f commit 83a9cd8
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions chart/operator/templates/k8sgpt-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,38 @@ kind: ClusterRole
metadata:
name: {{ include "chart.fullname" . }}-operator-role
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- include "chart.labels" . | nindent 4 }}
rules:
- apiGroups:
- '*'
- '*'
resources:
- '*'
- '*'
verbs:
- create
- list
- get
- watch
- delete
- create
- list
- get
- watch
- delete
- apiGroups:
- apiextensions.k8s.io
- apiextensions.k8s.io
resources:
- '*'
- '*'
verbs:
- '*'
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "chart.fullname" . }}-operator-rolebinding
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- include "chart.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ include "chart.fullname" . }}-operator-role
subjects:
- kind: ServiceAccount
name: "k8sgpt
name: "k8sgpt"
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
Expand All @@ -45,4 +45,5 @@ metadata:
app.kubernetes.io/component: rbac
app.kubernetes.io/created-by: k8sgpt-operator
app.kubernetes.io/part-of: k8sgpt-operator
{{- include "chart.labels" . | nindent 4 }}
{{- include "chart.labels" . | nindent 4 }}

0 comments on commit 83a9cd8

Please sign in to comment.