- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 800 for configmaps (0.13 sec)
-
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/controller/bootstrap/bootstrapsigner_test.go
secrets := informers.Core().V1().Secrets() configMaps := informers.Core().V1().ConfigMaps() bsc, err := NewSigner(cl, secrets, configMaps, options) if err != nil { return nil, nil, nil, nil, err } return bsc, cl, secrets, configMaps, nil } func newConfigMap(tokenID, signature string) *v1.ConfigMap { ret := &v1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Namespace: metav1.NamespacePublic,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 4.7K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
client.PrependReactor("get", "configmaps", func(action ktesting.Action) (bool, runtime.Object, error) { return true, &v1.ConfigMap{}, errors.NewNotFound(v1.Resource("configmaps"), configMapName) }) client.PrependReactor("create", "configmaps", func(action ktesting.Action) (bool, runtime.Object, error) { return true, &v1.ConfigMap{}, errors.NewAlreadyExists(v1.Resource("configmaps"), configMapName) }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go
} func expectConfigMapNotExist(t *testing.T, configmaps kclient.Client[*v1.ConfigMap], ns string) { t.Helper() err := retry.Until(func() bool { cm := configmaps.Get(CACertNamespaceConfigMap, ns) return cm != nil }, retry.Timeout(time.Millisecond*25)) if err == nil { t.Fatalf("%s namespace should not have istio-ca-root-cert configmap.", ns) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 8.1K 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/kubelet/configmap/configmap_manager.go
// (e.g. ttl-based implementation vs watch-based implementation). type configMapManager struct { manager manager.Manager } func (c *configMapManager) GetConfigMap(namespace, name string) (*v1.ConfigMap, error) { object, err := c.manager.GetObject(namespace, name) if err != nil { return nil, err } if configmap, ok := object.(*v1.ConfigMap); ok { return configmap, nil }
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) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go
var configMapLabel = map[string]string{"istio.io/config": "true"} // NamespaceController manages reconciles a configmap in each namespace with a desired set of data. type NamespaceController struct { caBundleWatcher *keycertbundle.Watcher queue controllers.Queue namespaces kclient.Client[*v1.Namespace] configmaps kclient.Client[*v1.ConfigMap] ignoredNamespaces sets.Set[string] }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go
ExpectedActions: []core.Action{ core.NewGetAction(schema.GroupVersionResource{Version: "v1", Resource: "configmaps"}, metav1.NamespaceSystem, legacytokentracking.ConfigMapName), }, }, "configmap exists, but the configmap does not have tracked-since label": { ExistingSecret: configuredServiceAccountTokenSecret("2022-12-27", "", "2022-12-27", "default", "12345", ""),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 21.1K bytes - Viewed (0) -
cluster/addons/cloud-controller-manager/cloud-node-controller-role.yaml
- apiGroups: - "" resources: - namespaces - configmaps verbs: - get --- apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: labels: addonmanager.kubernetes.io/mode: Reconcile name: system:cloud-controller-manager namespace: kube-system rules: - apiGroups: - "" resources: - configmaps verbs: - watch - apiGroups: - "" resources:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 08 14:40:04 UTC 2023 - 2.9K bytes - Viewed (0)