#!/bin/bash

log_info "Load envrionment variables config"

log_info "### 输出显示部署k8s参数变量 ####################"
log_info "[install_type] TYPE=${TYPE}"
log_info "[system_type] SYSTEM=${SYSTEM}"
log_info "[system_version] SVERSION=${SVERSION}"
log_info "[time_server] TIMESERVER=${TIMESERVER}"
log_info "[all-in-one_hostname] K8S_HOSTNAME=${K8S_HOSTNAME}"
log_info "[all-in-one_ip] ONE_IP=${ONE_IP}"
log_info "[all-in-one_account] ONE_AUTH=${ONE_AUTH}"
log_info "[all-in-one_account] ONE_PASSWORD=${ONE_PASSWORD}"
log_info "[group_hostname] K8S_LB=${K8S_LB}"
log_info "[group_hostname] K8S_MASTER01=${K8S_MASTER01}"
log_info "[group_hostname] K8S_MASTER02=${K8S_MASTER02}"
log_info "[group_hostname] K8S_MASTER03=${K8S_MASTER03}"
log_info "[group_hostname] K8S_NODE01=${K8S_NODE01}"
log_info "[group_hostname] K8S_NODE02=${K8S_NODE02}"
log_info "[group_ip] K8S_MASTER_LB_IP=${K8S_MASTER_LB_IP}"
log_info "[group_ip] K8S_MASTER_IP01=${K8S_MASTER_IP01}"
log_info "[group_ip] K8S_MASTER_IP02=${K8S_MASTER_IP02}"
log_info "[group_ip] K8S_MASTER_IP03=${K8S_MASTER_IP03}"
log_info "[group_ip] K8S_NODE_IP01=${K8S_NODE_IP01}"
log_info "[group_ip] K8S_NODE_IP02=${K8S_NODE_IP02}"
log_info "[group_ip] KVERSION=${KVERSION}"
log_info "[action_type] ACTION_TYPE=${ACTION_TYPE}"
log_info "[docker] DOCKER0_NETWORK=${DOCKER0_NETWORK}"
log_info "[docker] DOCKER_GWBRIDGE_NETWORK=${DOCKER_GWBRIDGE_NETWORK}"
log_info "[docker] DOCKER_DATA_ROOT=${DOCKER_DATA_ROOT}"
log_info "[harbor_ip] REGISTRY=${REGISTRY}

log_info "### 输出显示deploy发布参数变量 ##################"
log_info "[common] RUNENV=${RUNENV}"
log_info "[common] PRODUCTION=${PRODUCTION}"
log_info "[common] DEPLOY_MODE=${DEPLOY_MODE}"
log_info "[common] REGION=${REGION}"
log_info "[common] SSL=${SSL}"
log_info "[common] DOMAIN_NAME=${DOMAIN_NAME}"
log_info "[common] SERVICE_PORT=${NODE_PORT}"
log_info "[common] STORAGE_MODE=${STORAGE_MODE}"

log_info "[common] S3SECRET=${S3SECRET}"
log_info "[common] S3URL=${S3URL}"
log_info "[common] S3ACCESS=${S3ACCESS}"
log_info "[common] S3BUCKET=${S3BUCKET}"

