Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for authorizationpolicies (0.22 sec)

  1. pilot/pkg/security/authz/builder/builder_test.go

    		}
    
    		if err := util.Compare([]byte(gotYaml), []byte(wantYaml)); err != nil {
    			t.Error(err)
    		}
    	}
    }
    
    func yamlPolicy(t *testing.T, filename string) *model.AuthorizationPolicies {
    	t.Helper()
    	data, err := os.ReadFile(filename)
    	if err != nil {
    		t.Fatalf("failed to read input yaml file: %v", err)
    	}
    	c, _, err := crd.ParseInputs(string(data))
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. pkg/config/schema/kubeclient/resources.gen.go

    		l = func(options metav1.ListOptions) (runtime.Object, error) {
    			return c.Istio().SecurityV1beta1().AuthorizationPolicies(opts.Namespace).List(context.Background(), options)
    		}
    		w = func(options metav1.ListOptions) (watch.Interface, error) {
    			return c.Istio().SecurityV1beta1().AuthorizationPolicies(opts.Namespace).Watch(context.Background(), options)
    		}
    	case gvr.CertificateSigningRequest:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  3. manifests/charts/gateway/README.md

    ```
    
    Note the name and labels are overridden to match the names of the existing installation.
    
    Warning: the helm charts here default to using port 80 and 443, while the old charts used 8080 and 8443.
    If you have AuthorizationPolicies that reference port these ports, you should update them during this process,
    or customize the ports to match the old defaults.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 19:38:07 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. pilot/pkg/model/authentication.go

    	MTLSPermissive
    
    	// MTLSStrict if authentication policy enable mTLS in strict mode.
    	MTLSStrict
    )
    
    // In Ambient, we convert k8s PeerAuthentication resources to the same type as AuthorizationPolicies
    // To prevent conflicts in xDS, we add this prefix to the converted PeerAuthentication resources.
    const convertedPeerAuthenticationPrefix = "converted_peer_authentication_" // use '_' character since those are illegal in k8s names
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. pilot/pkg/model/authorization_test.go

    				t.Errorf("wantCustom:%v\n but got: %v\n", tc.wantCustom, result.Custom)
    			}
    		})
    	}
    }
    
    func createFakeAuthorizationPolicies(configs []config.Config) *AuthorizationPolicies {
    	store := &authzFakeStore{}
    	for _, cfg := range configs {
    		store.add(cfg)
    	}
    	environment := &Environment{
    		ConfigStore: store,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/crdclient/types.gen.go

    )
    
    func create(c kube.Client, cfg config.Config, objMeta metav1.ObjectMeta) (metav1.Object, error) {
    	switch cfg.GroupVersionKind {
    	case gvk.AuthorizationPolicy:
    		return c.Istio().SecurityV1beta1().AuthorizationPolicies(cfg.Namespace).Create(context.TODO(), &apiistioioapisecurityv1beta1.AuthorizationPolicy{
    			ObjectMeta: objMeta,
    			Spec:       *(cfg.Spec.(*istioioapisecurityv1beta1.AuthorizationPolicy)),
    		}, metav1.CreateOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  7. pkg/config/schema/collections/collections.agent.gen.go

    )
    
    var (
    	AuthorizationPolicy = resource.Builder{
    		Identifier: "AuthorizationPolicy",
    		Group:      "security.istio.io",
    		Kind:       "AuthorizationPolicy",
    		Plural:     "authorizationpolicies",
    		Version:    "v1beta1",
    		VersionAliases: []string{
    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/networkfilter_test.go

    				t.Fatalf("Unexpected SourceIp hash policy. expected: %v, got: %v", tt.useSourceIP, hasSourceIP)
    			}
    		})
    	}
    }
    
    func getAuthorizationPolicies() *model.AuthorizationPolicies {
    	return &model.AuthorizationPolicies{
    		NamespaceToPolicies: map[string][]model.AuthorizationPolicy{
    			"foo": {
    				{
    					Name:      "httpbin-deny",
    					Namespace: "foo",
    					Spec: &v1beta1.AuthorizationPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. pkg/config/schema/metadata.yaml

        group: ""
        version: "v1alpha1"
        proto: "istio.mesh.v1alpha1.MeshNetworks"
        protoPackage: "istio.io/api/mesh/v1alpha1"
        synthetic: true
    
      - kind: AuthorizationPolicy
        plural: "authorizationpolicies"
        group: "security.istio.io"
        version: "v1beta1"
        versionAliases:
          - "v1"
        proto: "istio.security.v1beta1.AuthorizationPolicy"
        protoPackage: "istio.io/api/security/v1beta1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    )
    
    func (a *index) Policies(requested sets.Set[model.ConfigKey]) []model.WorkloadAuthorization {
    	// TODO: use many Gets instead of List?
    	cfgs := a.authorizationPolicies.List()
    	l := len(cfgs)
    	if len(requested) > 0 {
    		l = len(requested)
    	}
    	res := make([]model.WorkloadAuthorization, 0, l)
    	for _, cfg := range cfgs {
    		k := model.ConfigKey{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top