Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for CACertHashes (0.19 sec)

  1. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    			&kubeadmapi.BootstrapTokenDiscovery{
    				Token:                    "abcdef.1234567890123456",
    				APIServerEndpoint:        "192.168.122.100:6443",
    				UnsafeSkipCAVerification: false,
    			},
    			false,
    		},
    		{
    			"valid: using token-based discovery with .BootstrapToken.CACertHashes",
    			&kubeadmapi.BootstrapTokenDiscovery{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/v1beta3/zz_generated.conversion.go

    	out.Token = in.Token
    	out.APIServerEndpoint = in.APIServerEndpoint
    	out.CACertHashes = *(*[]string)(unsafe.Pointer(&in.CACertHashes))
    	out.UnsafeSkipCAVerification = in.UnsafeSkipCAVerification
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// ASN.1. These hashes can be calculated using, for example, OpenSSL.
    	// +optional
    	CACertHashes []string `json:"caCertHashes,omitempty" datapolicy:"security-key"`
    
    	// UnsafeSkipCAVerification allows token-based discovery
    	// without CA verification via CACertHashes. This can weaken
    	// the security of kubeadm since other nodes can impersonate the control-plane.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/kubeadm/zz_generated.deepcopy.go

    func (in *BootstrapTokenDiscovery) DeepCopyInto(out *BootstrapTokenDiscovery) {
    	*out = *in
    	if in.CACertHashes != nil {
    		in, out := &in.CACertHashes, &out.CACertHashes
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenDiscovery.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/v1beta4/types.go

    	// ASN.1. These hashes can be calculated using, for example, OpenSSL.
    	// +optional
    	CACertHashes []string `json:"caCertHashes,omitempty" datapolicy:"security-key"`
    
    	// UnsafeSkipCAVerification allows token-based discovery
    	// without CA verification via CACertHashes. This can weaken
    	// the security of kubeadm since other nodes can impersonate the control-plane.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go

    func (in *BootstrapTokenDiscovery) DeepCopyInto(out *BootstrapTokenDiscovery) {
    	*out = *in
    	if in.CACertHashes != nil {
    		in, out := &in.CACertHashes, &out.CACertHashes
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenDiscovery.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/apis/kubeadm/types.go

    	// SHA-256 hash of the Subject Public Key Info (SPKI) object in DER-encoded
    	// ASN.1. These hashes can be calculated using, for example, OpenSSL.
    	CACertHashes []string
    
    	// UnsafeSkipCAVerification allows token-based discovery
    	// without CA verification via CACertHashes. This can weaken
    	// the security of kubeadm since other nodes can impersonate the control-plane.
    	UnsafeSkipCAVerification bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    	out.Token = in.Token
    	out.APIServerEndpoint = in.APIServerEndpoint
    	out.CACertHashes = *(*[]string)(unsafe.Pointer(&in.CACertHashes))
    	out.UnsafeSkipCAVerification = in.UnsafeSkipCAVerification
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/validation/validation.go

    	if len(b.APIServerEndpoint) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath, "APIServerEndpoint is not set"))
    	}
    
    	if len(b.CACertHashes) == 0 && !b.UnsafeSkipCAVerification {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("caCertHashes"), "", "using token-based discovery without caCertHashes can be unsafe. Set unsafeSkipCAVerification as true in your kubeadm config file or pass --discovery-token-unsafe-skip-ca-verification flag to continue"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/join.go

    		"For token-based discovery, the token used to validate cluster information fetched from the API server.",
    	)
    	flagSet.StringSliceVar(
    		&cfg.Discovery.BootstrapToken.CACertHashes, options.TokenDiscoveryCAHash, []string{},
    		"For token-based discovery, validate that the root CA public key matches this hash (format: \"<type>:<value>\").",
    	)
    	flagSet.BoolVar(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top