From 4211e772272bc259de0d91f3f4c182490db5d696 Mon Sep 17 00:00:00 2001 From: Leandro Mendes Date: Tue, 17 Dec 2024 17:05:22 +0100 Subject: [PATCH] fix: moving monitor configs to named clusters Signed-off-by: Leandro Mendes --- .../base/monitor/staging/kustomization.yaml | 1 - .../staging/stone-stage-p01/configmap.yaml | 28 +++++++++++++++++++ .../stone-stage-p01/kustomization.yaml | 6 ++++ .../stone-stg-rh01}/configmap.yaml | 0 .../staging/stone-stg-rh01/kustomization.yaml | 6 ++++ 5 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 components/release/staging/stone-stage-p01/configmap.yaml create mode 100644 components/release/staging/stone-stage-p01/kustomization.yaml rename components/release/{base/monitor/staging => staging/stone-stg-rh01}/configmap.yaml (100%) create mode 100644 components/release/staging/stone-stg-rh01/kustomization.yaml diff --git a/components/release/base/monitor/staging/kustomization.yaml b/components/release/base/monitor/staging/kustomization.yaml index fb275095a35..1c497651c4a 100644 --- a/components/release/base/monitor/staging/kustomization.yaml +++ b/components/release/base/monitor/staging/kustomization.yaml @@ -1,7 +1,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - configmap.yaml - https://github.com/hacbs-release/release-service-monitor/config/default?ref=73e63a3db71ab5084150b31277710aabff613b03 images: diff --git a/components/release/staging/stone-stage-p01/configmap.yaml b/components/release/staging/stone-stage-p01/configmap.yaml new file mode 100644 index 00000000000..8579a9c59a0 --- /dev/null +++ b/components/release/staging/stone-stage-p01/configmap.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +data: + server-config.yaml: | + --- + service: + listen_port: 8080 + pool_interval: 120 + metrics_prefix: release_service + checks: + git: + - name: github + url: https://github.com/konflux-ci/release-service-catalog + revision: development + path: pipelines/fbc-release/fbc-release.yaml + quay: + - name: quayio + tags: + - latest + username: test+testbot + pullspec: quay.io/konflux-ci/release-service-utils + http: + - name: pyxis + url: https://pyxis.stage.engineering.redhat.com/v1/ping + insecure: true +kind: ConfigMap +metadata: + name: release-service-monitor-config + namespace: release-service diff --git a/components/release/staging/stone-stage-p01/kustomization.yaml b/components/release/staging/stone-stage-p01/kustomization.yaml new file mode 100644 index 00000000000..aee2e8707d0 --- /dev/null +++ b/components/release/staging/stone-stage-p01/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - configmap.yaml + +namespace: release-service diff --git a/components/release/base/monitor/staging/configmap.yaml b/components/release/staging/stone-stg-rh01/configmap.yaml similarity index 100% rename from components/release/base/monitor/staging/configmap.yaml rename to components/release/staging/stone-stg-rh01/configmap.yaml diff --git a/components/release/staging/stone-stg-rh01/kustomization.yaml b/components/release/staging/stone-stg-rh01/kustomization.yaml new file mode 100644 index 00000000000..aee2e8707d0 --- /dev/null +++ b/components/release/staging/stone-stg-rh01/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - configmap.yaml + +namespace: release-service