blob: c85c9c8c3053979396afd346d4db98034ec07083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 }}
|