- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for buildUpstreamTLSSettings (0.86 sec)
-
pilot/pkg/networking/core/cluster_tls.go
} } // buildUpstreamTLSSettings fills key cert fields for all TLSSettings when the mode is `ISTIO_MUTUAL`. // If the (input) TLS setting is nil (i.e not set), *and* the service mTLS mode is STRICT, it also // creates and populates the config as if they are set as ISTIO_MUTUAL. func (cb *ClusterBuilder) buildUpstreamTLSSettings( tls *networking.ClientTLSSettings, serviceAccounts []string,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 19.2K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_traffic_policy.go
if opts.clusterMode != SniDnatClusterMode { autoMTLSEnabled := opts.mesh.GetEnableAutoMtls().Value tls, mtlsCtxType := cb.buildUpstreamTLSSettings(tls, opts.serviceAccounts, opts.istioMtlsSni, autoMTLSEnabled, opts.meshExternal, opts.serviceMTLSMode) cb.applyUpstreamTLSSettings(&opts, tls, mtlsCtxType) cb.applyUpstreamProxyProtocol(&opts, proxyProtocol)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 23 05:38:57 UTC 2024 - 20K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_tls_test.go
}, userSupplied, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cb := NewClusterBuilder(tt.proxy, nil, nil) gotTLS, gotCtxType := cb.buildUpstreamTLSSettings(tt.tls, tt.sans, tt.sni, tt.autoMTLSEnabled, tt.meshExternal, tt.serviceMTLSMode) if !reflect.DeepEqual(gotTLS, tt.want) { t.Errorf("cluster TLS does not match expected result want %#v, got %#v", tt.want, gotTLS)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 03:53:05 UTC 2024 - 60.9K bytes - Viewed (0)