Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for credentialName (0.17 sec)

  1. pkg/config/validation/agent/validation_test.go

    				CredentialName:    "some credential",
    				ClientCertificate: "",
    				PrivateKey:        "",
    				CaCertificates:    "",
    			},
    			valid: true,
    		},
    		{
    			name: "SIMPLE CredentialName set with ClientCertificate specified",
    			tls: &networking.ClientTLSSettings{
    				Mode:              networking.ClientTLSSettings_SIMPLE,
    				CredentialName:    "credential",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  2. pilot/pkg/security/model/authentication.go

    	// credentialName SDS which may refer to secrets which do not exist. We do not want to block the
    	// entire listener/cluster in these cases.
    	ResourceApiVersion: core.ApiVersion_V3,
    }
    
    // ConstructSdsSecretConfigForCredential constructs SDS secret configuration used
    // from certificates referenced by credentialName in DestinationRule or Gateway.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tests/integration/security/egress_gateway_origination_test.go

    }
    
    func newTLSGatewayDestinationRule(t framework.TestContext, to echo.Instances, destinationRuleMode string, credentialName string) {
    	args := map[string]any{
    		"to":             to,
    		"Mode":           destinationRuleMode,
    		"CredentialName": credentialName,
    	}
    
    	// Get namespace for gateway pod.
    	istioCfg := istio.DefaultConfigOrFail(t, t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. tests/integration/security/sds_ingress/util/util.go

    }
    
    type TestConfig struct {
    	Mode           string
    	CredentialName string
    	Host           string
    	ServiceName    string
    	GatewayLabel   string
    }
    
    const vsTemplate = `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: {{.CredentialName}}
    spec:
      hosts:
      - "{{.Host}}"
      gateways:
      - {{.CredentialName}}
      http:
      - match:
        - uri:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  5. tests/integration/security/egress_sidecar_tls_origination_test.go

    func newTLSSidecarDestinationRule(t framework.TestContext, to echo.Instances, destinationRuleMode string,
    	workloadSelector string, credentialName string, clientNamespace namespace.Instance,
    ) {
    	args := map[string]any{
    		"to":               to,
    		"Mode":             destinationRuleMode,
    		"CredentialName":   credentialName,
    		"WorkloadSelector": workloadSelector,
    	}
    	se := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_tls.go

    	if tls == nil {
    		return nil, nil
    	}
    	// Hack to avoid egress sds cluster config generation for sidecar when
    	// CredentialName is set in DestinationRule without a workloadSelector.
    	// We do not want to support CredentialName setting in non workloadSelector based DestinationRules, because
    	// that would result in the CredentialName being supplied to all the sidecars which the DestinationRule is scoped to,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. pkg/config/validation/agent/validation.go

    		if settings.Mode == networking.ClientTLSSettings_SIMPLE {
    			// In tls simple mode, we can specify ca cert by CaCertificates or CredentialName.
    			if settings.CaCertificates != "" || settings.CredentialName != "" || settings.SubjectAltNames != nil {
    				errs = AppendErrors(errs, fmt.Errorf("cannot specify CaCertificates or CredentialName or SubjectAltNames when InsecureSkipVerify is set true"))
    			}
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. pkg/config/gateway/gateway_test.go

    				},
    				Tls: &v1alpha3.ServerTLSSettings{CredentialName: "cert", Mode: v1alpha3.ServerTLSSettings_MUTUAL},
    			},
    			expected: false,
    		},
    		{
    			name: "tls and HTTP",
    			server: &v1alpha3.Server{
    				Port: &v1alpha3.Port{
    					Number:   80,
    					Protocol: string(protocol.HTTP),
    					Name:     "https",
    				},
    				Tls: &v1alpha3.ServerTLSSettings{CredentialName: "cert", Mode: v1alpha3.ServerTLSSettings_MUTUAL},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 26 05:53:25 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. tests/integration/security/sds_ingress/ingress_test.go

    				echotest.New(t, instances).
    					SetupForDestination(func(t framework.TestContext, to echo.Target) error {
    						ingressutil.SetupConfig(t, echo1NS, ingressutil.TestConfig{
    							Mode:           "SIMPLE",
    							CredentialName: credName,
    							Host:           host,
    							ServiceName:    to.Config().Service,
    							GatewayLabel:   inst.Settings().IngressGatewayIstioLabel,
    						})
    						return nil
    					}).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/analyzers_test.go

    		},
    	},
    	{
    		name: "destinationrule with credentialname, simple at destinationlevel, workloadSelector",
    		inputFiles: []string{
    			"testdata/destinationrule-simple-destination-credentialname-selector.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    		expected: []message{},
    	},
    	{
    		name: "destinationrule with credentialname, simple at portlevel, no workloadSelector",
    		inputFiles: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top