From 584857f515ab6fe30530d25483869ed517e9575d Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Wed, 1 Jan 2020 11:08:33 -0800 Subject: add cgit chart --- grumpy/cgit/templates/service.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 grumpy/cgit/templates/service.yaml (limited to 'grumpy/cgit/templates/service.yaml') diff --git a/grumpy/cgit/templates/service.yaml b/grumpy/cgit/templates/service.yaml new file mode 100644 index 0000000..cb9361b --- /dev/null +++ b/grumpy/cgit/templates/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "cgit.fullname" . }} + labels: +{{ include "cgit.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 "cgit.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }} -- cgit v1.2.3