Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for trustDomainAliases (0.55 sec)

  1. pkg/config/mesh/mesh_test.go

    - name: prometheus
      prometheus: {}
    trustDomainAliases: ["both", "default"]
    `,
    		},
    		{
    			name: "add trust domain aliases",
    			in: `
    trustDomainAliases: ["added", "both"]`,
    			out: `defaultProviders:
      metrics:
      - stackdriver
    extensionProviders:
    - name: stackdriver
      stackdriver:
        maxNumberOfAttributes: 3
    trustDomainAliases:
    - added
    - both
    - default
    `,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. pilot/pkg/security/model/authentication.go

    func ConstructSdsSecretConfig(name string) *tls.SdsSecretConfig {
    	return pm.ConstructSdsSecretConfig(name)
    }
    
    func AppendURIPrefixToTrustDomain(trustDomainAliases []string) []string {
    	res := make([]string, 0, len(trustDomainAliases))
    	for _, td := range trustDomainAliases {
    		res = append(res, spiffe.URIPrefix+td+"/")
    	}
    	return res
    }
    
    // ApplyToCommonTLSContext completes the commonTlsContext
    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. operator/pkg/util/merge_iop.go

    	ConfigSources                  []*v1alpha13.ConfigSource                                 `json:"configSources" patchStrategy:"merge" patchMergeKey:"address"`
    	TrustDomainAliases             []string                                                  `json:"trustDomainAliases" patchStrategy:"merge"`
    	DefaultServiceExportTo         []string                                                  `json:"defaultServiceExportTo" patchStrategy:"merge"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 18:21:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. pkg/config/mesh/mesh.go

    				found = true
    				break
    			}
    		}
    		if !found {
    			defaultConfig.ExtensionProviders = append(defaultConfig.ExtensionProviders, p)
    		}
    	}
    
    	defaultConfig.TrustDomainAliases = sets.SortedList(sets.New(append(defaultConfig.TrustDomainAliases, prevTrustDomainAliases...)...))
    
    	warn, err := agent.ValidateMeshConfig(defaultConfig)
    	if err != nil {
    		return nil, err
    	}
    	if warn != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. pkg/spiffe/spiffe.go

    //
    //	{"spiffe://td1/ns/def/sa/a", "spiffe://td2/ns/def/sa/a", "spiffe://td1/ns/def/sa/b", "spiffe://td2/ns/def/sa/b"}.
    func ExpandWithTrustDomains(spiffeIdentities sets.String, trustDomainAliases []string) sets.String {
    	if len(trustDomainAliases) == 0 {
    		return spiffeIdentities
    	}
    	out := sets.New[string]()
    	for id := range spiffeIdentities {
    		out.Insert(id)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pilot/pkg/security/model/authentication_test.go

    			}
    		})
    	}
    }
    
    func TestApplyToCommonTLSContext(t *testing.T) {
    	testCases := []struct {
    		name               string
    		node               *model.Proxy
    		trustDomainAliases []string
    		crl                string
    		validateClient     bool
    		expected           *auth.CommonTlsContext
    	}{
    		{
    			name: "MTLSStrict using SDS",
    			node: &model.Proxy{
    				Metadata: &model.NodeMetadata{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:21 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    type mockMeshConfigHolder struct {
    	trustDomainAliases []string
    }
    
    func (mh mockMeshConfigHolder) Mesh() *meshconfig.MeshConfig {
    	return &meshconfig.MeshConfig{
    		TrustDomainAliases: mh.trustDomainAliases,
    	}
    }
    
    func buildMockController() *Controller {
    	discovery1 := memory.NewServiceDiscovery(mock.ReplicatedFooServiceV1.DeepCopy(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. pilot/pkg/security/authn/policy_applier.go

    		Port: endpointPort,
    		Mode: effectiveMTLSMode,
    		TCP: authn_utils.BuildInboundTLS(effectiveMTLSMode, node, networking.ListenerProtocolTCP,
    			trustDomainAliases, minTLSVersion, mc),
    		HTTP: authn_utils.BuildInboundTLS(effectiveMTLSMode, node, networking.ListenerProtocolHTTP,
    			trustDomainAliases, minTLSVersion, mc),
    	}
    }
    
    // convertToEnvoyJwtConfig converts a list of JWT rules into Envoy JWT filter config to enforce it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. pkg/config/validation/agent/validation_test.go

    			"discovery address must be set to the proxy discovery service",
    			"invalid proxy admin port",
    			"invalid status port",
    			"trustDomain: empty domain name not allowed",
    			"trustDomainAliases[0]",
    			"trustDomainAliases[1]",
    			"trustDomainAliases[2]",
    			"mesh TLS does not support ECDH curves configuration",
    		}
    		switch err := err.(type) {
    		case *multierror.Error:
    			// each field must cause an error in the field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/testdata/input/ingress.log

    enablePrometheusMerge: false
    ingressClass: istio
    ingressControllerMode: STRICT
    ingressService: istio-ingressgateway
    protocolDetectionTimeout: 100ms
    sdsUdsPath: unix:/etc/istio/proxy/SDS
    trustDomain: cluster.local
    trustDomainAliases: null
    2020-06-29T23:37:27.287895Z	info	Effective config: binaryPath: /usr/local/bin/envoy
    configPath: ./etc/istio/proxy
    discoveryAddress: istiod.istio-system.svc:15012
    drainDuration: 45s
    envoyAccessLogService: {}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 03 15:51:03 UTC 2020
    - 11K bytes
    - Viewed (0)
Back to top