aboutsummaryrefslogtreecommitdiff
path: root/grumpy/cgit/templates/service.yaml
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2020-01-01 11:08:33 -0800
committerMax Resnick <max@ofmax.li>2020-01-01 11:08:33 -0800
commit584857f515ab6fe30530d25483869ed517e9575d (patch)
treea8da4270005b51100d795c58b9ae24f5fc6d0219 /grumpy/cgit/templates/service.yaml
parent479a617193774e2fe88279caa34ae3ff56a35fba (diff)
downloadgrumpy-charts-584857f515ab6fe30530d25483869ed517e9575d.tar.gz
add cgit chart
Diffstat (limited to 'grumpy/cgit/templates/service.yaml')
-rw-r--r--grumpy/cgit/templates/service.yaml16
1 files changed, 16 insertions, 0 deletions
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 }}