Skip to content

Commit

Permalink
Remove deprecated giant swarm monitoring labels (#268)
Browse files Browse the repository at this point in the history
* Remove deprecated giant swarm monitoring labels

This PR removes the deprecated Giant Swarm monitoring labels

* Update deployment-masters.yaml

* Update CHANGELOG.md
  • Loading branch information
QuentinBisson authored Apr 2, 2024
1 parent 6bee8ca commit cd21628
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s

- Update `architect-orb` to 5.1.0.

### Removed

- Removed legacy Giant Swarm monitoring labels as coredns is monitored through a prometheus-operator generated servicemonitor.

## [1.21.0] - 2024-01-09

### Changed
Expand Down
3 changes: 0 additions & 3 deletions helm/coredns-app/templates/deployment-masters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ spec:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.ports.prometheus }}"
giantswarm.io/monitoring-path: /metrics
giantswarm.io/monitoring-port: "{{ .Values.ports.prometheus }}"
labels:
{{- include "labels.common" . | nindent 8 }}
giantswarm.io/monitoring: "true"
app.kubernetes.io/component: control-plane
spec:
serviceAccountName: {{ .Values.name }}
Expand Down
3 changes: 0 additions & 3 deletions helm/coredns-app/templates/deployment-workers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,8 @@ spec:
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
prometheus.io/scrape: "true"
prometheus.io/port: "{{ .Values.ports.prometheus }}"
giantswarm.io/monitoring-path: /metrics
giantswarm.io/monitoring-port: "{{ .Values.ports.prometheus }}"
labels:
{{- include "labels.common" . | nindent 8 }}
giantswarm.io/monitoring: "true"
app.kubernetes.io/component: workers
spec:
serviceAccountName: {{ .Values.name }}
Expand Down

0 comments on commit cd21628

Please sign in to comment.