Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for scope_flags (0.14 sec)

  1. cluster/gce/upgrade.sh

      SANITIZED_VERSION="${KUBE_VERSION//[\.\+]/-}"
    
      # TODO(zmerlynn): Refactor setting scope flags.
      local scope_flags=
      if [ -n "${NODE_SCOPES}" ]; then
        scope_flags="--scopes ${NODE_SCOPES}"
      else
        # shellcheck disable=SC2034 # 'scope_flags' is used by upstream
        scope_flags="--no-scopes"
      fi
    
      # Get required node env vars from exiting template.
      local node_env
      node_env=$(get-node-env)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. cluster/gce/util.sh

      }
    }
    
    function get-scope-flags() {
      local scope_flags=
      if [[ -n "${NODE_SCOPES}" ]]; then
        scope_flags="--scopes ${NODE_SCOPES}"
      else
        scope_flags="--no-scopes"
      fi
      echo "${scope_flags}"
    }
    
    function create-nodes-template() {
      echo "Creating nodes."
    
      local scope_flags
      scope_flags=$(get-scope-flags)
    
      write-linux-node-env
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top