Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for DockerConfigJson (1.26 sec)

  1. tests/integration/telemetry/api/testdata/registry-secret.yaml

    apiVersion: v1
    data:
      .dockerconfigjson: {{ .DockerConfigJson }}
    kind: Secret
    metadata:
      name: reg-cred
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 18 18:03:23 UTC 2022
    - 143 bytes
    - Viewed (0)
  2. tests/integration/ambient/testdata/registry-secret.yaml

    apiVersion: v1
    data:
      .dockerconfigjson: {{ .DockerConfigJson }}
    kind: Secret
    metadata:
      name: reg-cred
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 143 bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    	dockercfgContent, err := json.Marshal(dockerCfg)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	dockerConfigJSON := map[string]map[string]map[string]string{"auths": dockerCfg}
    	dockerConfigJSONContent, err := json.Marshal(dockerConfigJSON)
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    
    	tests := map[string]struct {
    		imageName           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. pkg/credentialprovider/config.go

    	"net/http"
    	"os"
    	"path/filepath"
    	"strings"
    	"sync"
    
    	"k8s.io/klog/v2"
    )
    
    const (
    	maxReadLength = 10 * 1 << 20 // 10MB
    )
    
    // DockerConfigJSON represents ~/.docker/config.json file info
    // see https://github.com/docker/docker/pull/12009
    type DockerConfigJSON struct {
    	Auths DockerConfig `json:"auths"`
    	// +optional
    	HTTPHeaders map[string]string `json:"HttpHeaders,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. tests/integration/ambient/registry_setup_test.go

    	registry, err = registryredirector.New(ctx, registryredirector.Config{
    		Cluster: ctx.AllClusters().Default(),
    	})
    	if err != nil {
    		return
    	}
    
    	args := map[string]any{
    		"DockerConfigJson": base64.StdEncoding.EncodeToString(
    			[]byte(createDockerCredential(registryUser, registryPasswd, registry.Address()))),
    	}
    	if err := ctx.ConfigIstio().EvalFile(apps.Namespace.Name(), args, "testdata/registry-secret.yaml").
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/setup_test.go

    	promInst, err = prometheus.New(ctx, prometheus.Config{})
    	if err != nil {
    		return
    	}
    
    	args := map[string]any{
    		"DockerConfigJson": base64.StdEncoding.EncodeToString(
    			[]byte(createDockerCredential(registryUser, registryPasswd, registry.Address()))),
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pkg/credentialprovider/config_test.go

    	expect := DockerConfigJSON{
    		Auths: DockerConfig(map[string]DockerConfigEntry{
    			"http://foo.example.com": {
    				Username: "foo",
    				Password: "bar",
    				Email:    "******@****.***",
    			},
    			"http://bar.example.com": {
    				Username: "bar",
    				Password: "baz",
    				Email:    "******@****.***",
    			},
    		}),
    	}
    
    	var output DockerConfigJSON
    	err := json.Unmarshal(input, &output)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 19 15:11:57 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. pilot/pkg/xds/ecds.go

    }
    
    func referencedSecrets(proxy *model.Proxy, push *model.PushContext, resourceNames []string) []SecretResource {
    	// The requirement for the Wasm pull secret:
    	// * Wasm pull secrets must be of type `kubernetes.io/dockerconfigjson`.
    	// * Secret are referenced by a WasmPlugin which applies to this proxy.
    	// TODO: we get the WasmPlugins here to get the secrets reference in order to decide whether ECDS push is needed,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. pilot/pkg/credentials/kube/secrets.go

    	// We only care about TLS certificates and docker config for Wasm image pulling.
    	// Unfortunately, it is not as simple as selecting type=kubernetes.io/tls and type=kubernetes.io/dockerconfigjson.
    	// Because of legacy reasons and supporting an extra ca.crt, we also support generic types.
    	// Its also likely users have started to use random types and expect them to continue working.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. pkg/wasm/imagefetcher.go

    	data []byte
    }
    
    // Resolve an image reference to a credential.
    // The function code is borrowed from https://github.com/google/go-containerregistry/blob/v0.8.0/pkg/authn/keychain.go#L65,
    // by making it take dockerconfigjson directly as bytes instead of reading from files.
    func (k *wasmKeyChain) Resolve(target authn.Resource) (authn.Authenticator, error) {
    	if bytes.Equal(k.data, []byte("null")) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Dec 10 05:44:51 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top