Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 201 for configMaps (0.24 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    		ObjectMeta: metav1.ObjectMeta{Name: saRolePrefix + "root-ca-cert-publisher"},
    		Rules: []rbacv1.PolicyRule{
    			rbacv1helpers.NewRule("create", "update").Groups(legacyGroup).Resources("configmaps").RuleOrDie(),
    			eventsRule(),
    		},
    	})
    	if utilfeature.DefaultFeatureGate.Enabled(genericfeatures.ValidatingAdmissionPolicy) {
    		addControllerRole(&controllerRoles, &controllerRoleBindings, rbacv1.ClusterRole{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. tests/integration/telemetry/api/dashboard_test.go

    							continue
    						}
    						t.Logf("Verifying %s for cluster %s", d.name, cl.Name())
    						cm, err := cl.Kube().CoreV1().ConfigMaps(ist.Settings().TelemetryNamespace).Get(
    							context.TODO(), d.configmap, metav1.GetOptions{})
    						if err != nil {
    							t.Fatalf("Failed to find dashboard %v: %v", d.configmap, err)
    						}
    
    						config, f := cm.Data[d.name]
    						if !f {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    // get the latest possible TrackedSince time information from the configMap label.
    func (tc *LegacySATokenCleaner) latestPossibleTrackedSinceTime(ctx context.Context) (time.Time, error) {
    	configMap, err := tc.client.CoreV1().ConfigMaps(metav1.NamespaceSystem).Get(ctx, legacytokentracking.ConfigMapName, metav1.GetOptions{})
    	if err != nil {
    		return time.Time{}, err
    	}
    	trackedSince, exist := configMap.Data[legacytokentracking.ConfigMapDataKey]
    	if !exist {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/certificates.go

    		}
    	} else {
    		rootCA = controllerContext.ClientBuilder.ConfigOrDie("root-ca-cert-publisher").CAData
    	}
    
    	sac, err := rootcacertpublisher.NewPublisher(
    		controllerContext.InformerFactory.Core().V1().ConfigMaps(),
    		controllerContext.InformerFactory.Core().V1().Namespaces(),
    		controllerContext.ClientBuilder.ClientOrDie("root-ca-cert-publisher"),
    		rootCA,
    	)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  5. pkg/config/constants/constants.go

    	// KubeSystemNamespace is the system namespace where we place kubernetes system components.
    	KubeSystemNamespace string = "kube-system"
    
    	// KubePublicNamespace is the namespace where we place kubernetes public info (ConfigMaps).
    	KubePublicNamespace string = "kube-public"
    
    	// KubeNodeLeaseNamespace is the namespace for the lease objects associated with each kubernetes node.
    	KubeNodeLeaseNamespace string = "kube-node-lease"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. samples/security/spire/spire-quickstart.yaml

    - apiGroups: [""]
      resources: ["pods"]
      verbs: ["get"]
      # allow access to "get" and "patch" the spire-bundle ConfigMap (for SPIRE
      # agent bootstrapping, see the spire-bundle ConfigMap)
    - apiGroups: [""]
      resources: ["configmaps"]
      resourceNames: ["spire-bundle"]
      verbs: ["get", "patch"]
    
    ---
    # RoleBinding granting the spire-server-role to the SPIRE server
    # service account.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 12 16:12:42 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  7. pkg/config/schema/metadata.yaml

        version: "v1"
        builtin: true
        proto: "k8s.io.api.core.v1.ServiceSpec"
        protoPackage: "k8s.io/api/core/v1"
    
      - kind: "ConfigMap"
        plural: "configmaps"
        version: "v1"
        builtin: true
        specless: true
        proto: "k8s.io.api.core.v1.ConfigMap"
        protoPackage: "k8s.io/api/core/v1"
    
      - kind: "ServiceAccount"
        plural: "serviceaccounts"
        version: "v1"
        builtin: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. pilot/pkg/status/distribution/reporter.go

    func CreateOrUpdateConfigMap(ctx context.Context, cm *corev1.ConfigMap, client v1.ConfigMapInterface) (res *corev1.ConfigMap, err error) {
    	if res, err = client.Create(ctx, cm, metav1.CreateOptions{}); err != nil {
    		if !kerrors.IsAlreadyExists(err) {
    			scope.Errorf("%v", err)
    			return nil, fmt.Errorf("unable to create ConfigMap: %w", err)
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. pkg/kubelet/util/manager/watch_based_manager.go

    		//
    		// NOTE: we may potentially not even start the reflector if the object is
    		// already immutable. However, given that:
    		// - we want to also handle the case when object is marked as immutable later
    		// - Secrets and ConfigMaps are periodically fetched by volumemanager anyway
    		// - doing that wouldn't provide visible scalability/performance gain - we
    		//   already have it from here
    		// - doing that would require significant refactoring to reflector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. pkg/kube/krt/README.md

    For example, a simple `Singleton` example that keeps track of the number of `ConfigMap`s in the cluster:
    
    ```go
    ConfigMapCount := krt.NewSingleton[int](func(ctx krt.HandlerContext) *int {
        cms := krt.Fetch(ctx, ConfigMaps)
        return ptr.Of(len(cms))
    })
    ```
    
    The `Fetch` operation enables querying against other collections.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 18 17:21:50 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top