From b7dd30cab3b12d63faa79dbb53b43aa93a6cde7b Mon Sep 17 00:00:00 2001 From: MateSousa Date: Wed, 29 Nov 2023 21:36:01 -0300 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(k8sgpt-sa.yaml):=20add=20new?= =?UTF-8?q?=20ServiceAccount=20for=20k8sgpt-operator=20The=20new=20Service?= =?UTF-8?q?Account=20'k8sgpt'=20is=20created=20to=20provide=20identity=20f?= =?UTF-8?q?or=20processes=20that=20run=20in=20a=20Pod.=20This=20is=20cruci?= =?UTF-8?q?al=20for=20the=20k8sgpt-operator=20to=20interact=20with=20Kuber?= =?UTF-8?q?netes=20APIs.=20The=20ServiceAccount=20is=20labeled=20with=20me?= =?UTF-8?q?tadata=20to=20indicate=20its=20component,=20creator,=20and=20th?= =?UTF-8?q?e=20part=20of=20the=20application=20it=20belongs=20to,=20which?= =?UTF-8?q?=20aids=20in=20better=20resource=20management=20and=20tracking.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MateSousa --- chart/operator/templates/k8sgpt-sa.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 chart/operator/templates/k8sgpt-sa.yaml diff --git a/chart/operator/templates/k8sgpt-sa.yaml b/chart/operator/templates/k8sgpt-sa.yaml new file mode 100644 index 00000000..75298715 --- /dev/null +++ b/chart/operator/templates/k8sgpt-sa.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + name: "k8sgpt" + labels: + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: k8sgpt-operator + app.kubernetes.io/part-of: k8sgpt-operator + {{- include "chart.labels" . | nindent 4 }} +