blob: 9c2b8072e2eab87f3f635eda27018cee55e8939b [file] [log] [blame]
Andy Baviera40e82b2018-05-07 17:00:36 -07001---
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
17apiVersion: v1
18kind: ConfigMap
19metadata:
20 name: mcord-tosca
21data:
Matteo Scandolo4df2a0b2019-01-25 13:19:15 -080022{{- if .Values.fabric.enabled }}
Hyunsun Moon35abc2e2019-10-19 15:05:03 -060023 010-onos-fabric-service.yaml: |
24{{ include "mcord-services.onosFabricTosca" .Values | indent 4 }}
Matteo Scandolo3f2426b2019-01-18 13:46:26 -080025 020-fabric-service.yaml: |
26{{ include "fabric.serviceTosca" .Values.fabric | indent 4 }}
Hyunsun Moon35abc2e2019-10-19 15:05:03 -060027 030-vrouter-service.yaml: |
28{{ include "vrouter.serviceTosca" .Values.vrouter | indent 4 }}
Matteo Scandolo4df2a0b2019-01-25 13:19:15 -080029{{- end }}
Woojoong Kim411585c2019-07-29 18:31:28 -070030{{- if .Values.progran.enabled }}
Hyunsun Moon35abc2e2019-10-19 15:05:03 -060031 040-onos-progran-service.yaml: |
32{{ include "mcord-services.onosProgranTosca" .Values | indent 4 }}
33 050-progran-service.yaml: |
Andy Baviera40e82b2018-05-07 17:00:36 -070034{{ include "progran.serviceTosca" .Values.progran | indent 4 }}
Woojoong Kim411585c2019-07-29 18:31:28 -070035{{- end }}
Andy Baviera40e82b2018-05-07 17:00:36 -070036 100-mcord-subscriber-service.yaml: |
37{{ include "mcord-subscriber.serviceTosca" (index .Values "mcord-subscriber") | indent 4 }}
Andy Bavierfe8b7d02018-06-12 10:04:52 -070038 300-service-graph.yaml: |
Hyunsun Moon35abc2e2019-10-19 15:05:03 -060039{{ include "mcord-services.serviceGraphTosca" . | indent 4 }}