Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for tlsSettings (0.2 sec)

  1. pkg/test/framework/components/echo/kube/templates/deployment.yaml

    {{- end }}
    ---
    {{- end }}
    {{- end }}
    {{- if .TLSSettings}}{{if not .TLSSettings.ProxyProvision }}
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: {{ $.Service }}-certs
    data:
      root-cert.pem: |
    {{ .TLSSettings.RootCert | indent 4 }}
      cert-chain.pem: |
    {{ .TLSSettings.ClientCert | indent 4 }}
      key.pem: |
    {{.TLSSettings.Key | indent 4}}
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/test/echo/client.go

    func New(address string, tlsSettings *common.TLSSettings, extraDialOpts ...grpc.DialOption) (*Client, error) {
    	// Connect to the GRPC (command) endpoint of 'this' app.
    	// TODO: make use of common.ConnectionTimeout once it increases
    	ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second)
    	defer cancel()
    	dialOptions := []grpc.DialOption{grpc.WithBlock()}
    	if tlsSettings != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. tests/integration/security/ca_custom_root/main_test.go

    		Ports: []echo.Port{
    			{
    				Name:         "https",
    				Protocol:     protocol.HTTPS,
    				ServicePort:  443,
    				WorkloadPort: 8443,
    				TLS:          true,
    			},
    		},
    		TLSSettings: &common.TLSSettings{
    			RootCert:      rootCert,
    			ClientCert:    clientCert,
    			Key:           Key,
    			AcceptAnyALPN: true,
    		},
    	}
    
    	serverNakedBarConfig := echo.Config{
    		Namespace: customNs.Get(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. tests/integration/security/filebased_tls_origination/main_test.go

    				Protocol:     protocol.TCP,
    				WorkloadPort: 8092,
    				TLS:          true,
    			},
    		},
    		// Set up TLS certs on the server. This will make the server listen with these credentials.
    		TLSSettings: &common.TLSSettings{
    			RootCert:   mustReadCert("root-cert.pem"),
    			ClientCert: mustReadCert("cert-chain.pem"),
    			Key:        mustReadCert("key.pem"),
    			// Override hostname to match the SAN in the cert we are using
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/common/deployment/external.go

    		Namespace:         e.Namespace,
    		DefaultHostHeader: ExternalHostname,
    		Ports:             ports.All(),
    		// Set up TLS certs on the server. This will make the server listen with these credentials.
    		TLSSettings: &common.TLSSettings{
    			// Echo has these test certs baked into the docker image
    			RootCert:   file.MustAsString(path.Join(env.IstioSrc, "tests/testdata/certs/dns/root-cert.pem")),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. pkg/model/proxy_test.go

    							Address: "address",
    							TlsSettings: &v1alpha3.ClientTLSSettings{
    								SubjectAltNames: []string{"san"},
    							},
    						},
    					}),
    				},
    			},
    			// nolint: lll
    			`{"PROXY_CONFIG":{"configPath":"foo","drainDuration":"5s","controlPlaneAuthPolicy":"MUTUAL_TLS","envoyAccessLogService":{"address":"address","tlsSettings":{"subjectAltNames":["san"]}}}}`,
    			model.BootstrapNodeMetadata{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/workload_manager.go

    	grpcPort      uint16
    	tls           *echoCommon.TLSSettings
    	closing       bool
    	stopCh        chan struct{}
    	handler       workloadHandler
    }
    
    func newWorkloadManager(ctx resource.Context, cfg echo.Config, handler workloadHandler) (*workloadManager, error) {
    	// Get the gRPC port and TLS settings.
    	var grpcInstancePort int
    	var tls *echoCommon.TLSSettings
    	if cfg.IsProxylessGRPC() {
    		grpcInstancePort = grpcMagicPort
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. pkg/test/echo/common/model.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package common
    
    import "istio.io/istio/pkg/config/protocol"
    
    // TLSSettings defines TLS configuration for Echo server
    type TLSSettings struct {
    	// If not empty, RootCert supplies the extra root cert that will be appended to the system cert pool.
    	RootCert   string
    	ClientCert string
    	Key        string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 05 00:22:45 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. tests/integration/telemetry/api/setup_test.go

    					annotation.SidecarUserVolumeMount.Name:                `[{"name": "custom-certs", "mountPath": "/etc/certs/custom"}]`,
    				},
    			},
    		},
    		TLSSettings: &common.TLSSettings{
    			ProxyProvision: true,
    		},
    		Ports: []echo.Port{},
    	}
    	echos = append(echos, prom)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_inbound.go

    				continue
    			}
    
    			if i.Tls != nil && features.EnableTLSOnSidecarIngress {
    				// User provided custom TLS settings
    				cc.tlsSettings = i.Tls.DeepCopy()
    				cc.tlsSettings.CipherSuites = security.FilterCipherSuites(cc.tlsSettings.CipherSuites)
    				cc.port.Protocol = cc.port.Protocol.AfterTLSTermination()
    			}
    
    			chainsByPort[port.TargetPort] = cc
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top