Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for configVals (0.46 sec)

  1. internal/config/config.go

    	nc := c.Clone()
    
    	for configName, configVals := range nc {
    		for _, helpKV := range HelpSubSysMap[configName] {
    			if helpKV.Sensitive {
    				for name, kvs := range configVals {
    					for i := range kvs {
    						if kvs[i].Key == helpKV.Key && len(kvs[i].Value) > 0 {
    							kvs[i].Value = "*redacted*"
    						}
    					}
    					configVals[name] = kvs
    				}
    			}
    		}
    	}
    
    	return nc
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  2. 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)
  3. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    			LegacyTokenCleanUpPeriod: configuredLegacyTokenCleanUpPeriod("2022-12-28"),
    			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": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    				client.PrependReactor("create", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, nil
    				})
    				client.PrependReactor("get", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    					return true, nil, nil
    				})
    				client.PrependReactor("update", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. cluster/gce/gci/audit_policy_test.go

    		sysEndpoints    = resource("endpoints", "kube-system")
    		services        = resource("services", "default")
    		serviceStatus   = resource("services", "default", "", "status")
    		configmaps      = resource("configmaps", "default")
    		sysConfigmaps   = resource("configmaps", "kube-system")
    		namespaces      = resource("namespaces")
    		namespaceStatus = resource("namespaces", "", "", "status")
    		namespaceFinal  = resource("namespaces", "", "", "finalize")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller_test.go

    	created := false
    
    	for _, action := range client.Actions() {
    		t.Log(dump.Pretty(action))
    		if action.Matches("create", "configmaps") {
    			created = true
    			obj := action.(clienttesting.CreateAction).GetObject().(*corev1.ConfigMap)
    			ret[obj.Name] = obj
    		}
    		if action.Matches("update", "configmaps") {
    			obj := action.(clienttesting.UpdateAction).GetObject().(*corev1.ConfigMap)
    			ret[obj.Name] = obj
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/apiclient/idempotency.go

    			ctx := context.Background()
    			if _, err := client.CoreV1().ConfigMaps(cm.ObjectMeta.Namespace).Create(ctx, cm, metav1.CreateOptions{}); err != nil {
    				if !apierrors.IsAlreadyExists(err) {
    					lastError = errors.Wrap(err, "unable to create ConfigMap")
    					return false, nil
    				}
    				if _, err := client.CoreV1().ConfigMaps(cm.ObjectMeta.Namespace).Update(ctx, cm, metav1.UpdateOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    	return err
    }
    
    func writeConfigMap(configMapClient corev1client.ConfigMapsGetter, required *corev1.ConfigMap) error {
    	_, 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)
  9. istioctl/pkg/injector/injector-list.go

    	retval := map[string]string{}
    
    	// All configs in all namespaces that are Istio revisioned
    	configMaps, err := client.Kube().CoreV1().ConfigMaps("").List(ctx, metav1.ListOptions{LabelSelector: label.IoIstioRev.Name})
    	if err != nil {
    		return retval, err
    	}
    
    	for _, configMap := range configMaps.Items {
    		image := injection.GetIstioProxyImage(&configMap)
    		if image != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "istio-ca-root-cert"},
    					Data:       map[string]string{"root-cert.pem": string(fakeCACert)},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("istio-system").Create(context.Background(), &v1.ConfigMap{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top