Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for tlsSettings (0.19 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tests/integration/security/util/framework.go

    				ServicePort:  443,
    				WorkloadPort: 8443,
    				TLS:          true,
    			},
    		},
    		// 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:   mustReadCert("root-cert.pem"),
    			ClientCert: mustReadCert("cert-chain.pem"),
    			Key:        mustReadCert("key.pem"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/kube/workload.go

    	appContainerName = "app"
    )
    
    var _ echo.Workload = &workload{}
    
    type workloadConfig struct {
    	pod        corev1.Pod
    	hasSidecar bool
    	grpcPort   uint16
    	cluster    cluster.Cluster
    	tls        *common.TLSSettings
    	stop       chan struct{}
    }
    
    type workload struct {
    	client *echoClient.Client
    
    	workloadConfig
    	forwarder  istioKube.PortForwarder
    	sidecar    *sidecar
    	ctx        resource.Context
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 19:46:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/plugin/authn/authentication.go

    	}
    }
    
    func (b *Builder) ForPort(port uint32) authn.MTLSSettings {
    	if b == nil {
    		return authn.MTLSSettings{
    			Port: port,
    			Mode: model.MTLSDisable,
    		}
    	}
    	return b.applier.InboundMTLSSettings(port, b.proxy, b.trustDomains, authn.NoOverride)
    }
    
    func (b *Builder) ForHBONE() authn.MTLSSettings {
    	if b == nil {
    		return authn.MTLSSettings{
    			Port: model.HBoneInboundListenPort,
    			Mode: model.MTLSDisable,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top