From f7731a71f6fbe2d138d90c3159bc384c1f707e3c Mon Sep 17 00:00:00 2001 From: perf3ct Date: Wed, 4 Oct 2023 10:20:22 -0700 Subject: [PATCH] remove serviceaccount, user can define if needed --- templates/serviceaccount.yaml | 9 --------- values.yaml | 18 ------------------ 2 files changed, 27 deletions(-) delete mode 100644 templates/serviceaccount.yaml diff --git a/templates/serviceaccount.yaml b/templates/serviceaccount.yaml deleted file mode 100644 index b648dc7..0000000 --- a/templates/serviceaccount.yaml +++ /dev/null @@ -1,9 +0,0 @@ -{{- define "vikunja.serviceAccount.hardcodedValues" -}} -{{ end }} - -{{ if .Values.serviceAccount.create }} -{{- $ctx := deepCopy . -}} -{{- $_ := get .Values "serviceAccount" | mergeOverwrite $ctx.Values -}} -{{- $_ = include "vikunja.serviceAccount.hardcodedValues" . | fromYaml | merge $ctx.Values -}} -{{- include "bjw-s.common.loader.all" $ctx }} -{{ end }} \ No newline at end of file diff --git a/values.yaml b/values.yaml index db5eb97..8a0d503 100644 --- a/values.yaml +++ b/values.yaml @@ -112,21 +112,3 @@ typesense: repository: docker.io/typesense/typesense tag: 0.25.1 pullPolicy: IfNotPresent - -# https://github.com/bjw-s/helm-charts/blob/a081de53024d8328d1ae9ff7e4f6bc500b0f3a29/charts/library/common/values.yaml#L85-L94 -serviceAccount: - # -- Specifies whether a service account should be created - create: false - - # -- Annotations to add to the service account - annotations: {} - - # -- Labels to add to the service account - labels: {} - - # -- The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - - -