- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for createConfigMap (0.28 sec)
-
security/pkg/k8s/configutil_test.go
existingConfigMap: createConfigMap(namespaceName, configMapName, map[string]string{}), expectedActions: []ktesting.Action{ ktesting.NewUpdateAction(gvr, namespaceName, createConfigMap(namespaceName, configMapName, testData)), }, expectedErr: "", }, { name: "existing nop ConfigMap", existingConfigMap: createConfigMap(namespaceName, configMapName, testData),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/config.go
} } return writeConfigBytesToDisk(kubeletBytes, kubeletDir) } // CreateConfigMap creates a ConfigMap with the generic kubelet configuration. // Used at "kubeadm init" and "kubeadm upgrade" time func CreateConfigMap(cfg *kubeadmapi.ClusterConfiguration, client clientset.Interface) error { configMapName := kubeadmconstants.KubeletBaseConfigurationConfigMap
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go
} createNamespace(t, client.Kube(), "foo", nil) expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, "foo", expectedData) // Make sure random configmap does not get updated cmData := createConfigMap(t, client.Kube(), "not-root", "foo", "k") expectConfigMap(t, nc.configmaps, "not-root", "foo", cmData) newCaBundle := []byte("caBundle-new") watcher.SetAndNotify(nil, nil, newCaBundle) newData := map[string]string{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 8.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/config_test.go
internalcfg, err := configutil.DefaultedStaticInitConfiguration() if err != nil { t.Fatalf("unexpected failure when defaulting InitConfiguration: %v", err) } if err := CreateConfigMap(&internalcfg.ClusterConfiguration, client); err != nil { t.Errorf("CreateConfigMap: unexpected error %v", err) } } func TestCreateConfigMapRBACRules(t *testing.T) { client := fake.NewSimpleClientset()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/uploadconfig.go
cfg, client, err := getUploadConfigData(c) if err != nil { return err } klog.V(1).Infoln("[upload-config] Uploading the kubelet component config to a ConfigMap") if err = kubeletphase.CreateConfigMap(&cfg.ClusterConfiguration, client); err != nil { return errors.Wrap(err, "error creating kubelet configuration ConfigMap") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/postupgrade.go
if err := uploadconfig.UploadConfiguration(cfg, client); err != nil { errs = append(errs, err) } // Create the new, version-branched kubelet ComponentConfig ConfigMap if err := kubeletphase.CreateConfigMap(&cfg.ClusterConfiguration, client); err != nil { errs = append(errs, errors.Wrap(err, "error creating kubelet configuration ConfigMap")) } // Write the new kubelet config down to disk and the env file if needed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 11.3K bytes - Viewed (0)