aboutsummaryrefslogtreecommitdiffstats
path: root/helm/pm-https-server/templates/service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'helm/pm-https-server/templates/service.yaml')
-rw-r--r--helm/pm-https-server/templates/service.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/helm/pm-https-server/templates/service.yaml b/helm/pm-https-server/templates/service.yaml
new file mode 100644
index 0000000..7ea7db3
--- /dev/null
+++ b/helm/pm-https-server/templates/service.yaml
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: {{ include "pmhttpsserver.fullname" . }}
+ labels:
+ {{- include "pmhttpsserver.labels" . | nindent 4 }}
+spec:
+ type: {{ .Values.service.type }}
+ ports:
+ - port: {{ .Values.service.port }}
+ targetPort: http
+ protocol: TCP
+ name: http
+ selector:
+ {{- include "pmhttpsserver.selectorLabels" . | nindent 4 }}