diff --git a/templates/operator-microfrontend.yaml b/templates/operator-microfrontend.yaml index f96d5ad..cc7882e 100644 --- a/templates/operator-microfrontend.yaml +++ b/templates/operator-microfrontend.yaml @@ -1,5 +1,5 @@ {{ if .Values.operator.microfrontend.enabled }} -apiVersion: onecx.github.io/v1 +apiVersion: onecx.tkit.org/v1 kind: Microfrontend metadata: name: {{ include "app-angular.fullname" . }} @@ -16,6 +16,8 @@ spec: exposedModule: {{ .Values.operator.microfrontend.spec.exposedModule }} iconName: {{ .Values.operator.microfrontend.spec.iconName }} note: {{ .Values.operator.microfrontend.spec.note }} + tagName: {{ .Values.operator.microfrontend.spec.tagName }} + remoteName: {{ .Values.operator.microfrontend.spec.remoteName }} productName: {{ .Values.operator.microfrontend.spec.productName | default .Release.Name }} remoteBaseUrl: {{ .Values.operator.microfrontend.spec.remoteBaseUrl | default .Values.routing.path }} remoteEntry: {{ .Values.operator.microfrontend.spec.remoteBaseUrl | default .Values.routing.path }}{{ .Values.operator.microfrontend.entrySuffix }} diff --git a/templates/operator-permission.yaml b/templates/operator-permission.yaml index de93adf..29c1e42 100644 --- a/templates/operator-permission.yaml +++ b/templates/operator-permission.yaml @@ -1,5 +1,5 @@ {{ if .Values.operator.permission.enabled }} -apiVersion: onecx.github.io/v1 +apiVersion: onecx.tkit.org/v1 kind: Permission metadata: name: {{ include "app-angular.fullname" . }} @@ -8,5 +8,7 @@ metadata: {{ include "app-angular.labels.common" $ | indent 4 }} spec: appId: {{ .Values.operator.permission.spec.appId | default (include "app-angular.fullname" .) }} + name: {{ .Values.operator.permission.spec.name | default (include "app.fullname" .) }} + description: appId: {{ .Values.operator.permission.spec.description | default (include "app.fullname" .) }} permissions: {{ if .Values.operator.permission.spec.permissions }}{{ .Values.operator.permission.spec.permissions | toYaml | nindent 4 }}{{- end }} {{- end }} diff --git a/values.yaml b/values.yaml index e1933b1..467f31d 100644 --- a/values.yaml +++ b/values.yaml @@ -121,6 +121,10 @@ operator: spec: # default deployment name (release_name-name) appId: + # application name (release_name-name) + name: + # application description (release_name-name) + description: # map of permissions # resource: # action: description @@ -142,8 +146,9 @@ operator: exposedModule: change-me iconName: - note: change-me + remoteName: + tagName: # list of strings classifications: []