Skip to content

Commit

Permalink
Add instance label to serviceaccount
Browse files Browse the repository at this point in the history
This is needed for automatic uninstallation on GCP to behave correctly.
  • Loading branch information
stabai authored Jul 31, 2024
1 parent 310279f commit 4c49ab1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/retool/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "retool.serviceAccountName" . }}
labels:
app.kubernetes.io/instance: {{ .Release.Name }}
{{- if .Values.serviceAccount.annotations }}
annotations:
{{ toYaml .Values.serviceAccount.annotations | indent 4 }}
Expand Down

0 comments on commit 4c49ab1

Please sign in to comment.