blob: 9c2b8072e2eab87f3f635eda27018cee55e8939b [file] [log] [blame]
---
# 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:
{{- if .Values.fabric.enabled }}
010-onos-fabric-service.yaml: |
{{ include "mcord-services.onosFabricTosca" .Values | indent 4 }}
020-fabric-service.yaml: |
{{ include "fabric.serviceTosca" .Values.fabric | indent 4 }}
030-vrouter-service.yaml: |
{{ include "vrouter.serviceTosca" .Values.vrouter | indent 4 }}
{{- end }}
{{- if .Values.progran.enabled }}
040-onos-progran-service.yaml: |
{{ include "mcord-services.onosProgranTosca" .Values | indent 4 }}
050-progran-service.yaml: |
{{ include "progran.serviceTosca" .Values.progran | indent 4 }}
{{- end }}
100-mcord-subscriber-service.yaml: |
{{ include "mcord-subscriber.serviceTosca" (index .Values "mcord-subscriber") | indent 4 }}
300-service-graph.yaml: |
{{ include "mcord-services.serviceGraphTosca" . | indent 4 }}