- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 797 for configmap3 (3.61 sec)
-
pkg/kube/watcher/configmapwatcher/configmapwatcher_test.go
cm2 := makeConfigMap("not-watched", "1") steps := []struct { added *v1.ConfigMap updated *v1.ConfigMap deleted *v1.ConfigMap expectCalled bool expectCM *v1.ConfigMap }{ {added: cm2}, {added: cm, expectCalled: true, expectCM: cm}, {updated: cm}, {updated: cm1, expectCalled: true, expectCM: cm1}, {deleted: cm1, expectCalled: true}, {deleted: cm2}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
} meshConfigMap, err := client.Kube().CoreV1().ConfigMaps(ctx.IstioNamespace()).Get(context.TODO(), injectConfigMapName, metav1.GetOptions{}) if err != nil { return "", fmt.Errorf("could not find valid configmap %q from namespace %q: %v - "+ "Use --valuesFile or re-run kube-inject with `-i <istioSystemNamespace> and ensure istio-sidecar-injector configmap exists", injectConfigMapName, ctx.IstioNamespace(), err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller_test.go
}, }, { name: "passing an empty config map doesn't break the controller", cm: func() *corev1.ConfigMap { c := defaultConfigMap(t, nil, nil, nil, nil) c.Data = map[string]string{} return c }(), }, { name: "an invalid config map produces an error", cm: func() *corev1.ConfigMap { c := defaultConfigMap(t, nil, nil, nil, nil) c.Data = map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 07 14:37:01 UTC 2022 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_controller.go
func (c *RequestHeaderAuthRequestController) sync() error { configMap, err := c.configmapLister.Get(c.configmapName) if err != nil { return err } return c.syncConfigMap(configMap) } func (c *RequestHeaderAuthRequestController) syncConfigMap(configMap *corev1.ConfigMap) error { hasChanged, newRequestHeaderBundle, err := c.hasRequestHeaderBundleChanged(configMap) if err != nil { return err } if hasChanged {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/kube/inject/watcher_test.go
controller := w.(*configMapWatcher).c client.RunAndWait(stop) kube.WaitForCacheSync("test", stop, controller.HasSynced) cms := client.Kube().CoreV1().ConfigMaps(namespace) steps := []struct { added *v1.ConfigMap updated *v1.ConfigMap deleted *v1.ConfigMap }{ {added: cm}, // Handle misconfiguration errors. {updated: badCM}, {updated: cm}, {updated: badCM2}, {updated: badCM},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go
_, err := configMapClient.ConfigMaps(required.Namespace).Update(context.TODO(), required, metav1.UpdateOptions{}) if apierrors.IsNotFound(err) { _, err := configMapClient.ConfigMaps(required.Namespace).Create(context.TODO(), required, metav1.CreateOptions{}) return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/config/mesh/kubemesh/watcher_test.go
func makeConfigMapWithName(name, resourceVersion string, data map[string]string) *v1.ConfigMap { return &v1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Namespace: namespace, Name: name, ResourceVersion: resourceVersion, }, Data: data, } } func makeConfigMap(resourceVersion string, data map[string]string) *v1.ConfigMap { return makeConfigMapWithName(name, resourceVersion, data) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.7K bytes - Viewed (0) -
pkg/controller/certificates/rootcacertpublisher/publisher_test.go
ExistingConfigMaps []*v1.ConfigMap AddedNamespace *v1.Namespace UpdatedNamespace *v1.Namespace DeletedConfigMap *v1.ConfigMap UpdatedConfigMap *v1.ConfigMap ExpectActions []action }{ "create new namespace": { AddedNamespace: newNs, ExpectActions: []action{{verb: "create", name: RootCACertConfigMapName}}, }, "delete other configmap": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/registry/core/configmap/storage/storage_test.go
Decorator: generic.UndecoratedStorage, DeleteCollectionWorkers: 1, ResourcePrefix: "configmaps", } rest, err := NewREST(restOptions) if err != nil { t.Fatalf("unexpected error from REST storage: %v", err) } return rest, server } func validNewConfigMap() *api.ConfigMap { return &api.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "default",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 12 20:55:35 UTC 2019 - 4.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/postupgrade.go
var errs []error // If the coredns ConfigMap is missing, show a warning and assume that the // DNS addon was skipped during "kubeadm init", and that its redeployment on upgrade is not desired. // // TODO: remove this once "kubeadm upgrade apply" phases are supported: // https://github.com/kubernetes/kubeadm/issues/1318 var missingCoreDNSConfigMap bool if _, err := client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 11.3K bytes - Viewed (0)