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

@ -7,12 +7,18 @@ metadata:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.ui.serviceLabels }}
{{- toYaml .Values.ui.serviceLabels | nindent 4 }}
{{- end }}
{{- if .Values.ui.serviceAnnotations }}
annotations:
{{ toYaml .Values.ui.serviceAnnotations | indent 4}}{{- end }}
spec:
ports:
- port: {{ .Values.ui.servicePort }}
{{- if .Values.ui.servicePortName }}
name: {{ .Values.ui.servicePortName }}
{{- end }}
protocol: TCP
targetPort: 8001
selector: