- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 260 for Cfg (4.61 sec)
-
cmd/kubeadm/app/phases/certs/renewal/manager.go
// Only use CertificateValidityPeriod as CA renewal is not supported. if rm.cfg.CertificateValidityPeriod != nil { cfg.NotAfter = startTime.Add(rm.cfg.CertificateValidityPeriod.Duration) } // reads the CA caCert, caKey, err := certsphase.LoadCertificateAuthority(rm.cfg.CertificatesDir, handler.CABaseName) if err != nil { return false, err } // create a new certificate with the same config
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certs_test.go
} if test.externalEtcd { if cfg.Etcd.External == nil { cfg.Etcd.External = &kubeadmapi.ExternalEtcd{} } cfg.Etcd.Local = nil cfg.Etcd.External.Endpoints = []string{"192.168.1.1:2379"} } // executes create func if err := test.createFunc(cfg); err != nil { t.Errorf("error executing createFunc: %v", err) continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
return nil } cfg := TranslateObject(obj, typ, cl.domainSuffix) return &cfg } // Create implements store interface func (cl *Client) Create(cfg config.Config) (string, error) { if cfg.Spec == nil { return "", fmt.Errorf("nil spec for %v/%v", cfg.Name, cfg.Namespace) } meta, err := create(cl.client, cfg, getObjectMetadata(cfg)) if err != nil { return "", err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
cmd/tier.go
cfg.S3.AccessKey = creds.AccessKey cfg.S3.SecretKey = creds.SecretKey } case madmin.Azure: if creds.SecretKey != "" { cfg.Azure.AccountKey = creds.SecretKey } if creds.AzSP.TenantID != "" { cfg.Azure.SPAuth.TenantID = creds.AzSP.TenantID } if creds.AzSP.ClientID != "" { cfg.Azure.SPAuth.ClientID = creds.AzSP.ClientID } if creds.AzSP.ClientSecret != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/manifests.go
if cfg.Etcd.External != nil { defaultArguments = kubeadmapi.SetArgValues(defaultArguments, "etcd-servers", strings.Join(cfg.Etcd.External.Endpoints, ","), 1) // Use any user supplied etcd certificates if cfg.Etcd.External.CAFile != "" { defaultArguments = kubeadmapi.SetArgValues(defaultArguments, "etcd-cafile", cfg.Etcd.External.CAFile, 1) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 03 14:43:47 UTC 2024 - 17.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
// resetTransient sets all transient fields in *cfg to their currently // configured values. func (cfg *config) resetTransient() { current := currentConfig() cfg.Output = current.Output cfg.SourcePath = current.SourcePath cfg.TrimPath = current.TrimPath cfg.DivideBy = current.DivideBy cfg.SampleIndex = current.SampleIndex } // applyURL updates *cfg based on params. func (cfg *config) applyURL(params url.Values) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/cluster_test.go
t.Errorf("invalid cfg.LocalAPIEndpoint: %v", cfg.LocalAPIEndpoint) } if !rt.newControlPlane && (cfg.NodeRegistration.Name != nodeName || cfg.NodeRegistration.CRISocket != "myCRIsocket" || len(cfg.NodeRegistration.Taints) != 1) { t.Errorf("invalid cfg.NodeRegistration: %v", cfg.NodeRegistration) } if rt.newControlPlane && len(cfg.NodeRegistration.CRISocket) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 26.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common_test.go
for _, test := range tests { t.Run(test.name, func(t *testing.T) { cfg := &kubeadmapiv1.ClusterConfiguration{ APIServer: kubeadmapiv1.APIServer{ CertSANs: test.in, }, } LowercaseSANs(cfg.APIServer.CertSANs) if len(cfg.APIServer.CertSANs) != len(test.out) { t.Fatalf("expected %d elements, got %d", len(test.out), len(cfg.APIServer.CertSANs)) } for i, expected := range test.out {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 23.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
return cfg.ext.Run(cmd, iptVer, strings.NewReader(data), "--noflush", "-v") } func (cfg *IptablesConfigurator) addLoopbackRoute() error { return cfg.nlDeps.AddLoopbackRoutes(cfg.cfg) } func (cfg *IptablesConfigurator) delLoopbackRoute() error { return cfg.nlDeps.DelLoopbackRoutes(cfg.cfg) } func (cfg *IptablesConfigurator) addInpodMarkIPRule() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 19.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/staticpod/utils_test.go
} }) } } func TestGetControllerManagerProbeAddress(t *testing.T) { tests := []struct { desc string cfg *kubeadmapi.ClusterConfiguration expected string }{ { desc: "no controller manager extra args leads to 127.0.0.1 being used", cfg: &kubeadmapi.ClusterConfiguration{ ControllerManager: kubeadmapi.ControlPlaneComponent{ ExtraArgs: []kubeadmapi.Arg{}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 12 15:44:44 UTC 2023 - 22.6K bytes - Viewed (0)