| --- |
| |
| # Copyright 2018-present Open Networking Foundation |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| apiVersion: v1 |
| kind: ConfigMap |
| metadata: |
| name: mcord-tosca |
| data: |
| 010-onos-service.yaml: | |
| {{ include "mcord.onosTosca" .Values | indent 4 }} |
| {{- if .Values.fabric.enabled }} |
| 020-fabric-service.yaml: | |
| {{ include "fabric.serviceTosca" .Values.fabric | indent 4 }} |
| {{- end }} |
| 030-fixtures.yaml: | |
| {{ include "mcord.fixtureTosca" . | indent 4 }} |
| {{- if .Values.progran.enabled }} |
| 040-progran-service.yaml: | |
| {{ include "progran.serviceTosca" .Values.progran | indent 4 }} |
| {{- end }} |
| 050-vrouter-service.yaml: | |
| {{ include "vrouter.serviceTosca" .Values.vrouter | indent 4 }} |
| 100-mcord-subscriber-service.yaml: | |
| {{ include "mcord-subscriber.serviceTosca" (index .Values "mcord-subscriber") | indent 4 }} |
| 300-service-graph.yaml: | |
| {{ include "mcord.serviceGraphTosca" . | indent 4 }} |