- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for InsertDataToConfigMap (0.62 sec)
-
security/pkg/k8s/configutil.go
"istio.io/istio/pkg/kube/kclient" "istio.io/istio/pkg/log" ) // 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 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go
ns = o.Name } meta := metav1.ObjectMeta{ Name: CACertNamespaceConfigMap, Namespace: ns, Labels: configMapLabel, } return k8s.InsertDataToConfigMap(nc.configmaps, meta, nc.caBundleWatcher.GetCABundle()) } // On namespace change, update the config map. // If terminating, this will be skipped func (nc *NamespaceController) namespaceChange(ns *v1.Namespace) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.4K bytes - Viewed (0) -
security/pkg/k8s/configutil_test.go
configmaps := kclient.New[*v1.ConfigMap](kc) if tc.clientMod != nil { tc.clientMod(fake) } kc.RunAndWait(test.NewStop(t)) fake.ClearActions() err := InsertDataToConfigMap(configmaps, tc.meta, tc.caBundle) if err != nil && err.Error() != tc.expectedErr { t.Errorf("actual error (%s) different from expected error (%s).", err.Error(), tc.expectedErr) } if err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0)