Skip to content

Commit

Permalink
Merge pull request #737 from uselagoon/fix-lbd-servicemonitor
Browse files Browse the repository at this point in the history
fix: lagoon-build-deploy servicemonitor for new metrics endpoint
  • Loading branch information
shreddedbacon authored Jan 9, 2025
2 parents 7912fc4 + 62fe13e commit 96ff4e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/lagoon-build-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ kubeVersion: ">= 1.25.0-0"

type: application

version: 0.31.0
version: 0.31.1

appVersion: v0.21.0

annotations:
artifacthub.io/changes: |
- kind: changed
description: update controller to v0.21.0
description: fix servicemonitor for lagoon build metrics
artifacthub.io/crds: |
- kind: LagoonBuild
version: v1beta2
Expand Down
5 changes: 5 additions & 0 deletions charts/lagoon-build-deploy/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ metadata:
spec:
endpoints:
- interval: {{ .Values.metrics.interval }}
path: /metrics
port: https
scheme: https
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
tlsConfig:
insecureSkipVerify: true
namespaceSelector:
matchNames:
- lagoon
Expand Down

0 comments on commit 96ff4e0

Please sign in to comment.