yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 1 | #{{ if not .Values.disableClampClampMariadb }} |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: clamp-mariadb |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 6 | namespace: "{{ .Values.nsPrefix }}" |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 7 | labels: |
| 8 | app: clamp-mariadb |
| 9 | spec: |
| 10 | ports: |
| 11 | - name: clamp-mariadb |
| 12 | port: 3306 |
| 13 | selector: |
| 14 | app: clamp-mariadb |
| 15 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 16 | #{{ end }} |
| 17 | #{{ if not .Values.disableClampClamp }} |
Dusan Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: clamp |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 23 | namespace: "{{ .Values.nsPrefix }}" |
YuanHu | 91bf529 | 2018-03-09 17:12:17 +0800 | [diff] [blame] | 24 | 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 Rozman | f776f3d | 2017-09-18 13:07:56 -0400 | [diff] [blame] | 35 | spec: |
| 36 | ports: |
| 37 | - name: clamp |
| 38 | port: 8080 |
| 39 | nodePort: {{ .Values.nodePortPrefix }}95 |
| 40 | selector: |
| 41 | app: clamp |
| 42 | type: NodePort |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 43 | #{{ end }} |