Skip to content
Snippets Groups Projects
Commit 1c9844e3 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4939

parent 74880688
Branches
Tags
No related merge requests found
......@@ -3,6 +3,10 @@
{{- printf "%s-%s.%s" (.Values.ozgcloud).bezeichner (.Values.ozgcloud).adminDomainSuffix .Values.baseUrl }}
{{- end -}}
{{/* Namespace */}}
{{- define "app.namespace" -}}
{{- default .Release.Namespace | toString | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/* Default Labels: Helm recommended best-practice labels https://helm.sh/docs/chart_best_practices/labels/ */}}
{{- define "app.defaultLabels" }}
......
......@@ -5,7 +5,7 @@ apiVersion: operator.ozgcloud.de/v1
kind: OzgCloudKeycloakClient
metadata:
name: administration-keycloak-client
namespace: {{ .Release.Namespace }}
namespace: {{ include "app.namespace" $ }}
spec:
keep_after_delete: {{ (.Values.sso).keep_after_delete | default false }}
client_name: {{ $client.client_name }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment