blob: c9f4f5ed5f77312fde2d3cec13db3771cedd87eb [file] [log] [blame]
yurynfcef9942017-10-26 17:10:50 +03001#{{ if not .Values.disableClampClampMariadb }}
Dusan Rozmanf776f3d2017-09-18 13:07:56 -04002apiVersion: v1
3kind: Service
4metadata:
5 name: clamp-mariadb
BorislavG8bfc6cf2018-02-27 15:04:26 +00006 namespace: "{{ .Values.nsPrefix }}"
Dusan Rozmanf776f3d2017-09-18 13:07:56 -04007 labels:
8 app: clamp-mariadb
9spec:
10 ports:
11 - name: clamp-mariadb
12 port: 3306
13 selector:
14 app: clamp-mariadb
15 clusterIP: None
yurynfcef9942017-10-26 17:10:50 +030016#{{ end }}
17#{{ if not .Values.disableClampClamp }}
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: clamp
BorislavG8bfc6cf2018-02-27 15:04:26 +000023 namespace: "{{ .Values.nsPrefix }}"
YuanHu91bf5292018-03-09 17:12:17 +080024 annotations:
25 msb.onap.org/service-info: '[
26 {
27 "serviceName": "clamp",
28 "version": "v1",
29 "url": "/restservices/clds/v1",
30 "protocol": "REST",
31 "port": "8080",
32 "visualRange":"1"
33 }
34 ]'
Dusan Rozmanf776f3d2017-09-18 13:07:56 -040035spec:
36 ports:
37 - name: clamp
38 port: 8080
39 nodePort: {{ .Values.nodePortPrefix }}95
40 selector:
41 app: clamp
42 type: NodePort
yurynfcef9942017-10-26 17:10:50 +030043#{{ end }}