From ad56a7524fa6f8b0de675e372d517e5c3b7c9ebb Mon Sep 17 00:00:00 2001 From: mrCherry97 Date: Thu, 23 Jan 2025 09:09:30 +0100 Subject: [PATCH] feat: add statics for modules illustrated message --- kyma/environments/dev/statics.json | 6 ++++- kyma/environments/prod/statics.json | 6 ++++- kyma/environments/stage/statics.json | 6 ++++- kyma/extensions/kyma/kyma.yaml | 39 ++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 kyma/extensions/kyma/kyma.yaml diff --git a/kyma/environments/dev/statics.json b/kyma/environments/dev/statics.json index fe51488c70..d4193095d3 100644 --- a/kyma/environments/dev/statics.json +++ b/kyma/environments/dev/statics.json @@ -1 +1,5 @@ -[] +[ + { + "source": "extensions/kyma" + } +] diff --git a/kyma/environments/prod/statics.json b/kyma/environments/prod/statics.json index fe51488c70..d4193095d3 100644 --- a/kyma/environments/prod/statics.json +++ b/kyma/environments/prod/statics.json @@ -1 +1,5 @@ -[] +[ + { + "source": "extensions/kyma" + } +] diff --git a/kyma/environments/stage/statics.json b/kyma/environments/stage/statics.json index fe51488c70..d4193095d3 100644 --- a/kyma/environments/stage/statics.json +++ b/kyma/environments/stage/statics.json @@ -1 +1,5 @@ -[] +[ + { + "source": "extensions/kyma" + } +] diff --git a/kyma/extensions/kyma/kyma.yaml b/kyma/extensions/kyma/kyma.yaml new file mode 100644 index 0000000000..556b698e5d --- /dev/null +++ b/kyma/extensions/kyma/kyma.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: kymas.operator.kyma-project.io + namespace: kube-public + labels: + app.kubernetes.io/name: kymas.operator.kyma-project.io + busola.io/extension: statics + busola.io/extension-version: '0.5' +data: + dataSources: | + moduleTemplates: + resource: + kind: ModuleTemplate + namespace: null + group: operator.kyma-project.io + version: v1beta2 + injections: |- + - title: Introducing Modules + name: Modules + description: Modules add functionalities to your cluster. Consume SAP BTP services, monitor your cluster, build serverless applications and more. + widget: FeaturedCard + source: $ + id: ModulesBanner + order: 0 + illustration: Modules + design: information-1 + visiblity: false + children: + - widget: ResourceButton + source: "'Add Modules'" + visiblity: 'false' + resource: + customUrl: kymamodules + - widget: ExternalLinkButton + link: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-s-modular-approach + targets: + - slot: banner + location: ClusterOverview \ No newline at end of file