aboutsummaryrefslogtreecommitdiff
path: root/kube/helm/simpleapp/templates/service.yaml
blob: e9b8e6e287a7f6213f257fbbd365672f34814bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
apiVersion: v1
kind: Service
metadata:
  name: { { include "simpleapp.fullname" . } }
  labels: { { - include "simpleapp.labels" . | nindent 4 } }
spec:
  type: { { .Values.service.type } }
  ports:
    - port: { { .Values.service.port } }
      targetPort: http
      protocol: TCP
      name: http
  selector: { { - include "simpleapp.selectorLabels" . | nindent 4 } }