Commit 9666a2a4 authored by William Tucker's avatar William Tucker
Browse files

Added missing service for the publish API

parent ea99edba
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
{{- $search := .Values.index.search -}}
{{- if (and .Values.index.enabled $search.separatePublishApi) -}}
apiVersion: v1
kind: Service
metadata:
  name: {{ include "esgf.component.fullname" (list . "publish") }}
  labels: {{ include "esgf.component.labels" (list . "publish" $search.labels) | nindent 4 }}
spec:
  type: ClusterIP
  ports:
    - name: http
      port: 8080
      targetPort: http
      protocol: TCP
  selector: {{ include "esgf.component.selectorLabels" (list . "publish") | nindent 4 }}
{{- end -}}