Andy Bavier | a40e82b | 2018-05-07 17:00:36 -0700 | [diff] [blame] | 1 | --- |
| 2 | |
| 3 | # Copyright 2018-present Open Networking Foundation |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | apiVersion: v1 |
| 18 | kind: ConfigMap |
| 19 | metadata: |
| 20 | name: mcord-tosca |
| 21 | data: |
Matteo Scandolo | 4df2a0b | 2019-01-25 13:19:15 -0800 | [diff] [blame] | 22 | {{- if .Values.fabric.enabled }} |
Hyunsun Moon | 35abc2e | 2019-10-19 15:05:03 -0600 | [diff] [blame] | 23 | 010-onos-fabric-service.yaml: | |
| 24 | {{ include "mcord-services.onosFabricTosca" .Values | indent 4 }} |
Matteo Scandolo | 3f2426b | 2019-01-18 13:46:26 -0800 | [diff] [blame] | 25 | 020-fabric-service.yaml: | |
| 26 | {{ include "fabric.serviceTosca" .Values.fabric | indent 4 }} |
Hyunsun Moon | 35abc2e | 2019-10-19 15:05:03 -0600 | [diff] [blame] | 27 | 030-vrouter-service.yaml: | |
| 28 | {{ include "vrouter.serviceTosca" .Values.vrouter | indent 4 }} |
Matteo Scandolo | 4df2a0b | 2019-01-25 13:19:15 -0800 | [diff] [blame] | 29 | {{- end }} |
Woojoong Kim | 411585c | 2019-07-29 18:31:28 -0700 | [diff] [blame] | 30 | {{- if .Values.progran.enabled }} |
Hyunsun Moon | 35abc2e | 2019-10-19 15:05:03 -0600 | [diff] [blame] | 31 | 040-onos-progran-service.yaml: | |
| 32 | {{ include "mcord-services.onosProgranTosca" .Values | indent 4 }} |
| 33 | 050-progran-service.yaml: | |
Andy Bavier | a40e82b | 2018-05-07 17:00:36 -0700 | [diff] [blame] | 34 | {{ include "progran.serviceTosca" .Values.progran | indent 4 }} |
Woojoong Kim | 411585c | 2019-07-29 18:31:28 -0700 | [diff] [blame] | 35 | {{- end }} |
Andy Bavier | a40e82b | 2018-05-07 17:00:36 -0700 | [diff] [blame] | 36 | 100-mcord-subscriber-service.yaml: | |
| 37 | {{ include "mcord-subscriber.serviceTosca" (index .Values "mcord-subscriber") | indent 4 }} |
Andy Bavier | fe8b7d0 | 2018-06-12 10:04:52 -0700 | [diff] [blame] | 38 | 300-service-graph.yaml: | |
Hyunsun Moon | 35abc2e | 2019-10-19 15:05:03 -0600 | [diff] [blame] | 39 | {{ include "mcord-services.serviceGraphTosca" . | indent 4 }} |