Skip to content

Commit

Permalink
chore: add secret information to release-monitor (#5154)
Browse files Browse the repository at this point in the history
this PR adds the secret reference so the release-monitor
can use it to check the release required endpoints

Signed-off-by: Leandro Mendes <[email protected]>
  • Loading branch information
theflockers authored Dec 16, 2024
1 parent 87a1f7a commit 38bbfa0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/release/base/monitor/staging/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data:
pullspec: quay.io/konflux-ci/release-service-utils
http:
- name: pyxis
url: https://pyxis.nonprod.redhat.com/v1/ping
url: https://pyxis.preprod.api.redhat.com/v1/ping
insecure: true
kind: ConfigMap
metadata:
Expand Down
3 changes: 3 additions & 0 deletions components/release/base/monitor/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ images:
newName: quay.io/konflux-ci/release-service-monitor
newTag: 73e63a3db71ab5084150b31277710aabff613b03

patches:
- path: patches/env-secrets-patch.yaml

namespace: release-service
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: release-service-monitor-deployment
namespace: release-service
spec:
template:
spec:
containers:
- name: release-service-monitor
env:
- name: GITHUB_GIT_TOKEN
valueFrom:
secretKeyRef:
name: release-monitor-secret
key: github_token

0 comments on commit 38bbfa0

Please sign in to comment.