1 ##############################################################################
2 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. #
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may #
5 # not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
8 # http://www.apache.org/licenses/LICENSE-2.0 #
10 # Unless required by applicable law or agreed to in writing, software #
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
13 # See the License for the specific language governing permissions and #
14 # limitations under the License. #
15 ##############################################################################
17 schema: armada/Chart/v1
19 schema: metadata/Document/v1
21 name: kubernetes-calico
26 name: kubernetes-calico-global
30 storagePolicy: cleartext
35 {% if ('peers' in yaml.networks.ksn and yaml.networks.ksn.peers is not none and yaml.networks.ksn.peers is iterable ) %}
45 asnumber: {{yaml.networks.ksn.local_asnumber}}
48 {% for add_cidr in yaml.networks.ksn.additional_cidrs %}
51 {% if ('peers' in yaml.networks.ksn and yaml.networks.ksn.peers is not none and yaml.networks.ksn.peers is iterable ) %}
53 {% for peer in yaml.networks.ksn.peers %}
60 asnumber: {{peer.asnumber}}