- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 325 for configmap (0.68 sec)
-
pkg/controller/certificates/rootcacertpublisher/publisher_test.go
DeletedConfigMap: otherConfigMap, }, "delete ca configmap": { ExistingConfigMaps: []*v1.ConfigMap{otherConfigMap, caConfigMap}, DeletedConfigMap: caConfigMap, ExpectActions: []action{{verb: "create", name: RootCACertConfigMapName}}, }, "update ca configmap with adding field": { ExistingConfigMaps: []*v1.ConfigMap{caConfigMap}, UpdatedConfigMap: addFieldCM,
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/kube/watcher/configmapwatcher/configmapwatcher.go
) // Controller watches a ConfigMap and calls the given callback when the ConfigMap changes. // The ConfigMap is passed to the callback, or nil if it doesn't exist. type Controller struct { configmaps kclient.Client[*v1.ConfigMap] queue controllers.Queue configMapNamespace string configMapName string callback func(*v1.ConfigMap) hasSynced atomic.Bool }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 19 07:11:52 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/controlplane/controller/legacytokentracking/controller_test.go
existingConfigMap *corev1.ConfigMap expectedErr error expectedActions []core.Action }{ { name: "create configmap [no cache, no live object]", clientObjects: []runtime.Object{}, expectedActions: []core.Action{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 19 17:33:34 UTC 2023 - 7.6K bytes - Viewed (0) -
pkg/controlplane/controller/legacytokentracking/controller.go
return err } } else { configMap := obj.(*corev1.ConfigMap) if _, err = time.Parse(dateFormat, configMap.Data[ConfigMapDataKey]); err != nil { configMap := configMap.DeepCopy() if configMap.Data == nil { configMap.Data = map[string]string{} } configMap.Data[ConfigMapDataKey] = now.UTC().Format(dateFormat)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6K bytes - Viewed (0) -
pkg/registry/core/configmap/storage/storage.go
NewListFunc: func() runtime.Object { return &api.ConfigMapList{} }, PredicateFunc: configmap.Matcher, DefaultQualifiedResource: api.Resource("configmaps"), SingularQualifiedResource: api.Resource("configmap"), CreateStrategy: configmap.Strategy, UpdateStrategy: configmap.Strategy, DeleteStrategy: configmap.Strategy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 20:38:11 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/kubelet/configmap/configmap_manager.go
) // Manager interface provides methods for Kubelet to manage ConfigMap. type Manager interface { // Get configmap by configmap namespace and name. GetConfigMap(namespace, name string) (*v1.ConfigMap, error) // WARNING: Register/UnregisterPod functions should be efficient, // i.e. should not block on network operations. // RegisterPod registers all configmaps from a given pod. RegisterPod(pod *v1.Pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/kubelet/configmap/configmap_manager_test.go
if cmaps, ok := existingMaps[ns]; ok { for _, cm := range cmaps { if cm == configMap { return true } } } return false } for _, ns := range []string{"ns1", "ns2", "ns3"} { for _, configMap := range []string{"s1", "s2", "s3", "s4", "s5", "s6", "s20", "s40", "s50"} { checkObject(t, store, ns, configMap, shouldExist(ns, configMap)) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 4.8K bytes - Viewed (0) -
pkg/kube/krt/informer_test.go
assert.Equal(t, ConfigMaps.List(), []*corev1.ConfigMap{cmA2}) cmt.Create(cmB) tt.WaitOrdered("add/ns/b") assert.Equal(t, slices.SortBy(ConfigMaps.List(), func(a *corev1.ConfigMap) string { return a.Name }), []*corev1.ConfigMap{cmA2, cmB}) assert.Equal(t, ConfigMaps.GetKey("ns/b"), &cmB) assert.Equal(t, ConfigMaps.GetKey("ns/a"), &cmA2) tt2 := assert.NewTracker[string](t) ConfigMaps.Register(TrackerHandler[*corev1.ConfigMap](tt2))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/controller/bootstrap/bootstrapsigner.go
klog.FromContext(ctx).V(3).Info("Error updating ConfigMap", "err", err) } } // getConfigMap gets the ConfigMap we are interested in func (e *Signer) getConfigMap() *v1.ConfigMap { configMap, err := e.configMapLister.ConfigMaps(e.configMapNamespace).Get(e.configMapName) // If we can't get the configmap just return nil. The resync will eventually // sync things up. if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/bootstraptoken/clusterinfo/clusterinfo.go
} bootstrapBytes, err := clientcmd.Write(*bootstrapConfig) if err != nil { return err } // Create or update the ConfigMap in the kube-public namespace klog.V(1).Infoln("[bootstrap-token] creating/updating ConfigMap in kube-public namespace") return apiclient.CreateOrUpdateConfigMap(client, &v1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Name: bootstrapapi.ConfigMapClusterInfo, Namespace: metav1.NamespacePublic, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 3.9K bytes - Viewed (0)