diff --git a/chart/templates/cluster/cluster-account.yaml b/chart/templates/cluster/cluster-account.yaml index b1883d78..cb9e911b 100644 --- a/chart/templates/cluster/cluster-account.yaml +++ b/chart/templates/cluster/cluster-account.yaml @@ -2,11 +2,11 @@ apiVersion: config.kiosk.sh/v1alpha1 kind: Account metadata: - name: admin + name: {{ .Values.admin.name }} annotations: helm.sh/hook: pre-install labels: - loft.sh/user: admin + loft.sh/user: {{ .Values.admin.name }} spec: space: clusterRole: loft-cluster-space-default diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index b83681d9..71448735 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -22,10 +22,6 @@ spec: spec: terminationGracePeriodSeconds: 10 serviceAccountName: {{ template "loft.serviceAccountName" . }} - volumes: - - name: config-volume - configMap: - name: loft-config containers: - name: manager {{- if .Values.image }} @@ -33,9 +29,6 @@ spec: {{- else }} image: "loftsh/loft:{{ .Chart.Version }}" {{- end }} - volumeMounts: - - name: config-volume - mountPath: /var/loft {{- if not .Values.apiService.enabled }} env: - name: APISERVICE_DISABLED