Skip to content

Commit

Permalink
feat(RELEASE-996): add release-service-monitor
Browse files Browse the repository at this point in the history
This commit adds the release-service-monitor to the release-service
namespace in development and stage branches

Signed-off-by: Leandro Mendes <[email protected]>
  • Loading branch information
theflockers committed Jul 23, 2024
1 parent 9a2ce3a commit 9971174
Show file tree
Hide file tree
Showing 8 changed files with 127 additions and 1 deletion.
28 changes: 28 additions & 0 deletions components/release/base/monitor/development/configmap.yaml
Original file line number Diff line number Diff line change
@@ -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.nonprod.redhat.com/v1/ping
insecure: true
kind: ConfigMap
metadata:
name: release-service-monitor-config
namespace: release-service
18 changes: 18 additions & 0 deletions components/release/base/monitor/development/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
- https://github.com/hacbs-release/release-service-monitor/config/default?ref=5bd039d856236f519e9a5d4866406f261610a182

images:
- name: quay.io/konflux-ci/release-service-monitor
newName: quay.io/konflux-ci/release-service-monitor
newTag: ba764a7bb2dc5b4d0eca49470dd90b3596786be0

namespace: release-service

secretGenerator:
- name: release-service-monitor-secret
namespace: release-service
literals:
- placeholder=placeholder
27 changes: 27 additions & 0 deletions components/release/base/monitor/production/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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: production
path: pipelines/fbc-release/fbc-release.yaml
quay:
- name: quayio
tags:
- latest
pullspec: quay.io/konflux-ci/release-service-utils
http:
- name: pyxis
url: https://pyxis.api.redhat.com/v1/ping
insecure: true
kind: ConfigMap
metadata:
name: release-service-monitor-config
namespace: release-service
12 changes: 12 additions & 0 deletions components/release/base/monitor/production/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
- https://github.com/hacbs-release/release-service-monitor/config/default?ref=5bd039d856236f519e9a5d4866406f261610a182

images:
- name: quay.io/konflux-ci/release-service-monitor
newName: quay.io/konflux-ci/release-service-monitor
newTag: 5bd039d856236f519e9a5d4866406f261610a182

namespace: release-service
27 changes: 27 additions & 0 deletions components/release/base/monitor/staging/configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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
pullspec: quay.io/konflux-ci/release-service-utils
http:
- name: pyxis
url: https://pyxis.nonprod.redhat.com/v1/ping
insecure: true
kind: ConfigMap
metadata:
name: release-service-monitor-config
namespace: release-service
12 changes: 12 additions & 0 deletions components/release/base/monitor/staging/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
- https://github.com/hacbs-release/release-service-monitor/config/default?ref=5bd039d856236f519e9a5d4866406f261610a182

images:
- name: quay.io/konflux-ci/release-service-monitor
newName: quay.io/konflux-ci/release-service-monitor
newTag: 5bd039d856236f519e9a5d4866406f261610a182

namespace: release-service
3 changes: 2 additions & 1 deletion components/release/development/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
- https://github.com/konflux-ci/release-service/config/default?ref=0b2badbef3eb6a31df27b324a15007949aa78354
- ../base/monitor/development
- https://github.com/konflux-ci/release-service/config/default?ref=45ee93b55e60a4250db6f5e3e96b8694761c40f8

images:
- name: quay.io/konflux-ci/release-service
Expand Down
1 change: 1 addition & 0 deletions components/release/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
- ../base/monitor/staging
- https://github.com/konflux-ci/release-service/config/default?ref=73612c0b60658392c6786b563a810fa122585fa6

components:
Expand Down

0 comments on commit 9971174

Please sign in to comment.