summaryrefslogtreecommitdiffstats
path: root/helm/wekan/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/wekan/templates/service.yaml')
-rw-r--r--helm/wekan/templates/service.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/helm/wekan/templates/service.yaml b/helm/wekan/templates/service.yaml
new file mode 100644
index 00000000..6099faec
--- /dev/null
+++ b/helm/wekan/templates/service.yaml
@@ -0,0 +1,25 @@
+apiVersion: v1
+kind: Service
+metadata:
+ {{- if .Values.service.annotations }}
+ annotations:
+{{ toYaml .Values.service.annotations | indent 4 }}
+ {{- end }}
+ name: {{ template "wekan.fullname" . }}
+ labels:
+ app: {{ template "wekan.name" . }}
+ chart: {{ template "wekan.chart" . }}
+ component: wekan
+ heritage: {{ .Release.Service }}
+ release: {{ .Release.Name }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ targetPort: http
+ protocol: TCP
+ name: http
+ selector:
+ app: {{ template "wekan.name" . }}
+ component: wekan
+ release: {{ .Release.Name }}