From 479a617193774e2fe88279caa34ae3ff56a35fba Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sun, 22 Sep 2019 09:23:20 -0700 Subject: add static files --- grumpy/static-files/templates/service.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 grumpy/static-files/templates/service.yaml (limited to 'grumpy/static-files/templates/service.yaml') diff --git a/grumpy/static-files/templates/service.yaml b/grumpy/static-files/templates/service.yaml new file mode 100644 index 0000000..f83fa84 --- /dev/null +++ b/grumpy/static-files/templates/service.yaml @@ -0,0 +1,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 }} -- cgit v1.2.3