generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create UI for Eventing Module (#166)
* Add files for eventing UI * Add eventing form UI * Fix UI to select eventmesh secret * Change default expanded to false * change visibility of the eventMeshSecret * Fix name Consolidate UI to one folder * Update kustomization.yaml according to folder cleanup * Improve file structure * Clean up file --------- Co-authored-by: Korbinian Stoemmer <[email protected]>
- Loading branch information
1 parent
575acd4
commit a5e840c
Showing
9 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,31 @@ | ||
header: | ||
- name: State | ||
source: status.state | ||
widget: Badge | ||
|
||
body: | ||
- name: Conditions | ||
source: status.conditions | ||
widget: Table | ||
children: | ||
- source: type | ||
name: Type | ||
- source: status | ||
name: Status | ||
widget: Badge | ||
highlights: | ||
positive: | ||
- 'True' | ||
negative: | ||
- 'False' | ||
- source: reason | ||
name: Reason | ||
- source: message | ||
name: Message | ||
- source: '$readableTimestamp(lastTransitionTime)' | ||
name: Last transition | ||
sort: true | ||
- name: Events | ||
widget: EventList | ||
filter: '$matchEvents($$, $root.kind, $root.metadata.name)' | ||
defaultType: information |
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,30 @@ | ||
- path: spec.backend.type | ||
name: Backend Type | ||
widget: FormGroup | ||
defaultExpanded: true | ||
enum: | ||
- NATS | ||
- EventMesh | ||
description: Choose a backend type from the dropdown. | ||
|
||
- path: spec.backend.config.eventMeshSecret | ||
visibility: "spec.backend.type = 'EventMesh'" | ||
widget: ResourceRef | ||
defaultExpanded: false | ||
resource: | ||
kind: Secret | ||
version: v1 | ||
toInternal: | | ||
( | ||
$values := $split($, '/'); | ||
{ 'namespace': $values[0], 'name': $values[1] } | ||
) | ||
toExternal: namespace & '/' & name | ||
|
||
- path: spec.publisher.replicas | ||
name: Publisher Replicas | ||
widget: FormGroup | ||
defaultExpanded: false | ||
children: | ||
- path: max | ||
- path: min |
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,15 @@ | ||
resource: | ||
kind: Eventing | ||
group: operator.kyma-project.io | ||
version: v1alpha1 | ||
urlPath: eventings | ||
category: Kyma | ||
name: Eventing | ||
scope: namespace | ||
features: | ||
actions: | ||
disableCreate: false | ||
disableDelete: false | ||
description: >- | ||
{{[Eventing CR](https://github.com/kyma-project/eventing-manager/blob/main/config/samples/default.yaml)}} | ||
specifies eventing module. |
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,14 @@ | ||
configMapGenerator: | ||
- name: eventings.operator.kyma-project.io | ||
namespace: kube-public | ||
files: | ||
- general | ||
- form | ||
- list | ||
- details | ||
options: | ||
disableNameSuffixHash: true | ||
labels: | ||
app.kubernetes.io/name: eventings.operator.kyma-project.io | ||
busola.io/extension: resource | ||
busola.io/extension-version: "0.5" |
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,6 @@ | ||
- name: State | ||
source: status.state | ||
widget: Badge | ||
highlights: | ||
positive: | ||
- 'Ready' |
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,3 @@ | ||
resources: | ||
- eventing | ||
- subscriptions/subscriptions.yaml |
File renamed without changes.