Skip to content

Commit

Permalink
Remove version label from obsctl-reloader service monitor (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascamata authored Jan 19, 2024
1 parent 8e72df2 commit fd524f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion resources/services/observatorium-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ objects:
app.kubernetes.io/instance: observatorium
app.kubernetes.io/name: rules-obsctl-reloader
app.kubernetes.io/part-of: observatorium
app.kubernetes.io/version: ${OBSCTL_RELOADER_IMAGE_TAG}
- apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
6 changes: 6 additions & 0 deletions services/observatorium.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,15 @@ local obsctlReloader = (import 'github.com/rhobs/obsctl-reloader/jsonnet/lib/obs
metadata+: {
labels+: {
prometheus: 'app-sre',
'app.kubernetes.io/version':: 'hidden',
},
},
spec+: {
selector+: {
matchLabels+: {
'app.kubernetes.io/version':: 'hidden',
},
},
namespaceSelector: {
// NOTICE:
// When using the ${{PARAMETER_NAME}} syntax only a single parameter reference is allowed and leading/trailing characters are not permitted.
Expand Down

0 comments on commit fd524f2

Please sign in to comment.