License addition in all yamls
[oom.git] / kubernetes / aaf / templates / all-services.yaml
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
15 #{{ if not .Values.disableAafAafCs }}
16 apiVersion: v1
17 kind: Service
18 metadata:
19   name: aaf-cs
20   namespace: "{{ .Values.nsPrefix }}"
21   labels:
22     app: aaf-cs
23 spec:
24   ports:
25   - name: aaf-cs-port-7000
26     port: 7000
27   - name: aaf-cs-port-7001
28     port: 7001
29   - name: aaf-cs-port-9042
30     port: 9042
31   - name: aaf-cs-port-9160
32     port: 9160
33   selector:
34     app: aaf-cs
35   clusterIP: None
36 #{{ end }}
37 #{{ if not .Values.disableAafAaf }}
38 ---
39 apiVersion: v1
40 kind: Service
41 metadata:
42   name: aaf-authz-service
43   namespace: "{{ .Values.nsPrefix }}"
44   labels:
45     app: aaf-authz-service
46 spec:
47   ports:
48   - name: aaf-authz-service
49     port: 8101
50     nodePort: {{ .Values.nodePortPrefix }}99
51   selector:
52     app: clamp
53   type: NodePort
54 #{{ end }}