Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for mkstemp (0.23 sec)

  1. prow/release-commit.sh

    TAG=$(git rev-parse HEAD)
    VERSION="${NEXT_VERSION}-alpha.${TAG}"
    
    # In CI we want to store the outputs to artifacts, which will preserve the build
    # If not specified, we can just create a temporary directory
    WORK_DIR="$(mktemp -d)/build"
    mkdir -p "${WORK_DIR}"
    
    MANIFEST=$(cat <<EOF
    version: ${VERSION}
    docker: ${DOCKER_HUB}
    directory: ${WORK_DIR}
    ignoreVulnerability: true
    dependencies:
    ${DEPENDENCIES:-$(cat <<EOD
      istio:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    		// non-empty session tokens.
    		if !(cred.IsServiceAccount() || cred.IsTemp()) ||
    			cred.SessionToken == "" {
    			continue
    		}
    
    		var (
    			err    error
    			claims map[string]interface{} = cred.Claims
    		)
    
    		if cred.IsServiceAccount() {
    			claims, err = getClaimsFromTokenWithSecret(cred.SessionToken, cred.SecretKey)
    		} else if cred.IsTemp() {
    			var secretKey string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  3. manifests/addons/gen.sh

    # This script sets up the plain text rendered deployments for addons
    # See samples/addons/README.md for more information
    
    ADDONS="${WD}/../../samples/addons"
    DASHBOARDS="${WD}/dashboards"
    mkdir -p "${ADDONS}"
    TMP=$(mktemp -d)
    LOKI_VERSION=${LOKI_VERSION:-"6.6.3"}
    GRAFANA_VERSION=${GRAFANA_VERSION:-"8.0.1"}
    
    # Set up kiali
    {
    helm3 template kiali-server \
      --namespace istio-system \
      --version 1.85.0 \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. common/Makefile.common.mk

    dump-licenses-csv: mod-download-go
    	@license-lint --config common/config/license-lint.yml --csv
    
    mirror-licenses: mod-download-go
    	@rm -fr licenses
    	@license-lint --mirror
    
    TMP := $(shell mktemp -d -u)
    UPDATE_BRANCH ?= "master"
    
    BUILD_TOOLS_ORG ?= "istio"
    
    update-common:
    	@mkdir -p $(TMP)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

    # of the original file, so that the container can write to it.
    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}:"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. cmd/iam.go

    	}
    
    	if isGroup {
    		_, err = sys.GetGroupDescription(userOrGroup)
    		if err != nil {
    			return
    		}
    	} else {
    		var isTemp bool
    		isTemp, _, err = sys.IsTempUser(userOrGroup)
    		if err != nil && err != errNoSuchUser {
    			return
    		}
    		if isTemp {
    			err = errIAMActionNotAllowed
    			return
    		}
    
    		// When the user is root credential you are not allowed to
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  7. cmd/iam-etcd-store.go

    		return nil
    	}
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			if u.Credentials.IsTemp() {
    				// We should delete such that the client can re-request
    				// for the expiring credentials.
    				deleteKeyEtcd(ctx, ies.client, getUserIdentityPath(user, userType))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. cluster/gce/util.sh

    # Set up easy-rsa directory structure.
    #
    # Assumed vars
    #   KUBE_TEMP
    #
    # Vars set:
    #   CERT_DIR
    #   AGGREGATOR_CERT_DIR
    function setup-easyrsa {
      local -r cert_create_debug_output=$(mktemp "${KUBE_TEMP}/cert_create_debug_output.XXX")
      # Note: This was heavily cribbed from make-ca-cert.sh
      (set -x
        cd "${KUBE_TEMP}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    	}
    
    	if u.Credentials.AccessKey == "" {
    		u.Credentials.AccessKey = user
    	}
    
    	if u.Credentials.SessionToken != "" {
    		jwtClaims, err := extractJWTClaims(u)
    		if err != nil {
    			if u.Credentials.IsTemp() {
    				// We should delete such that the client can re-request
    				// for the expiring credentials.
    				iamOS.deleteIAMConfig(ctx, getUserIdentityPath(user, userType))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	// Temporary credentials or Service accounts cannot generate further temporary credentials.
    	if user.IsTemp() || user.IsServiceAccount() {
    		return auth.Credentials{}, ErrAccessDenied
    	}
    
    	// Session tokens are not allowed in STS AssumeRole requests.
    	if getSessionToken(r) != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
Back to top