vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame^] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 15 | #{{ if not .Values.disableAppcAppcDbhost }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 16 | apiVersion: v1 |
| 17 | kind: Service |
| 18 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 19 | name: appc-dbhost |
| 20 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 21 | labels: |
| 22 | app: appc-dbhost |
| 23 | spec: |
| 24 | ports: |
| 25 | - name: "appc-dbhost-port" |
| 26 | port: 3306 |
| 27 | selector: |
| 28 | app: appc-dbhost |
| 29 | clusterIP: None |
| 30 | --- |
| 31 | apiVersion: v1 |
| 32 | kind: Service |
| 33 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 34 | name: appc-sdnctldb01 |
| 35 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 36 | labels: |
| 37 | app: appc-dbhost |
| 38 | spec: |
| 39 | ports: |
| 40 | - port: 3306 |
| 41 | selector: |
| 42 | app: appc-dbhost |
| 43 | clusterIP: None |
| 44 | --- |
| 45 | apiVersion: v1 |
| 46 | kind: Service |
| 47 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 48 | name: appc-sdnctldb02 |
| 49 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 50 | labels: |
| 51 | app: appc-dbhost |
| 52 | spec: |
| 53 | ports: |
| 54 | - port: 3306 |
| 55 | selector: |
| 56 | app: appc-dbhost |
| 57 | clusterIP: None |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 58 | #{{ end }} |
| 59 | #{{ if not .Values.disableAppcAppc }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 60 | --- |
| 61 | apiVersion: v1 |
| 62 | kind: Service |
| 63 | metadata: |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 64 | name: appc-sdnhost |
| 65 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 66 | labels: |
| 67 | app: appc |
| 68 | spec: |
| 69 | ports: |
| 70 | - name: "appc-port-8282" |
| 71 | port: 8282 |
| 72 | targetPort: 8181 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 73 | nodePort: {{ .Values.nodePortPrefix }}30 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 74 | - name: "appc-port-1830" |
| 75 | port: 1830 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 76 | nodePort: {{ .Values.nodePortPrefix }}31 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 77 | type: NodePort |
| 78 | selector: |
| 79 | app: appc |
yuryn | fcef994 | 2017-10-26 17:10:50 +0300 | [diff] [blame] | 80 | #{{ end }} |
| 81 | #{{ if not .Values.disableAppcAppcDgbuilder }} |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 82 | --- |
| 83 | apiVersion: v1 |
| 84 | kind: Service |
| 85 | metadata: |
BorislavG | 042b685 | 2018-03-04 15:03:52 +0000 | [diff] [blame] | 86 | name: appc-dgbuilder |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 87 | namespace: "{{ .Values.nsPrefix }}" |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 88 | labels: |
| 89 | app: appc-dgbuilder |
| 90 | spec: |
| 91 | ports: |
| 92 | - name: "appc-dgbuilder-port" |
| 93 | port: 3000 |
| 94 | targetPort: 3100 |
kerenj | 78eff21 | 2017-08-29 09:56:36 +0000 | [diff] [blame] | 95 | nodePort: {{ .Values.nodePortPrefix }}28 |
Mandeep Khinda | d6ea987 | 2017-06-24 11:49:37 -0400 | [diff] [blame] | 96 | type: NodePort |
| 97 | selector: |
| 98 | app: appc-dgbuilder |
BorislavG | 8bfc6cf | 2018-02-27 15:04:26 +0000 | [diff] [blame] | 99 | #{{ end }} |