Skip to content

Commit

Permalink
feat/develop-example-content-for-openmfp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Rogoda committed Jan 30, 2025
1 parent beb2a10 commit e4eefc0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
16 changes: 15 additions & 1 deletion charts/example-content/templates/contentconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
content: |-
{
"name": "overview",
"creationTimestamp": "2022-05-17T11:37:17Z",
"creationTimestamp": "2025-01-30T08:00:00Z",
"luigiConfigFragment": {
"data": {
"nodes": [
Expand Down Expand Up @@ -51,6 +51,20 @@ spec:
"row": "1",
"column": "1 / -1"
}
},
{
"entityType": "main.overview::compound",
"url": "{{ .Values.exampleContentWc }}/main.js#showcase",
"context": {
"title": "Configuration showcase"
},
"layoutConfig": {
"row": "2",
"column": "1 / -1"
},
"webcomponent": {
"selfRegistered": true
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ matches the snapshot:
content: |-
{
"name": "overview",
"creationTimestamp": "2022-05-17T11:37:17Z",
"creationTimestamp": "2025-01-30T08:00:00Z",
"luigiConfigFragment": {
"data": {
"nodes": [
Expand Down Expand Up @@ -52,6 +52,20 @@ matches the snapshot:
"row": "1",
"column": "1 / -1"
}
},
{
"entityType": "main.overview::compound",
"url": "https://example.com/main.js#showcase",
"context": {
"title": "Configuration showcase"
},
"layoutConfig": {
"row": "2",
"column": "1 / -1"
},
"webcomponent": {
"selfRegistered": true
}
}
]
}
Expand Down
2 changes: 2 additions & 0 deletions charts/example-content/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ istio:
contentConfigurations:
# -- This content configuration enables a basic homepage in the portal
home: true

exampleContentWc: https://example.com

0 comments on commit e4eefc0

Please sign in to comment.