diff options
Diffstat (limited to 'robot/assets/helm/pm-https-server/templates/service.yaml')
-rw-r--r-- | robot/assets/helm/pm-https-server/templates/service.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/robot/assets/helm/pm-https-server/templates/service.yaml b/robot/assets/helm/pm-https-server/templates/service.yaml new file mode 100644 index 00000000..c85c9c8c --- /dev/null +++ b/robot/assets/helm/pm-https-server/templates/service.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "pmhttpsserver.fullname" . }} + namespace: {{ include "pmhttpsserver.namespace" . }} + labels: + {{ include "pmhttpsserver.labels" . | nindent 4 }} +spec: + type: NodePort + ports: + - port: 80 + targetPort: http + protocol: TCP + name: http + - port: 8080 + targetPort: http2 + protocol: TCP + name: http2 + - port: 443 + targetPort: https + protocol: TCP + name: https + selector: + {{ include "pmhttpsserver.selectorLabels" . | nindent 4 }} |