policy K8S-Helm Parameterization
[oom.git] / kubernetes / policy / templates / all-services.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: mariadb
5   namespace: {{ .Values.NS }}
6   labels:
7     app: mariadb
8 spec:
9   ports:
10   - name: 3306-port
11     port: 3306
12   selector:
13     app: mariadb
14   clusterIP: None
15 ---
16 apiVersion: v1
17 kind: Service
18 metadata:
19   labels:
20     app: nexus
21   name: nexus
22   namespace: {{ .Values.NS }}
23 spec:
24   ports:
25   - name: nexus-port
26     port: 8081
27   selector:
28     app: nexus
29   clusterIP: None
30 ---
31 apiVersion: v1
32 kind: Service
33 metadata:
34   labels:
35     app: drools
36   name: drools
37   namespace: {{ .Values.NS }}
38 spec:
39   ports:
40   - name: "drools-port"
41     port: 6969
42     nodePort: 30217
43   selector:
44     app: drools
45   type: NodePort
46 ---
47 apiVersion: v1
48 kind: Service
49 metadata:
50   name: pap
51   namespace: {{ .Values.NS }}
52   labels:
53     app: pap
54 spec:
55   ports:
56   - name: 8443-port
57     port: 8443
58     nodePort: 30219
59   - name: 9091-port
60     port: 9091
61     nodePort: 30218
62   selector:
63     app: pap
64   type: NodePort
65 ---
66 apiVersion: v1
67 kind: Service
68 metadata:
69   name: pdp
70   namespace: {{ .Values.NS }}
71   labels:
72     app: pdp
73 spec:
74   ports:
75   - name: 8081-port
76     port: 8081
77     nodePort: 30220
78   selector:
79     app: pdp
80   type: NodePort
81 ---
82 apiVersion: v1
83 kind: Service
84 metadata:
85   name: pypdp
86   namespace: {{ .Values.NS }}
87   labels:
88     app: pypdp
89 spec:
90   ports:
91   - name: tcp-31032-8480-bm91k
92     port: 8480
93     nodePort: 30221
94   selector:
95     app: pypdp
96   type: NodePort
97 ---
98 apiVersion: v1
99 kind: Service
100 metadata:
101   name: brmsgw
102   namespace: {{ .Values.NS }}
103   labels:
104     app: brmsgw
105 spec:
106   ports:
107   - name: 9989-port
108     port: 9989
109     nodePort: 30216
110   selector:
111     app: brmsgw
112   type: NodePort