From d533f70866e1e2a56adbdccddc10d70fa1020990 Mon Sep 17 00:00:00 2001 From: Yao Le Date: Tue, 23 Jun 2020 18:19:07 +0800 Subject: SDEWAN CNF helm chart Create SDEWAN CNF helm chart and configure it with default value Issue-ID: MULTICLOUD-1092 Signed-off-by: Yao Le Change-Id: Ib80e6b734c599a91f90d2fa4c32b098d6d279c0b Signed-off-by: Ruoyu --- .../helm/sdewan_cnf/templates/cm.yaml | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 kud/deployment_infra/helm/sdewan_cnf/templates/cm.yaml (limited to 'kud/deployment_infra/helm/sdewan_cnf/templates/cm.yaml') diff --git a/kud/deployment_infra/helm/sdewan_cnf/templates/cm.yaml b/kud/deployment_infra/helm/sdewan_cnf/templates/cm.yaml new file mode 100644 index 00000000..29660add --- /dev/null +++ b/kud/deployment_infra/helm/sdewan_cnf/templates/cm.yaml @@ -0,0 +1,80 @@ +#/* +# * Copyright 2021 Intel Corporation, Inc +# * +# * 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 +data: + entrypoint.sh: |- + #!/bin/bash + # Always exit on errors. + set -ex + echo "" > /etc/config/network + cat > /etc/config/mwan3 <> /etc/config/network <> /etc/config/mwan3 <