feat(argo-rollouts): Add configurable annotation to the metrics service (#421)

Co-authored-by: Scott Cabrinha <scott@internaught.io>
This commit is contained in:
jpbelanger-mtl 2020-08-26 12:26:54 -04:00 committed by GitHub
parent 85b1b83ad0
commit f1a6fcc8af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View file

@ -6,6 +6,10 @@ metadata:
app.kubernetes.io/component: server
app.kubernetes.io/name: {{ .Release.Name }}-metrics
app.kubernetes.io/part-of: {{ .Release.Name }}
annotations:
{{- range $key, $value := .Values.serviceAnnotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
ports:
- name: metrics