From a0e78beeb40d92ca5f2d735eab1024290ab4e8a9 Mon Sep 17 00:00:00 2001 From: khemendra kumar Date: Fri, 24 Dec 2021 19:00:08 +0530 Subject: [PATCH] Updated EG version 1.3.2 Signed-off-by: khemendra kumar Change-Id: Idbe9c2c51a5bda34b238ab972b4dd32fde918232 --- ocd/infra/playbooks/default-var.yml | 51 ++++++++++++++++++---- ocd/infra/playbooks/hosts-muno-controller | 3 ++ ocd/infra/playbooks/hosts-muno-edge | 3 ++ ocd/infra/playbooks/muno-config/controller/var.yml | 31 +++++++++---- ocd/infra/playbooks/muno-config/edge/var.yml | 31 +++++++------ ocd/infra/playbooks/password-var.yml | 26 +++++++++++ .../roles/egallery-all-aiomode/tasks/install.yml | 4 +- .../roles/egallery-all-aiomode/tasks/uninstall.yml | 4 +- .../egallery-munomode-controller/tasks/install.yml | 18 ++++---- .../tasks/uninstall.yml | 4 +- .../roles/egallery-munomode-edge/tasks/install.yml | 25 +++++------ .../egallery-munomode-edge/tasks/uninstall.yml | 2 +- .../playbooks/roles/egallery-tar/tasks/install.yml | 21 ++++++--- ocd/infra/playbooks/var.yml | 31 ++++++++++--- 14 files changed, 180 insertions(+), 74 deletions(-) create mode 100644 ocd/infra/playbooks/hosts-muno-controller create mode 100644 ocd/infra/playbooks/hosts-muno-edge create mode 100644 ocd/infra/playbooks/password-var.yml diff --git a/ocd/infra/playbooks/default-var.yml b/ocd/infra/playbooks/default-var.yml index 22d0dc7..11d58dd 100644 --- a/ocd/infra/playbooks/default-var.yml +++ b/ocd/infra/playbooks/default-var.yml @@ -14,8 +14,8 @@ # limitations under the License. # The image tag here could only be latest, and helm tag could only be 1.1.0 -EG_IMAGE_TAG: latest -HELM_TAG: 1.1.0 +EG_IMAGE_TAG: v1.3.2 +HELM_TAG: 1.3.2 # Mode for online or offline install, currently only support offline NETWORK_MODE: offline @@ -33,23 +33,58 @@ COPY_TAR_TO_TARGET: yes # true means clean and false means not clean TARBALL_PATH_CLEANUP: true +# Whether enable ingress +# true means enable and false means disable +ENABLE_INGRESS: true + +# Whether deploy appPkgTransTool +# true means deploy and false means undeploy +ENABLE_APPD: true + HELM_CHARTS_PATH: "{{ TARBALL_PATH }}/helm/helm-charts" +MEP_HELM_RELEASE_NAME: mep-edgegallery +MEPM_HELM_RELEASE_NAME: mecm-mepm-edgegallery APPSTORE_HELM_RELEASE_NAME: appstore-edgegallery DEVELOPER_HELM_RELEASE_NAME: developer-edgegallery -MECM_FE_HELM_RELEASE_NAME: mecm-fe-edgegallery +MECM_MEO_HELM_RELEASE_NAME: mecm-meo-edgegallery ATP_HELM_RELEASE_NAME: atp-edgegallery +EG_VIEW_HELM_RELEASE_NAME: eg-view-edgegallery +MEPM_PORT: 30097 APPSTORE_PORT: 30091 DEVELOPER_PORT: 30092 MECM_PORT: 30093 ATP_PORT: 30094 +EDGEGALLERY_PORT: 30095 USER_MGMT_PORT: 30067 LAB_PORT: 30096 +HEALTHCHECK_PORT: 32759 +HEALTHCHECK_M_PORT: 32757 + +# Set the Passwords for developer OpenStack Ubuntu VM +developerVMImagePassword: + +# certPassword is used for generating SSL keys +certPassword: + +# used for signature +SIGNATURE_SECRET_NAME: + +# If harbor is setup in a remote system, then mention the remote system IP as harbor IP +#HarborIP: xxx.xxx.xxx.xxx + +# If SIGNATURE_CERT_P12 and SIGNATURE_CERT_CER are set here, will use it. Otherwise will generate them automatically +#SIGNATURE_CERT_P12: xxx/xxx/xxx.p12 +#SIGNATURE_CERT_CER: xxx/xxx/xxx.cer -# Could be true or false, currently only support false -ENABLE_PERSISTENCE: false +# If the above 2 files are given, should also give the password used to generate them +#SIGNATURE_PWD: xxx -# Should set the following 2 params if ENABLE_PERSISTENCE is true -# NFS_SERVER_IP: -# NFS_PATH: +# Params used by EG NFS persistence storage +EGUSER_NAME: eguser +EGGROUP_NAME: eggroup +EGUSER_UID: 166 +EGGROUP_GID: 166 +APPSTORE_PACKAGES: /edgegallery/appstore/packages +FILE_SYSTEM_PACKAGES: /edgegallery/filesystem/images diff --git a/ocd/infra/playbooks/hosts-muno-controller b/ocd/infra/playbooks/hosts-muno-controller new file mode 100644 index 0000000..87f8220 --- /dev/null +++ b/ocd/infra/playbooks/hosts-muno-controller @@ -0,0 +1,3 @@ + +[master] +master-ip diff --git a/ocd/infra/playbooks/hosts-muno-edge b/ocd/infra/playbooks/hosts-muno-edge new file mode 100644 index 0000000..87f8220 --- /dev/null +++ b/ocd/infra/playbooks/hosts-muno-edge @@ -0,0 +1,3 @@ + +[master] +master-ip diff --git a/ocd/infra/playbooks/muno-config/controller/var.yml b/ocd/infra/playbooks/muno-config/controller/var.yml index 1f40dda..95d8e1d 100644 --- a/ocd/infra/playbooks/muno-config/controller/var.yml +++ b/ocd/infra/playbooks/muno-config/controller/var.yml @@ -13,18 +13,31 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Set the Password of Harbor admin account, no default value, -# must set by users here -HARBOR_ADMIN_PASSWORD: any_password +# Set the regex name of the network interface for calico +NETWORK_INTERFACE: ens.* # Could be true or false # true: Deploy k8s NFS Server to keep the persistence of all pods' data # false: No need to keep the persistence of all pods' data +ENABLE_PERSISTENCE: true -# ENABLE_PERSISTENCE: true -ENABLE_PERSISTENCE: false +# ip for portals, will be set to private IP of master node default or reset it to be the public IP of master node here +#PORTAL_IP: xxx.xxx.xxx.xxx -# ip for portals, will be set to private IP of master node default or -# reset it to be the public IP of master node here -# PORTAL_IP: xxx.xxx.xxx.xxx -PORTAL_IP: IP_master_node +# IP of the Controller master which is used for Edge to connect +# If you deploy Controller and Edge together in one cluster, then ther is no need to set this param +#CONTROLLER_MASTER_IP: xxx.xxx.xxx.xxx + +# NIC name of master node +# If master node is with single NIC, not need to set it here and will get the default NIC name during the run time +# If master node is with multiple NICs, should set it here to be 2 different NICs +# EG_NODE_EDGE_MP1: eth0 +# EG_NODE_EDGE_MM5: eth0 + +# Email Server Config for User Mgmt +usermgmt_mail_enabled: false +# If usermgmt_mail_enabled is true, then the following 4 params need to be set +# usermgmt_mail_host: xxxxx +# usermgmt_mail_port: xxxxx +# usermgmt_mail_sender: xxxxx +# usermgmt_mail_authcode: xxxxx diff --git a/ocd/infra/playbooks/muno-config/edge/var.yml b/ocd/infra/playbooks/muno-config/edge/var.yml index e584b7a..9195095 100644 --- a/ocd/infra/playbooks/muno-config/edge/var.yml +++ b/ocd/infra/playbooks/muno-config/edge/var.yml @@ -1,4 +1,3 @@ -# # Copyright 2021 Huawei Technologies Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,25 +12,31 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Set the Password of Harbor admin account, no default value, -# must set by users here -HARBOR_ADMIN_PASSWORD: Harbor@edge +# Set the regex name of the network interface for calico +NETWORK_INTERFACE: ens.* # Could be true or false # true: Deploy k8s NFS Server to keep the persistence of all pods' data # false: No need to keep the persistence of all pods' data -ENABLE_PERSISTENCE: false +ENABLE_PERSISTENCE: true + +# ip for portals, will be set to private IP of master node default or reset it to be the public IP of master node here +#PORTAL_IP: xxx.xxx.xxx.xxx -# ip for portals, will be set to private IP of master node default or -# reset it to be the public IP of master node here -# PORTAL_IP: xxx.xxx.xxx.xxx +# IP of the Controller master which is used for Edge to connect +# If you deploy Controller and Edge together in one cluster, then ther is no need to set this param +#CONTROLLER_MASTER_IP: xxx.xxx.xxx.xxx # NIC name of master node -# If master node is with single NIC, not need to set it here and will get -# the default NIC name during the run time -# If master node is with multiple NICs, should set it here to be -# 2 different NICs +# If master node is with single NIC, not need to set it here and will get the default NIC name during the run time +# If master node is with multiple NICs, should set it here to be 2 different NICs # EG_NODE_EDGE_MP1: eth0 # EG_NODE_EDGE_MM5: eth0 -OCD_IP: 10.0.0.33 +# Email Server Config for User Mgmt +usermgmt_mail_enabled: false +# If usermgmt_mail_enabled is true, then the following 4 params need to be set +# usermgmt_mail_host: xxxxx +# usermgmt_mail_port: xxxxx +# usermgmt_mail_sender: xxxxx +# usermgmt_mail_authcode: xxxxx diff --git a/ocd/infra/playbooks/password-var.yml b/ocd/infra/playbooks/password-var.yml new file mode 100644 index 0000000..35311db --- /dev/null +++ b/ocd/infra/playbooks/password-var.yml @@ -0,0 +1,26 @@ +# +# Copyright 2021 Huawei Technologies Co., Ltd. +# +# 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. + +# Set the Password of Harbor admin account, no default value, must set by users here +HARBOR_ADMIN_PASSWORD: xxxxx + +# postgresPassword is used for all postgres DB of all roles, no default value, must set by users here +postgresPassword: xxxxx + +# oauth2ClientPassword is used for user mgmt, no default value, must set by users here +oauth2ClientPassword: xxxxx + +# Redis Password used by user mgmt, no default value, must set by users here +userMgmtRedisPassword: xxxxx diff --git a/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/install.yml index d633069..5b78a20 100644 --- a/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/install.yml @@ -19,7 +19,7 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-aio -e "ansible_user=root" eg_all_aio_install.yml >> aio_log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/ansible-all-arm-latest/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install when: ansible_architecture == 'aarch64' - name: Install edgegallery @@ -27,5 +27,5 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-aio -e "ansible_user=root" eg_all_aio_install.yml >> aio_log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/ansible-all-x86-latest/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install when: ansible_architecture == 'x86_64' diff --git a/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/uninstall.yml b/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/uninstall.yml index 6896328..68c1e47 100644 --- a/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/egallery-all-aiomode/tasks/uninstall.yml @@ -26,12 +26,12 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-aio eg_all_aio_uninstall.yml -e "ansible_user=root" >> aio_remove.log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/ansible-all-x86-latest/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install when: ansible_architecture == 'x86_64' - name: Remove edgegallery tar shell: - cmd: rm -rf ansible-all* + cmd: rm -rf EdgeGallery* chdir: /tmp/eg_download/deploy/ - name: Remove aio log diff --git a/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/install.yml index 42696b7..84ca431 100644 --- a/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/install.yml @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. ---- -# tasks file for MUNO controller ### MUNO controller installation ### @@ -25,33 +23,33 @@ - name: Check edgegallery tar ball present stat: - path: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-controller-x86.tar.gz + path: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-controller-x86.tar.gz register: tar_var -- name: Download 1.1 edgegallery x86 controller +- name: Download 1.3.2 edgegallery x86 controller # yamllint disable rule:line-length - command: wget https://akraino.obs.ap-southeast-1.myhuaweicloud.com/v1.1.1/x86/EdgeGallery-v1.1.1-controller-x86.tar.gz + command: wget http://edgegallery-v1.3.2.obs.cn-north-4.myhuaweicloud.com/x86/EdgeGallery-v1.3.2-controller-x86.tar.gz # yamllint disable rule:line-length args: chdir: /tmp/eg_download/deploy/ when: not tar_var.stat.exists - name: Untar Edgegallery offline controller tar file - command: tar -xvf EdgeGallery-v1.1.1-controller-x86.tar.gz + command: tar -xvf EdgeGallery-v1.3.2-controller-x86.tar.gz args: chdir: /tmp/eg_download/deploy/ when: not tar_var.stat.exists - name: Set inventory file for muno controller -# yamllint disable rule:line-length - command: cp muno-config/controller/hosts-muno-controller /tmp/eg_download/deploy/EdgeGallery-v1.1.1-controller-x86/install + ## yamllint disable rule:line-length + command: cp muno-config/controller/hosts-muno-controller /tmp/eg_download/deploy/EdgeGallery-v1.3.2-controller-x86/install # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" - name: Set var.yml file for muno controller # yamllint disable rule:line-length - command: cp muno-config/controller/var.yml /tmp/eg_download/deploy/EdgeGallery-v1.1.1-controller-x86/install + command: cp muno-config/controller/var.yml /tmp/eg_download/deploy/EdgeGallery-v1.3.2-controller-x86/install # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" @@ -61,5 +59,5 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-muno-controller -e "ansible_user=root" eg_controller_aio_install.yml >> muno_controller_log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-controller-x86/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-controller-x86/install when: ansible_architecture == 'x86_64' diff --git a/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/uninstall.yml b/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/uninstall.yml index 75ca312..6c7c337 100644 --- a/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/egallery-munomode-controller/tasks/uninstall.yml @@ -19,11 +19,11 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-muno-controller eg_controller_aio_uninstall.yml -e "ansible_user=root" >> muno_controller_remove.log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-controller-x86/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-controller-x86/install when: ansible_architecture == 'x86_64' - name: Remove edgegallery tar ball shell: - cmd: rm -rf EdgeGallery-v1.1.1-* + cmd: rm -rf EdgeGallery-v1.3.2-* chdir: /tmp/eg_download/deploy/ when: ansible_architecture == 'x86_64' diff --git a/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml index a4c587b..fa35f1b 100644 --- a/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/install.yml @@ -12,39 +12,38 @@ # See the License for the specific language governing permissions and # limitations under the License. ---- ### MUNO edge installation ### - name: Check edgegallery tar ball present stat: - path: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-edge-x86.tar.gz + path: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-edge-x86.tar.gz register: edge_tar_var -- name: Download 1.1 edgegallery x86 edge -# yamllint disable rule:line-length - command: wget https://akraino.obs.ap-southeast-1.myhuaweicloud.com/v1.1.1/x86/EdgeGallery-v1.1.1-edge-x86.tar.gz -# yamllint disable rule:line-length +- name: Download 1.3.2 edgegallery x86 edge + # yamllint disable rule:line-length + command: wget http://edgegallery-v1.3.2.obs.cn-north-4.myhuaweicloud.com/x86/EdgeGallery-v1.3.2-edge-x86.tar.gz + # yamllint disable rule:line-length args: chdir: /tmp/eg_download/deploy/ when: not edge_tar_var.stat.exists - name: Untar Edgegallery offline edge tar file - command: tar -xvf EdgeGallery-v1.1.1-edge-x86.tar.gz + command: tar -xvf EdgeGallery-v1.3.2-edge-x86.tar.gz args: - chdir: /tmp/eg_download/deploy/ + chdir: /tmp/eg_download/deploy/ when: not edge_tar_var.stat.exists - name: Set inventory file for muno edge -# yamllint disable rule:line-length + # yamllint disable rule:line-length command: scp root@{{ OCD_IP }}:"{{playbook_dir}}"/muno-config/edge/hosts-muno-edge . -# yamllint disable rule:line-length + # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" - name: Set var.yml file for muno edge -# yamllint disable rule:line-length + # yamllint disable rule:line-length command: scp root@{{ OCD_IP }}:"{{playbook_dir}}"/muno-config/edge/var.yml . -# yamllint disable rule:line-length + # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" @@ -53,5 +52,5 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-muno-edge -e "ansible_user=root" eg_edge_aio_install.yml >> muno_edge_log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-edge-x86/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.0-edge-x86/install when: ansible_architecture == 'x86_64' diff --git a/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/uninstall.yml b/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/uninstall.yml index 71274da..89b62ff 100644 --- a/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/uninstall.yml +++ b/ocd/infra/playbooks/roles/egallery-munomode-edge/tasks/uninstall.yml @@ -20,7 +20,7 @@ # yamllint disable rule:line-length cmd: ansible-playbook --inventory hosts-muno-edge eg_edge_aio_uninstall.yml -e "ansible_user=root" >> muno_edge_remove.log # yamllint disable rule:line-length - chdir: /tmp/eg_download/deploy/EdgeGallery-v1.1.1-edge-x86/install + chdir: /tmp/eg_download/deploy/EdgeGallery-v1.3.2-edge-x86/install when: ansible_architecture == 'x86_64' - name: Remove edgegallery tar ball diff --git a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml index ee01a08..25ee024 100644 --- a/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml +++ b/ocd/infra/playbooks/roles/egallery-tar/tasks/install.yml @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. ---- - name: Create directory to download EG-TAR command: mkdir -p /tmp/eg_download/deploy @@ -20,37 +19,45 @@ chdir: "{{playbook_dir}}" ignore_errors: yes -- name: Download 1.1 edgegallery x86 +- name: Download 1.3.2 edgegallery x86 # yamllint disable rule:line-length - command: wget https://edgegallery.obs.cn-east-3.myhuaweicloud.com/releases/v1.1/x86/EdgeGallery-v1.1-all-x86.tar.gz + command: wget http://edgegallery-v1.3.2.obs.cn-north-4.myhuaweicloud.com/x86/EdgeGallery-v1.3.2-all-x86.tar.gz # yamllint disable rule:line-length args: chdir: /tmp/eg_download/deploy/ when: ansible_architecture == 'x86_64' - name: Untar Edgegallery offline tarbal file - command: tar -xvf EdgeGallery-v1.1-all-x86.tar.gz + command: tar -xvf EdgeGallery-v1.3.2-all-x86.tar.gz args: chdir: /tmp/eg_download/deploy/ when: ansible_architecture == 'x86_64' - name: Set inventory file for aio - command: cp hosts-aio /tmp/eg_download/deploy/ansible-all-x86-latest/install + command: cp hosts-aio /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install args: chdir: "{{playbook_dir}}" when: ansible_architecture == 'x86_64' - name: Set var.yml to eg path # yamllint disable rule:line-length - command: cp var.yml /tmp/eg_download/deploy/ansible-all-x86-latest/install + command: cp var.yml /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" when: ansible_architecture == 'x86_64' - name: Set default-var.yml to eg path + # yamllint disable rule:line-length + command: cp default-var.yml /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install # yamllint disable rule:line-length - command: cp default-var.yml /tmp/eg_download/deploy/ansible-all-x86-latest/install + args: + chdir: "{{playbook_dir}}" + when: ansible_architecture == 'x86_64' + +- name: Set password-var.yml to eg path + # yamllint disable rule:line-length + command: cp password-var.yml /tmp/eg_download/deploy/EdgeGallery-v1.3.2-all-x86/install # yamllint disable rule:line-length args: chdir: "{{playbook_dir}}" diff --git a/ocd/infra/playbooks/var.yml b/ocd/infra/playbooks/var.yml index 9cb47bd..bce616c 100644 --- a/ocd/infra/playbooks/var.yml +++ b/ocd/infra/playbooks/var.yml @@ -1,4 +1,3 @@ -# # Copyright 2021 Huawei Technologies Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,13 +12,31 @@ # See the License for the specific language governing permissions and # limitations under the License. -# Password of Harbor admin -HARBOR_ADMIN_PASSWORD: Harbor@edge +# Set the regex name of the network interface for calico +NETWORK_INTERFACE: ens.* + +# Could be true or false +# true: Deploy k8s NFS Server to keep the persistence of all pods' data +# false: No need to keep the persistence of all pods' data +ENABLE_PERSISTENCE: true -# ip for portals,will be set to private -# iP of master node default or reset it here -# PORTAL_IP: 111.222.333.444 +# ip for portals, will be set to private IP of master node default or reset it to be the public IP of master node here +# PORTAL_IP: xxx.xxx.xxx.xxx -# If not set, will get the default one during the run time +# IP of the Controller master which is used for Edge to connect +# If you deploy Controller and Edge together in one cluster, then ther is no need to set this param +# CONTROLLER_MASTER_IP: xxx.xxx.xxx.xxx + +# NIC name of master node +# If master node is with single NIC, not need to set it here and will get the default NIC name during the run time +# If master node is with multiple NICs, should set it here to be 2 different NICs # EG_NODE_EDGE_MP1: eth0 # EG_NODE_EDGE_MM5: eth0 + +# Email Server Config for User Mgmt +usermgmt_mail_enabled: false +# If usermgmt_mail_enabled is true, then the following 4 params need to be set +# usermgmt_mail_host: xxxxx +# usermgmt_mail_port: xxxxx +# usermgmt_mail_sender: xxxxx +# usermgmt_mail_authcode: xxxxx -- 2.16.6