* 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
21 lines
613 B
YAML
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 }}
|