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

This commit is contained in:
Jean-Philippe Belanger 2020-08-11 08:54:33 -04:00
parent abadf9ad63
commit daf95d5dd2
No known key found for this signature in database
GPG key ID: 62A5E8C771479957
3 changed files with 11 additions and 3 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "0.8.3"
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 0.3.4
version: 0.3.5
icon: https://raw.githubusercontent.com/argoproj/argo/master/argo.png
home: https://github.com/argoproj/argo-helm
maintainers:

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

View file

@ -28,11 +28,15 @@ controller:
serviceAccount:
name: argo-rollouts
## Annotations to be added to the Redis server pods
## Annotations to be added to the Rollout pods
##
podAnnotations: {}
## Labels to be added to the Redis server pods
## Annotations to be added to the Rollout service
##
serviceAnnotations: {}
## Labels to be added to the Rollout pods
##
podLabels: {}