fix(argo-rollouts): Use annotation cont metrics
Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>
This commit is contained in:
parent
f2da20bb75
commit
e35831abe1
2 changed files with 6 additions and 1 deletions
|
@ -7,8 +7,11 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: {{ .Values.controller.component }}
|
app.kubernetes.io/component: {{ .Values.controller.component }}
|
||||||
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
{{- include "argo-rollouts.labels" . | nindent 4 }}
|
||||||
{{- with .Values.serviceAnnotations }}
|
|
||||||
annotations:
|
annotations:
|
||||||
|
{{- with .Values.serviceAnnotations }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.controller.metrics.service.annotations }}
|
||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
|
|
@ -127,6 +127,8 @@ controller:
|
||||||
portName: metrics
|
portName: metrics
|
||||||
# -- Metrics service port
|
# -- Metrics service port
|
||||||
port: 8090
|
port: 8090
|
||||||
|
# -- Service annotations
|
||||||
|
annotations: {}
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
# -- Enable a prometheus ServiceMonitor
|
# -- Enable a prometheus ServiceMonitor
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
Loading…
Reference in a new issue