github.com/replicatedhq/ship@v0.55.0/integration/base/shipapp-helm-values/expected/installer/consul/templates/ui-service.yaml (about) 1 {{- if .Values.uiService.enabled }} 2 apiVersion: v1 3 kind: Service 4 metadata: 5 name: "{{ template "consul.fullname" . }}-ui" 6 {{- with .Values.uiService.annotations }} 7 annotations: 8 {{ toYaml . | indent 4 }} 9 {{- end }} 10 labels: 11 heritage: {{ .Release.Service | quote }} 12 release: {{ .Release.Name | quote }} 13 chart: {{ template "consul.chart" . }} 14 component: "{{ .Release.Name }}-{{ .Values.Component }}" 15 spec: 16 ports: 17 - name: http 18 port: {{ .Values.HttpPort }} 19 selector: 20 component: "{{ .Release.Name }}-{{ .Values.Component }}" 21 type: "{{ .Values.uiService.type }}" 22 {{- end }}