mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-12-06 00:32:31 -08:00
charts: fix element web required error message
This commit is contained in:
1 file changed
+2
-2
@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
|
||||
|
||||
{{- define "element-io.element-web.labels" -}}
|
||||
{{- $global := .global -}}
|
||||
{{- with required "element-io.element-web.labels" .context -}}
|
||||
{{- with required "element-io.element-web.labels missing context" .context -}}
|
||||
{{ include "element-io.ess-library.labels.common" (list $global .labels) }}
|
||||
app.kubernetes.io/component: matrix-client
|
||||
app.kubernetes.io/name: element-web
|
||||
@@ -17,7 +17,7 @@ app.kubernetes.io/version: {{ .image.tag | default $global.Chart.AppVersion }}
|
||||
|
||||
{{- define "element-io.element-web.serviceAccountName" -}}
|
||||
{{- $global := .global -}}
|
||||
{{- with required "element-io.element-web.serviceAccountName" .context -}}
|
||||
{{- with required "element-io.element-web.serviceAccountName missing context" .context -}}
|
||||
{{ default (printf "%s-element-web" $global.Release.Name ) .serviceAccount.name }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in new issue
Block a user