Skip to content

Commit

Permalink
ServiceMonitor: Explicitly set namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gacko committed Aug 24, 2023
1 parent 19ed19a commit a8e72b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s
### Changed

- Values: Update docs about `controller.enableTopologyAwareRouting`. ([#520](https://github.com/giantswarm/ingress-nginx-app/pull/520))

### Changed

- OpenTelemetry: Update image to `v20230721-3e2062ee5`. ([#522](https://github.com/giantswarm/ingress-nginx-app/pull/522))
- ServiceMonitor: Explicitly set namespace. ([#523](https://github.com/giantswarm/ingress-nginx-app/pull/523))

## [3.0.0-beta1] - 2023-07-13

Expand Down
2 changes: 2 additions & 0 deletions helm/ingress-nginx/templates/controller-servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ metadata:
name: {{ include "ingress-nginx.controller.fullname" . }}
{{- if .Values.controller.metrics.serviceMonitor.namespace }}
namespace: {{ .Values.controller.metrics.serviceMonitor.namespace | quote }}
{{- else }}
namespace: {{ .Release.Namespace }}
{{- end }}
labels:
{{- include "ingress-nginx.labels" . | nindent 4 }}
Expand Down

0 comments on commit a8e72b8

Please sign in to comment.