- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 325 for configmap (1.9 sec)
-
pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go
nc.namespaceChange(ns) } case <-stop: return } } } // reconcileCACert will reconcile the ca root cert configmap for the specified namespace // If the configmap is not found, it will be created. // If the namespace is filtered out by discovery selector, the configmap will be deleted. func (nc *NamespaceController) reconcileCACert(o types.NamespacedName) error { ns := o.Namespace if ns == "" {
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/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) -
security/pkg/k8s/configutil.go
) // InsertDataToConfigMap inserts a data to a configmap in a namespace. // client: the k8s client interface. // lister: the configmap lister. // meta: the metadata of configmap. // caBundle: ca cert data bytes. func InsertDataToConfigMap(client kclient.Client[*v1.ConfigMap], meta metav1.ObjectMeta, caBundle []byte) error { configmap := client.Get(meta.Name, meta.Namespace) if configmap == nil { // Create a new ConfigMap.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 3K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/file/file.go
return false, nil } return true, nil }) if err != nil { return nil, errors.Wrapf(lastError, "Abort reading the %s ConfigMap after timeout of %v", bootstrapapi.ConfigMapClusterInfo, discoveryTimeout) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:55 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/kube/inject/watcher.go
func NewConfigMapWatcher(client kube.Client, namespace, name, configKey, valuesKey string) Watcher { w := &configMapWatcher{ client: client, namespace: namespace, name: name, configKey: configKey, valuesKey: valuesKey, } w.c = configmapwatcher.NewController(client, namespace, name, func(cm *v1.ConfigMap) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 5.9K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/checksums_test.go
) var checksumTestCases = []struct { desc string configMap *v1.ConfigMap checksum string }{ { desc: "checksum is calculated using both data and binaryData", checksum: "sha256:c8f8b724728a6d6684106e5e64e94ce811c9965d19dd44dd073cf86cf43bc238", configMap: &v1.ConfigMap{ Data: map[string]string{ "foo": "bar", }, BinaryData: map[string][]byte{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 17 14:40:46 UTC 2021 - 5.8K bytes - Viewed (0) -
pkg/controller/certificates/rootcacertpublisher/publisher.go
_, err = c.client.CoreV1().ConfigMaps(ns).Update(ctx, cm, metav1.UpdateOptions{}) return err } func convertToCM(obj interface{}) (*v1.ConfigMap, error) { cm, ok := obj.(*v1.ConfigMap) if !ok { tombstone, ok := obj.(cache.DeletedFinalStateUnknown) if !ok { return nil, fmt.Errorf("couldn't get object from tombstone %#v", obj) } cm, ok = tombstone.Obj.(*v1.ConfigMap) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.8K bytes - Viewed (0) -
pkg/registry/core/configmap/strategy.go
func dropDisabledFields(configMap *api.ConfigMap, oldConfigMap *api.ConfigMap) { } func (strategy) AllowUnconditionalUpdate() bool { return true } // GetAttrs returns labels and fields of a given object for filtering purposes. func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { configMap, ok := obj.(*api.ConfigMap) if !ok { return nil, nil, fmt.Errorf("not a configmap")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 20:38:11 UTC 2023 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigsource.go
type NodeConfigSourceApplyConfiguration struct { ConfigMap *ConfigMapNodeConfigSourceApplyConfiguration `json:"configMap,omitempty"` } // NodeConfigSourceApplyConfiguration constructs an declarative configuration of the NodeConfigSource type for use with // apply. func NodeConfigSource() *NodeConfigSourceApplyConfiguration { return &NodeConfigSourceApplyConfiguration{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 04 18:31:34 UTC 2021 - 1.6K bytes - Viewed (0) -
pkg/config/mesh/kubemesh/watcher.go
// Keep the last known config in case there's a misconfiguration issue. log.Errorf("failed to read mesh config from ConfigMap: %v", err) return } w.HandleMeshConfig(meshConfig) }) go c.Run(stop) // Ensure the ConfigMap is initially loaded if present. if !client.WaitForCacheSync("configmap watcher", stop, c.HasSynced) { log.Error("failed to wait for cache sync") } return w }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 20:54:46 UTC 2024 - 3.8K bytes - Viewed (0)