From 83a9cd8852fe2018f5c34e094eb251224aeac794 Mon Sep 17 00:00:00 2001 From: MateSousa Date: Fri, 24 Nov 2023 22:50:25 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(k8sgpt-rbac.yaml):=20correct?= =?UTF-8?q?=20indentation=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MateSousa --- chart/operator/templates/k8sgpt-rbac.yaml | 29 ++++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/chart/operator/templates/k8sgpt-rbac.yaml b/chart/operator/templates/k8sgpt-rbac.yaml index c4eaae03..b004a5af 100644 --- a/chart/operator/templates/k8sgpt-rbac.yaml +++ b/chart/operator/templates/k8sgpt-rbac.yaml @@ -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 @@ -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 }} +