Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for credentialName (0.6 sec)

  1. pkg/config/analysis/analyzers/util/find_errorline_utils_test.go

    	"{.spec.containers[0].image}":                                   1,
    	"{.spec.rules[0].from[0].source.namespaces[0]}":                 1,
    	"{.spec.selector.test}":                                         1,
    	"{.spec.servers[0].tls.credentialName}":                         1,
    	"{.networks.test.endpoints[0]}":                                 1,
    	"{.spec.trafficPolicy.tls.caCertificates}":                      1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_test.go

    			name: "tls mode ISTIO_MUTUAL, with credentialName",
    			server: &networking.Server{
    				Hosts: []string{"httpbin.example.com"},
    				Port: &networking.Port{
    					Protocol: string(protocol.HTTPS),
    				},
    				Tls: &networking.ServerTLSSettings{
    					Mode:           networking.ServerTLSSettings_ISTIO_MUTUAL,
    					CredentialName: "ignored",
    				},
    			},
    			result: &auth.DownstreamTlsContext{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  3. 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)
  4. pilot/pkg/config/kube/gateway/testdata/reference-policy-tls.yaml.golden

      namespace: istio-system
    spec:
      servers:
      - hosts:
        - cert/cert1.domain.example
        port:
          name: default
          number: 443
          protocol: HTTPS
        tls:
          credentialName: kubernetes-gateway://cert/cert
          mode: SIMPLE
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      annotations:
        internal.istio.io/parents: HTTPRoute/http.cert
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/config/validation/validation_test.go

    			&networking.ServerTLSSettings{
    				Mode:           networking.ServerTLSSettings_ISTIO_MUTUAL,
    				CredentialName: "some-cred",
    			},
    			"cannot have associated credentialName", "",
    		},
    		{
    			"invalid cipher suites",
    			&networking.ServerTLSSettings{
    				Mode:           networking.ServerTLSSettings_SIMPLE,
    				CredentialName: "sds-name",
    				CipherSuites:   []string{"not-a-cipher-suite"},
    			},
    			"", "not-a-cipher-suite",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  8. 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)
  9. pilot/pkg/model/credentials/resource.go

    	if strings.HasPrefix(name, BuiltinGatewaySecretTypeURI) {
    		return BuiltinGatewaySecretTypeURI
    	}
    	return fmt.Sprintf("%s://%s/%s", KubernetesGatewaySecretType, namespace, name)
    }
    
    // ToResourceName turns a `credentialName` into a resource name used for SDS
    func ToResourceName(name string) string {
    	if strings.HasPrefix(name, BuiltinGatewaySecretTypeURI) {
    		return "default"
    	}
    	// If they explicitly defined the type, keep it
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 28 20:33:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. pkg/config/validation/validation.go

    		}
    		if tls.CaCertificates != "" {
    			v = AppendValidation(v, fmt.Errorf("ISTIO_MUTUAL TLS cannot have associated CA bundle"))
    		}
    		if tls.CredentialName != "" {
    			v = AppendValidation(v, fmt.Errorf("ISTIO_MUTUAL TLS cannot have associated credentialName"))
    		}
    		return
    	}
    
    	if tls.Mode == networking.ServerTLSSettings_PASSTHROUGH || tls.Mode == networking.ServerTLSSettings_AUTO_PASSTHROUGH {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
Back to top