yuryn | 9f27c6a | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 1 | #{{ if not .Values.disableAafAafCs }} |
Dusan Rozman | 906b670 | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 2 | apiVersion: v1 |
| 3 | kind: Service |
| 4 | metadata: |
| 5 | name: aaf-cs |
| 6 | namespace: "{{ .Values.nsPrefix }}-aaf" |
| 7 | labels: |
| 8 | app: aaf-cs |
| 9 | spec: |
| 10 | ports: |
| 11 | - name: aaf-cs-port-7000 |
| 12 | port: 7000 |
| 13 | - name: aaf-cs-port-7001 |
| 14 | port: 7001 |
| 15 | - name: aaf-cs-port-9042 |
| 16 | port: 9042 |
| 17 | - name: aaf-cs-port-9160 |
| 18 | port: 9160 |
| 19 | selector: |
| 20 | app: aaf-cs |
| 21 | clusterIP: None |
yuryn | 9f27c6a | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 22 | #{{ end }} |
| 23 | #{{ if not .Values.disableAafAaf }} |
Dusan Rozman | 906b670 | 2017-09-26 16:04:12 -0400 | [diff] [blame] | 24 | --- |
| 25 | apiVersion: v1 |
| 26 | kind: Service |
| 27 | metadata: |
| 28 | name: aaf-authz-service |
| 29 | namespace: "{{ .Values.nsPrefix }}-aaf" |
| 30 | labels: |
| 31 | app: aaf-authz-service |
| 32 | spec: |
| 33 | ports: |
| 34 | - name: aaf-authz-service |
| 35 | port: 8101 |
| 36 | nodePort: {{ .Values.nodePortPrefix }}99 |
| 37 | selector: |
| 38 | app: clamp |
| 39 | type: NodePort |
yuryn | 9f27c6a | 2017-10-26 17:10:50 +0300 | [diff] [blame^] | 40 | #{{ end }} |