summaryrefslogtreecommitdiff
path: root/apps/heimdall/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'apps/heimdall/templates/service.yaml')
-rw-r--r--apps/heimdall/templates/service.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/heimdall/templates/service.yaml b/apps/heimdall/templates/service.yaml
new file mode 100644
index 0000000..7743097
--- /dev/null
+++ b/apps/heimdall/templates/service.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "heimdall.name" . }}-service
+ namespace: {{ .Release.Namespace }}
+ labels:
+ {{- include "heimdall.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ selector:
+ {{- include "heimdall.selectorLabels" . | nindent 4 }}
+ ports:
+ - protocol: TCP
+ port: {{ .Values.service.port }}
+ targetPort: 80