-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63d7a53
commit 067fa75
Showing
4 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{ if .Values.operator.microfrontend.enabled }} | ||
apiVersion: onecx.tkit.org/v1 | ||
kind: Microfrontend | ||
metadata: | ||
name: {{ include "app.fullname" . }} | ||
labels: | ||
app: {{ include "app.fullname" . }} | ||
{{ include "app.labels.common" $ | indent 4 }} | ||
spec: | ||
appId: {{ .Values.operator.microfrontend.spec.appId | default (include "app.id" .) }} | ||
appName: {{ .Values.operator.microfrontend.spec.appName | default (include "app.fullname" .) }} | ||
appVersion: {{ template "app.version" $ }} | ||
classifications: {{ .Values.operator.microfrontend.spec.classifications }} | ||
contact: {{ .Values.operator.microfrontend.spec.contact }} | ||
description: {{ .Values.operator.microfrontend.spec.description }} | ||
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 }} | ||
technology: {{ .Values.operator.microfrontend.spec.technology }} | ||
{{ if (.Values.operator.microfrontend.spec.endpoints) }} | ||
endpoints: | ||
{{- range $item := .Values.operator.microfrontend.spec.endpoints }} | ||
- name: {{ $item.name }} | ||
path: {{ $item.path }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,6 +164,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 | ||
|
@@ -193,3 +197,39 @@ operator: | |
roles: | ||
# path to the realms JSON file | ||
realms: | ||
|
||
# microfrontend | ||
microfrontend: | ||
# enable or disable configuration for operator | ||
enabled: false | ||
# default remote entry path suffix | ||
entrySuffix: remoteEntry.js | ||
|
||
# definnition | ||
spec: | ||
description: change-me | ||
exposedModule: change-me | ||
iconName: | ||
note: change-me | ||
remoteName: | ||
tagName: | ||
# list of strings | ||
classifications: [] | ||
# list of name and path | ||
# - name: | ||
# path: | ||
endpoints: | ||
# technology is free text | ||
technology: ANGULAR | ||
# contact email | ||
contact: [email protected] | ||
# default is app.routing.path | ||
remoteBaseUrl: | ||
# default is app.routing.path + entrySuffix | ||
remoteEntry: | ||
# default release name (product name) | ||
productName: | ||
# default deployment name (release_name-name or appId) | ||
appId: | ||
# default deployment name (release_name-name) | ||
appName: |