From c3c16775e05046c1b4bcb10eb437f08831b65cf3 Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Mon, 19 Feb 2024 11:42:32 +0100 Subject: [PATCH] feat: add product name to permission spec --- templates/operator-permission.yaml | 1 + values.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/operator-permission.yaml b/templates/operator-permission.yaml index 5c763d8..7320a27 100644 --- a/templates/operator-permission.yaml +++ b/templates/operator-permission.yaml @@ -7,6 +7,7 @@ metadata: app: {{ include "app.fullname" . }} {{ include "app.labels.common" $ | indent 4 }} spec: + productName: {{ .Values.operator.permission.spec.productName | default .Release.Name }} appId: {{ .Values.operator.permission.spec.appId | default (include "app.fullname" .) }} name: {{ .Values.operator.permission.spec.name | default (include "app.fullname" .) }} description: {{ .Values.operator.permission.spec.description | default (include "app.fullname" .) }} diff --git a/values.yaml b/values.yaml index ba7e907..2c1ffb6 100644 --- a/values.yaml +++ b/values.yaml @@ -198,6 +198,8 @@ operator: enabled: false spec: + # default release name (product name) + productName: # default deployment name (release_name-name) appId: # application name (release_name-name) @@ -251,7 +253,7 @@ operator: # default is app.routing.path + entrySuffix remoteEntry: # default release name (product name) - productName: + productName: # default deployment name (release_name-name or appId) appId: # default deployment name (release_name-name)