Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for c1 (0.12 sec)

  1. common/scripts/kind_provisioner.sh

          fi
        done
      done
    }
    
    function connect_kind_clusters() {
      C1="${1}"
      C1_KUBECONFIG="${2}"
      C2="${3}"
      C2_KUBECONFIG="${4}"
      POD_TO_POD_AND_SERVICE_CONNECTIVITY="${5}"
    
      C1_NODE="${C1}-control-plane"
      C2_NODE="${C2}-control-plane"
      C1_DOCKER_IP=$(docker inspect -f "{{ .NetworkSettings.Networks.kind.IPAddress }}" "${C1_NODE}")
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  2. common/scripts/setup_env.sh

    add_KUBECONFIG_if_exists () {
      if [[ -f "$1" ]]; then
        local local_config
        local_config="$(mktemp)"
        cp "${1}" "${local_config}"
    
        kubeconfig_random="$(od -vAn -N4 -tx /dev/random | tr -d '[:space:]' | cut -c1-8)"
        container_kubeconfig+="/config/${kubeconfig_random}:"
        CONDITIONAL_HOST_MOUNTS+="--mount type=bind,source=${local_config},destination=/config/${kubeconfig_random} "
      fi
    }
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
Back to top