Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 6,082 for naMespace (0.19 sec)

  1. operator/pkg/util/k8s.go

    		}
    	}
    	return nil
    }
    
    // CreateNamespace creates a namespace using the given k8s interface.
    func CreateNamespace(cs kubernetes.Interface, namespace string, network string, dryRun bool) error {
    	if dryRun {
    		scope.Infof("Not applying Namespace %s because of dry run.", namespace)
    		return nil
    	}
    	if namespace == "" {
    		// Setup default namespace
    		namespace = constants.IstioSystemNamespace
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/kube/kclient/client_test.go

    	})
    	assert.Equal(t, deploys, []*appsv1.Deployment{obj1, obj2})
    	assert.Equal(t, tester.Get(obj3.Name, obj3.Namespace), nil)
    
    	tester.Delete(obj3.Name, obj3.Namespace)
    	tester.Delete(obj2.Name, obj2.Namespace)
    	tester.Delete(obj1.Name, obj1.Namespace)
    	tracker.WaitOrdered("delete/2", "delete/1")
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), nil)
    
    	// Create some more objects again
    	tester.Create(obj3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    		}
    		if len(info.Namespace) == 0 {
    			info.Namespace = namespace
    			UpdateObjectNamespace(info, nil)
    			return nil
    		}
    		if info.Namespace != namespace {
    			return fmt.Errorf("the namespace from the provided object %q does not match the namespace %q. You must pass '--namespace=%s' to perform this operation.", info.Namespace, namespace, info.Namespace)
    		}
    		return nil
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/namespace_policy.go

    	}
    
    	existingRoles := namespaceRoles[namespace]
    	for _, existingRole := range existingRoles {
    		if role.Name == existingRole.Name {
    			klog.Fatalf("role %q was already registered in %q", role.Name, namespace)
    		}
    	}
    
    	role.Namespace = namespace
    	addDefaultMetadata(&role)
    	existingRoles = append(existingRoles, role)
    	namespaceRoles[namespace] = existingRoles
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  5. plugin/pkg/admission/security/podsecurity/admission_test.go

    	}
    
    	p.InspectFeatureGates(utilfeature.DefaultFeatureGate)
    
    	namespace := "enforce"
    	enforceNamespaceBaselineV1 := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace, Labels: map[string]string{"pod-security.kubernetes.io/enforce": "baseline"}}}
    	enforceNamespaceRestrictedV1 := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: namespace, Labels: map[string]string{"pod-security.kubernetes.io/enforce": "restricted"}}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  6. tests/integration/ambient/waypoint_test.go

          namespaces:
            from: Same
      - name: {{.Service}}-svc
        hostname: {{.Service}}.{{.Namespace}}.svc
        port: {{.Port}}
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Same
      - name: {{.Service}}-namespace
        hostname: {{.Service}}.{{.Namespace}}
        port: {{.Port}}
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Same
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pkg/controller/garbagecollector/testdata/simple.dot

      // Node definitions.
      "alpha" [
        label="uid=alpha\nnamespace=\n./\n"
        group=""
        version=""
        kind=""
        namespace=""
        name=""
        uid="alpha"
        missing="false"
        beingDeleted="false"
        deletingDependents="false"
        virtual="false"
      ];
      "bravo" [
        label="uid=bravo\nnamespace=\n./\n"
        group=""
        version=""
        kind=""
        namespace=""
        name=""
        uid="bravo"
        missing="false"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 17:12:33 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/testdata/http/multiple-policies-in.yaml

    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-7
      namespace: foo
    spec:
      rules:
        - from:
            - source:
                namespaces: ["namespaces1", "namespaces2"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-8
      namespace: foo
    spec:
      rules:
        - from:
            - source:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/util/hosts_test.go

    	// FQDN, cross namespace, all namespaces scope
    	g.Expect(NewScopedFqdn("*", "other", "foo.default.svc.cluster.local")).To(Equal(ScopedFqdn("*/foo.default.svc.cluster.local")))
    
    	// short name, same namespace, local scope
    	g.Expect(NewScopedFqdn("default", "default", "foo")).To(Equal(ScopedFqdn("default/foo.default.svc.cluster.local")))
    	// short name, same namespace, all namespaces scope
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go

    // Valid Inputs:
    // Resource paths
    // /apis/{api-group}/{version}/namespaces
    // /api/{version}/namespaces
    // /api/{version}/namespaces/{namespace}
    // /api/{version}/namespaces/{namespace}/{resource}
    // /api/{version}/namespaces/{namespace}/{resource}/{resourceName}
    // /api/{version}/{resource}
    // /api/{version}/{resource}/{resourceName}
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 23 13:24:29 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top