github.com/rohankumardubey/draft-classic@v0.16.0/packs/clojure/charts/templates/service.yaml (about)

     1  apiVersion: v1
     2  kind: Service
     3  metadata:
     4    name: {{ template "fullname" . }}
     5    labels:
     6      chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
     7  spec:
     8    type: {{ .Values.service.type }}
     9    ports:
    10    - port: {{ .Values.service.externalPort }}
    11      targetPort: {{ .Values.service.internalPort }}
    12      protocol: TCP
    13      name: {{ .Values.service.name }}
    14    selector:
    15      app: {{ template "fullname" . }}