From 52681422d13a683aa0d495cde349c9887365c5c6 Mon Sep 17 00:00:00 2001 From: Mesosphere CI Robot Date: Thu, 19 Dec 2024 21:20:28 +0100 Subject: [PATCH] feat: introduce the NKP Pulse apps (#2957) * feat: bump NKP Pulse to v0.0.1-dev.0 * build: Updated .github/service-labeler.yaml * feat: add metadata.yaml * feat: add the nkp-pulse HelmRepository * feat: do not copy nkp-pulse-management AD during Expansion * chore: add images to licenses.d2iq.yaml --------- Co-authored-by: d2iq-mergebot Co-authored-by: Andrei Sekretenko --- .github/service-labeler.yaml | 8 +++++++ .../helm-repositories/mesosphere-repos.yaml | 10 ++++++++ licenses.d2iq.yaml | 8 +++++++ services/kommander/0.14.0/defaults/cm.yaml | 1 + services/nkp-pulse-management/metadata.yaml | 9 ++++++++ .../v0.0.1-dev.0/defaults/cm.yaml | 10 ++++++++ .../v0.0.1-dev.0/defaults/kustomization.yaml | 5 ++++ .../v0.0.1-dev.0/helmrelease.yaml | 23 +++++++++++++++++++ .../v0.0.1-dev.0/kustomization.yaml | 4 ++++ services/nkp-pulse-workspace/metadata.yaml | 9 ++++++++ .../v0.0.1-dev.0/defaults/cm.yaml | 7 ++++++ .../v0.0.1-dev.0/defaults/kustomization.yaml | 5 ++++ .../v0.0.1-dev.0/helmrelease.yaml | 23 +++++++++++++++++++ .../v0.0.1-dev.0/kustomization.yaml | 4 ++++ 14 files changed, 126 insertions(+) create mode 100644 services/nkp-pulse-management/metadata.yaml create mode 100644 services/nkp-pulse-management/v0.0.1-dev.0/defaults/cm.yaml create mode 100644 services/nkp-pulse-management/v0.0.1-dev.0/defaults/kustomization.yaml create mode 100644 services/nkp-pulse-management/v0.0.1-dev.0/helmrelease.yaml create mode 100644 services/nkp-pulse-management/v0.0.1-dev.0/kustomization.yaml create mode 100644 services/nkp-pulse-workspace/metadata.yaml create mode 100644 services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/cm.yaml create mode 100644 services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/kustomization.yaml create mode 100644 services/nkp-pulse-workspace/v0.0.1-dev.0/helmrelease.yaml create mode 100644 services/nkp-pulse-workspace/v0.0.1-dev.0/kustomization.yaml diff --git a/.github/service-labeler.yaml b/.github/service-labeler.yaml index c3ddcef0d..c0fdf99d5 100644 --- a/.github/service-labeler.yaml +++ b/.github/service-labeler.yaml @@ -134,6 +134,14 @@ services/nkp-insights-management: - changed-files: - any-glob-to-any-file: - services/nkp-insights-management/** +services/nkp-pulse-management: +- changed-files: + - any-glob-to-any-file: + - services/nkp-pulse-management/** +services/nkp-pulse-workspace: +- changed-files: + - any-glob-to-any-file: + - services/nkp-pulse-workspace/** services/nvidia-gpu-operator: - changed-files: - any-glob-to-any-file: diff --git a/common/helm-repositories/mesosphere-repos.yaml b/common/helm-repositories/mesosphere-repos.yaml index e7f62761b..e328f951e 100644 --- a/common/helm-repositories/mesosphere-repos.yaml +++ b/common/helm-repositories/mesosphere-repos.yaml @@ -50,3 +50,13 @@ spec: interval: 10m timeout: 1m url: "${helmMirrorURL:=https://mesosphere.github.io/dkp-insights-charts-attached}" +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: mesosphere.github.io-nkp-pulse-charts + namespace: kommander-flux +spec: + interval: 10m + timeout: 1m + url: "${helmMirrorURL:=https://mesosphere.github.io/nkp-pulse}" diff --git a/licenses.d2iq.yaml b/licenses.d2iq.yaml index 76a9e963d..682ca6847 100644 --- a/licenses.d2iq.yaml +++ b/licenses.d2iq.yaml @@ -232,6 +232,14 @@ resources: sources: - ref: ${image_tag} url: https://github.com/mesosphere/kubetunnel + - container_image: docker.io/mesosphere/nkp-pulse-management:v0.0.1-dev.0 + sources: + - ref: ${image_tag} + url: https://github.com/mesosphere/nkp-pulse + - container_image: docker.io/mesosphere/nkp-pulse-workspace:v0.0.1-dev.0 + sources: + - ref: ${image_tag} + url: https://github.com/mesosphere/nkp-pulse - container_image: docker.io/mesosphere/traefik-forward-auth:v3.2.0 sources: - license_path: LICENSE.thomseddon.md diff --git a/services/kommander/0.14.0/defaults/cm.yaml b/services/kommander/0.14.0/defaults/cm.yaml index 53e7f152e..5bd7c0560 100644 --- a/services/kommander/0.14.0/defaults/cm.yaml +++ b/services/kommander/0.14.0/defaults/cm.yaml @@ -102,6 +102,7 @@ data: - "dex" - "dex-k8s-authenticator" - "nkp-insights-management" + - "nkp-pulse-management" - "git-operator" - "karma" - "kommander" diff --git a/services/nkp-pulse-management/metadata.yaml b/services/nkp-pulse-management/metadata.yaml new file mode 100644 index 000000000..b2e481e6e --- /dev/null +++ b/services/nkp-pulse-management/metadata.yaml @@ -0,0 +1,9 @@ +type: internal +scope: + - workspace +licensing: + - Starter + - Pro + - Ultimate + - Essentials + - Enterprise diff --git a/services/nkp-pulse-management/v0.0.1-dev.0/defaults/cm.yaml b/services/nkp-pulse-management/v0.0.1-dev.0/defaults/cm.yaml new file mode 100644 index 000000000..b0162c339 --- /dev/null +++ b/services/nkp-pulse-management/v0.0.1-dev.0/defaults/cm.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: nkp-pulse-management-v0.0.1-dev.0-d2iq-defaults + namespace: ${releaseNamespace} +data: + values.yaml: | + workspaceApp: + kind: ClusterApp + name: nkp-pulse-workspace-v0.0.1-dev.0 diff --git a/services/nkp-pulse-management/v0.0.1-dev.0/defaults/kustomization.yaml b/services/nkp-pulse-management/v0.0.1-dev.0/defaults/kustomization.yaml new file mode 100644 index 000000000..fc857539d --- /dev/null +++ b/services/nkp-pulse-management/v0.0.1-dev.0/defaults/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- cm.yaml diff --git a/services/nkp-pulse-management/v0.0.1-dev.0/helmrelease.yaml b/services/nkp-pulse-management/v0.0.1-dev.0/helmrelease.yaml new file mode 100644 index 000000000..e5e907dfc --- /dev/null +++ b/services/nkp-pulse-management/v0.0.1-dev.0/helmrelease.yaml @@ -0,0 +1,23 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: nkp-pulse-management + namespace: ${releaseNamespace} +spec: + chart: + spec: + chart: nkp-pulse-management + sourceRef: + kind: HelmRepository + name: mesosphere.github.io-nkp-pulse-charts + namespace: kommander-flux + version: v0.0.1-dev.0 + interval: 15s + releaseName: nkp-pulse-management + targetNamespace: ${releaseNamespace} + upgrade: + remediation: + strategy: uninstall + valuesFrom: + - kind: ConfigMap + name: nkp-pulse-management-v0.0.1-dev.0-d2iq-defaults diff --git a/services/nkp-pulse-management/v0.0.1-dev.0/kustomization.yaml b/services/nkp-pulse-management/v0.0.1-dev.0/kustomization.yaml new file mode 100644 index 000000000..4fd939d44 --- /dev/null +++ b/services/nkp-pulse-management/v0.0.1-dev.0/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helmrelease.yaml diff --git a/services/nkp-pulse-workspace/metadata.yaml b/services/nkp-pulse-workspace/metadata.yaml new file mode 100644 index 000000000..b2e481e6e --- /dev/null +++ b/services/nkp-pulse-workspace/metadata.yaml @@ -0,0 +1,9 @@ +type: internal +scope: + - workspace +licensing: + - Starter + - Pro + - Ultimate + - Essentials + - Enterprise diff --git a/services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/cm.yaml b/services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/cm.yaml new file mode 100644 index 000000000..a641f2dc2 --- /dev/null +++ b/services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/cm.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: nkp-pulse-workspace-v0.0.1-dev.0-d2iq-defaults + namespace: ${releaseNamespace} +data: + values.yaml: "" diff --git a/services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/kustomization.yaml b/services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/kustomization.yaml new file mode 100644 index 000000000..fc857539d --- /dev/null +++ b/services/nkp-pulse-workspace/v0.0.1-dev.0/defaults/kustomization.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- cm.yaml diff --git a/services/nkp-pulse-workspace/v0.0.1-dev.0/helmrelease.yaml b/services/nkp-pulse-workspace/v0.0.1-dev.0/helmrelease.yaml new file mode 100644 index 000000000..f522490df --- /dev/null +++ b/services/nkp-pulse-workspace/v0.0.1-dev.0/helmrelease.yaml @@ -0,0 +1,23 @@ +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: nkp-pulse-workspace + namespace: ${releaseNamespace} +spec: + chart: + spec: + chart: nkp-pulse-workspace + sourceRef: + kind: HelmRepository + name: mesosphere.github.io-nkp-pulse-charts + namespace: kommander-flux + version: v0.0.1-dev.0 + interval: 15s + releaseName: nkp-pulse-workspace + targetNamespace: ${releaseNamespace} + upgrade: + remediation: + strategy: uninstall + valuesFrom: + - kind: ConfigMap + name: nkp-pulse-workspace-v0.0.1-dev.0-d2iq-defaults diff --git a/services/nkp-pulse-workspace/v0.0.1-dev.0/kustomization.yaml b/services/nkp-pulse-workspace/v0.0.1-dev.0/kustomization.yaml new file mode 100644 index 000000000..4fd939d44 --- /dev/null +++ b/services/nkp-pulse-workspace/v0.0.1-dev.0/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - helmrelease.yaml