fix(argo-rollouts): Use annotation cont metrics

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>
This commit is contained in:
Artur Mudrykh 2023-07-24 14:57:58 +03:00
parent f2da20bb75
commit e35831abe1
2 changed files with 6 additions and 1 deletions

View file

@ -7,8 +7,11 @@ metadata:
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- include "argo-rollouts.labels" . | nindent 4 }}
{{- with .Values.serviceAnnotations }}
annotations:
{{- with .Values.serviceAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.controller.metrics.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:

View file

@ -127,6 +127,8 @@ controller:
portName: metrics
# -- Metrics service port
port: 8090
# -- Service annotations
annotations: {}
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false