Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PublicKeysECDSA (0.34 sec)

  1. cmd/kubeadm/app/apis/kubeadm/types_test.go

    				FeatureGates: map[string]bool{
    					features.PublicKeysECDSA: true,
    				},
    				EncryptionAlgorithm: EncryptionAlgorithmRSA4096,
    			},
    			expectedResult: EncryptionAlgorithmECDSAP256,
    		},
    		{
    			name: "feature gate is set to false, return the default RSA-2048",
    			cfg: &ClusterConfiguration{
    				FeatureGates: map[string]bool{
    					features.PublicKeysECDSA: false,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 09:39:24 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/features/features.go

    	"strconv"
    	"strings"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/component-base/featuregate"
    	"k8s.io/klog/v2"
    )
    
    const (
    	// PublicKeysECDSA is expected to be alpha in v1.19
    	PublicKeysECDSA = "PublicKeysECDSA"
    	// RootlessControlPlane is expected to be in alpha in v1.22
    	RootlessControlPlane = "RootlessControlPlane"
    	// EtcdLearnerMode is expected to be in alpha in v1.27, beta in v1.29
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. cmd/kubeadm/test/cmd/init_test.go

    	initTest := []struct {
    		name string
    		args string
    	}{
    		{
    			name: "no feature gates passed",
    			args: "",
    		},
    		{
    			name: "feature gate PublicKeysECDSA=true",
    			args: "--feature-gates=PublicKeysECDSA=true",
    		},
    	}
    
    	for _, rt := range initTest {
    		t.Run(rt.name, func(t *testing.T) {
    			_, _, exitcode, err := runKubeadmInit(t, rt.args)
    			if exitcode == PanicExitcode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 18 01:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/features/features_test.go

    		want        bool
    	}{
    		{
    			name:        "the feature is not supported",
    			featureName: "foo",
    			want:        false,
    		},
    		{
    			name:        "the feature is supported",
    			featureName: PublicKeysECDSA,
    			want:        true,
    		},
    	}
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			if got := Supports(InitFeatureGates, test.featureName); got != test.want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 04:57:22 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/kubeadm/types.go

    	// If the feature gate is not set, use the EncryptionAlgorithm field (v1beta4).
    	// TODO: remove this function when the feature gate is removed.
    	if enabled, ok := cfg.FeatureGates[features.PublicKeysECDSA]; ok {
    		if enabled {
    			return EncryptionAlgorithmECDSAP256
    		}
    		return EncryptionAlgorithmRSA2048
    	}
    	return cfg.EncryptionAlgorithm
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.31.md

    - Kubeadm: fixed a bug where the PublicKeysECDSA feature gate was not respected when generating kubeconfig files. ([#125388](https://github.com/kubernetes/kubernetes/pull/125388), [@neolit123](https://github.com/neolit123)) [SIG Cluster Lifecycle]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.18.md

    - Kubeadm: add a upgrade health check that deploys a Job ([#81319](https://github.com/kubernetes/kubernetes/pull/81319), [@neolit123](https://github.com/neolit123)) [SIG Cluster Lifecycle]
    - Kubeadm: add the experimental feature gate PublicKeysECDSA that can be used to create a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 16 17:18:28 UTC 2021
    - 373.2K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.19.md

    - Kubeadm: add the experimental feature gate PublicKeysECDSA that can be used to create a
      cluster with ECDSA certificates from "kubeadm init". Renewal of existing ECDSA certificates is
      also supported using "kubeadm alpha certs renew", but not switching between the RSA and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
Back to top