Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for CACertHashes (0.21 sec)

  1. cmd/kubeadm/app/discovery/token/token_test.go

    			tokenID:     "123456",
    			tokenSecret: "abcdef1234567890",
    			cfg: &kubeadmapi.Discovery{
    				BootstrapToken: &kubeadmapi.BootstrapTokenDiscovery{
    					Token:        "123456.abcdef1234567890",
    					CACertHashes: []string{caCertHash},
    				},
    			},
    			configMap: &fakeConfigMap{
    				name: bootstrapapi.ConfigMapClusterInfo,
    				data: map[string]string{},
    			},
    			delayedJWSSignaturePatch: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/discovery/token/token.go

    	token, err := bootstraptokenv1.NewBootstrapTokenString(cfg.BootstrapToken.Token)
    	if err != nil {
    		return nil, err
    	}
    
    	// Load the CACertHashes into a pubkeypin.Set
    	pubKeyPins := pubkeypin.NewSet()
    	if err = pubKeyPins.Allow(cfg.BootstrapToken.CACertHashes...); err != nil {
    		return nil, errors.Wrap(err, "invalid discovery token CA certificate hash")
    	}
    
    	// Make sure the interval is not bigger than the duration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/apis/kubeadm/v1beta3/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: Tue Aug 24 19:47:49 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top