fix(argo-rollouts): Also use 'controller.component' parameter in ServiceMonitor (#912)
* fix(argo-rollouts): Use 'controller.component' parameter consistently Signed-off-by: Donovan Muller <donovan.muller@gmail.com> * Fix second occurrence of controller.component Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
5c03c916be
commit
32a6aa70ed
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: "v1.0.2"
|
appVersion: "v1.0.2"
|
||||||
description: A Helm chart for Argo Rollouts
|
description: A Helm chart for Argo Rollouts
|
||||||
name: argo-rollouts
|
name: argo-rollouts
|
||||||
version: 2.0.0
|
version: 2.0.1
|
||||||
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
maintainers:
|
maintainers:
|
||||||
|
@ -11,4 +11,4 @@ maintainers:
|
||||||
- name: jessesuen
|
- name: jessesuen
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Dashboard manifests"
|
- "[Fixed]: ServiceMonitor selector labels match metrics Service"
|
||||||
|
|
|
@ -4,7 +4,7 @@ kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "argo-rollouts.fullname" . }}
|
name: {{ include "argo-rollouts.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: server
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||||
{{- range $key, $value := .Values.controller.metrics.serviceMonitor.additionalLabels }}
|
{{- range $key, $value := .Values.controller.metrics.serviceMonitor.additionalLabels }}
|
||||||
{{ $key }}: {{ $value | quote }}
|
{{ $key }}: {{ $value | quote }}
|
||||||
|
@ -21,6 +21,6 @@ spec:
|
||||||
- {{ .Release.Namespace }}
|
- {{ .Release.Namespace }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/component: server
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
{{- include "argo-rollouts.selectorLabels" . | nindent 6 }}
|
{{- include "argo-rollouts.selectorLabels" . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue