Skip to content

Commit

Permalink
feat: add product name to permission spec
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras committed Feb 19, 2024
1 parent 7410ffc commit c3c1677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions templates/operator-permission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .) }}
Expand Down
4 changes: 3 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c3c1677

Please sign in to comment.