Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for peerAuthentication (0.23 sec)

  1. pilot/pkg/security/authn/policy_applier_test.go

    				{
    					Spec: &v1beta1.PeerAuthentication{
    						Mtls: &v1beta1.PeerAuthentication_MutualTLS{
    							Mode: v1beta1.PeerAuthentication_MutualTLS_STRICT,
    						},
    					},
    				},
    			},
    			expected: nil,
    		},
    		{
    			name: "beta-mtls-disable",
    			peerIn: []*config.Config{
    				{
    					Spec: &v1beta1.PeerAuthentication{
    						Mtls: &v1beta1.PeerAuthentication_MutualTLS{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    			Kind:      kind.PeerAuthentication,
    			Name:      selectorPolicyName,
    			Namespace: "ns1",
    		}))})
    
    	// Add global selector policy; nothing should happen since PeerAuthentication doesn't support global mesh wide selectors
    	s.addPolicy(t, "global-selector", systemNS, map[string]string{"app": "a"}, gvk.PeerAuthentication, func(c controllers.Object) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/crdclient/types.gen.go

    	case gvk.PeerAuthentication:
    		oldRes := &apiistioioapisecurityv1beta1.PeerAuthentication{
    			ObjectMeta: origMeta,
    			Spec:       *(orig.Spec.(*istioioapisecurityv1beta1.PeerAuthentication)),
    		}
    		modRes := &apiistioioapisecurityv1beta1.PeerAuthentication{
    			ObjectMeta: modMeta,
    			Spec:       *(mod.Spec.(*istioioapisecurityv1beta1.PeerAuthentication)),
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    	}
    
    	workloadPAList, err := configClient.SecurityV1beta1().PeerAuthentications(workloadNamespace).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return fmt.Errorf("failed to fetch workload namespace PeerAuthentication: %v", err)
    	}
    
    	rootPAList, err := configClient.SecurityV1beta1().PeerAuthentications(meshCfg.RootNamespace).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context.go

    // The result is a best effort. It is because the PeerAuthentication is workload-based, this function is unable
    // to compute the correct service mTLS mode without knowing service to workload binding. For now, this
    // function uses only mesh and namespace level PeerAuthentication and ignore workload & port level policies.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    					"Destination": dst.Config().Service,
    					"Source":      src.Config().Service,
    					"Namespace":   apps.Namespace.Name(),
    				}, `
    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: global-permissive
    spec:
      mtls:
        mode: PERMISSIVE
    `).ApplyOrFail(t)
    				opt = opt.DeepCopy()
    				src.CallOrFail(t, opt)
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/sidecar_simulation_test.go

    	for _, m := range meta.Services {
    		res = append(res, m.Host)
    	}
    	return res
    }
    
    func mtlsMode(m string) string {
    	return fmt.Sprintf(`apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: default
      namespace: istio-system
    spec:
      mtls:
        mode: %s
    `, m)
    }
    
    func TestInbound(t *testing.T) {
    	svc := `
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top