From f7d1f6374e5132e0d3eb0ed8729346763ee89d85 Mon Sep 17 00:00:00 2001
From: Michael Koch <michael.koch@open-xchange.com>
Date: Wed, 14 Feb 2024 11:29:23 +0100
Subject: [PATCH] Remove unused service account

---
 .../core-ui-middleware/templates/serviceaccount.yaml | 12 ------------
 helm/core-ui-middleware/values.yaml                  |  9 ---------
 2 files changed, 21 deletions(-)
 delete mode 100644 helm/core-ui-middleware/templates/serviceaccount.yaml

diff --git a/helm/core-ui-middleware/templates/serviceaccount.yaml b/helm/core-ui-middleware/templates/serviceaccount.yaml
deleted file mode 100644
index b606f55..0000000
--- a/helm/core-ui-middleware/templates/serviceaccount.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-{{- if .Values.serviceAccount.create -}}
-apiVersion: v1
-kind: ServiceAccount
-metadata:
-  name: {{ include "core-ui-middleware.serviceAccountName" . }}
-  labels:
-    {{- include "core-ui-middleware.labels" . | nindent 4 }}
-  {{- with .Values.serviceAccount.annotations }}
-  annotations:
-    {{- toYaml . | nindent 4 }}
-  {{- end }}
-{{- end }}
diff --git a/helm/core-ui-middleware/values.yaml b/helm/core-ui-middleware/values.yaml
index 0943871..c1a5773 100644
--- a/helm/core-ui-middleware/values.yaml
+++ b/helm/core-ui-middleware/values.yaml
@@ -23,15 +23,6 @@ imagePullSecrets: []
 nameOverride: ""
 fullnameOverride: ""
 
-serviceAccount:
-  # Specifies whether a service account should be created
-  create: true
-  # Annotations to add to the service account
-  annotations: {}
-  # The name of the service account to use.
-  # If not set and create is true, a name is generated using the fullname template
-  name: ""
-
 podAnnotations:
   logging.open-xchange.com/format: "appsuite-json"
 
-- 
GitLab