summaryrefslogtreecommitdiff
path: root/templates/service.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-07-29 08:09:47 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-07-29 08:09:47 +0200
commitdaf172833ca8ded43acaa32d03aae918af4c28c3 (patch)
tree9dd105768a634b46541f7c3b9dff5d02d6204a8b /templates/service.yaml
Initial commitHEADmaster
Diffstat (limited to 'templates/service.yaml')
-rw-r--r--templates/service.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/service.yaml b/templates/service.yaml
new file mode 100644
index 0000000..5f125a9
--- /dev/null
+++ b/templates/service.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "nitter.fullname" . }}
+ labels:
+ {{- include "nitter.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ targetPort: 8080
+ protocol: TCP
+ name: http
+ selector:
+ {{- include "nitter.selectorLabels" . | nindent 4 }}