aboutsummaryrefslogtreecommitdiff
path: root/grumpy/static-files/templates/service.yaml
blob: f83fa84b07af540ec5218171e1952467ba5673c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  name: {{ include "static-files.fullname" . }}
  labels:
{{ include "static-files.labels" . | indent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: {{ include "static-files.name" . }}
    app.kubernetes.io/instance: {{ .Release.Name }}