Be able to define extra configuration in argo (#100)

This commit is contained in:
Sam Wyma 2019-09-23 16:49:13 +01:00 committed by Alex Collins
parent 10ea33f7d1
commit d135aa72dd
8 changed files with 96 additions and 3 deletions

View file

@ -8,6 +8,7 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
replicas: {{ .Values.controller.replicas }}
selector:
matchLabels:
app: {{ .Release.Name }}-{{ .Values.controller.name}}
@ -17,6 +18,9 @@ spec:
labels:
app: {{ .Release.Name }}-{{ .Values.controller.name}}
release: {{ .Release.Name }}
{{- if .Values.controller.podLabels }}
{{ toYaml .Values.controller.podLabels | nindent 8}}
{{- end }}
{{- if .Values.controller.podAnnotations }}
annotations:
{{ toYaml .Values.controller.podAnnotations | indent 8}}{{- end }}