diff --git a/CHANGELOG.md b/CHANGELOG.md index 545458b..2a1da18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/helm/coredns-app/templates/deployment-masters.yaml b/helm/coredns-app/templates/deployment-masters.yaml index 111fab4..c32d65e 100644 --- a/helm/coredns-app/templates/deployment-masters.yaml +++ b/helm/coredns-app/templates/deployment-masters.yaml @@ -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 }} diff --git a/helm/coredns-app/templates/deployment-workers.yaml b/helm/coredns-app/templates/deployment-workers.yaml index 6af0e76..7063fde 100644 --- a/helm/coredns-app/templates/deployment-workers.yaml +++ b/helm/coredns-app/templates/deployment-workers.yaml @@ -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 }}