argocd-helm/charts/argo/templates/ui-service.yaml
Ilya Sotkov 2320338591 Add ingress for argo-ui (#18)
* Fix bug in ui-crb.yaml and add ingress for argo-ui
* Use crd.version value and add ability to specify crd creation job sa
2018-08-27 15:29:10 -07:00

21 lines
613 B
YAML

apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-{{ .Values.ui.name }}
labels:
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
namspace: {{ .Release.Namespace }}
{{- if .Values.ui.serviceAnnotations }}
annotations:
{{ toYaml .Values.ui.serviceAnnotations | indent 4}}{{- end }}
spec:
ports:
- port: {{ .Values.ui.servicePort }}
protocol: TCP
targetPort: 8001
selector:
app: {{ .Release.Name }}-{{ .Values.ui.name }}
sessionAffinity: None
type: {{ .Values.ui.serviceType }}