Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for ServerName (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication_test.go

    func TestAuthenticationDetection(t *testing.T) {
    	tests := []struct {
    		name       string
    		kubeconfig clientcmdapi.Config
    		serverName string
    		expected   rest.Config
    	}{
    		{
    			name:       "empty",
    			serverName: "foo.com",
    		},
    		{
    			name:       "fallback to current context",
    			serverName: "foo.com",
    			kubeconfig: clientcmdapi.Config{
    				AuthInfos: map[string]*clientcmdapi.AuthInfo{
    					"bar.com": {Token: "bar"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. pilot/pkg/grpc/tls.go

    	}
    
    	if host, _, err := net.SplitHostPort(opts.ServerAddress); err == nil {
    		config.ServerName = host
    	}
    	// For debugging on localhost (with port forward)
    	if strings.Contains(config.ServerName, "localhost") {
    		config.ServerName = "istiod.istio-system.svc"
    	}
    	if opts.SAN != "" {
    		config.ServerName = opts.SAN
    	}
    	// Compliance for all gRPC clients (e.g. Citadel)..
    	sec_model.EnforceGoCompliance(&config)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 22:11:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    		},
    		"secure with mismatched server": {
    			TLSConfig:   &tls.Config{InsecureSkipVerify: false, RootCAs: roots, ServerName: "bogus.com"},
    			ExpectError: "not bogus.com",
    		},
    		"secure with matched server": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: false, RootCAs: roots, ServerName: "example.com"},
    		},
    
    		"insecure, custom dial": {
    			TLSConfig: &tls.Config{InsecureSkipVerify: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. pkg/hbone/dialer.go

    	if config == nil {
    		config = &tls.Config{MinVersion: tls.VersionTLS12}
    	}
    	// If no ServerName is set, infer the ServerName
    	// from the hostname we're connecting to.
    	if config.ServerName == "" {
    		// Make a copy to avoid polluting argument or default.
    		c := config.Clone()
    		c.ServerName = hostname
    		config = c
    	}
    
    	conn := tls.Client(rawConn, config)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go

    				// tls.Handshake() requires ServerName or InsecureSkipVerify
    				tlsConfig = &tls.Config{
    					InsecureSkipVerify: true,
    				}
    			} else if len(tlsConfig.ServerName) == 0 && !tlsConfig.InsecureSkipVerify {
    				// tls.HandshakeContext() requires ServerName or InsecureSkipVerify
    				// infer the ServerName from the hostname we're connecting to.
    				inferredHost := dialAddr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GroovyInteroperabilityIntegrationTest.kt

            withFile(
                "groovy.gradle",
                """
                class MyExtension {
                    String server = 'default'
    
                    def configureServerName(serverName) {
                        this.server = serverName
                    }
                }
    
                class MyPlugin implements Plugin<Project> {
                    void apply(project) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    		cfg.NextProtos = []string{"http/1.1"}
    
    		serverName := cc.Service.Name + "." + cc.Service.Namespace + ".svc"
    
    		host := net.JoinHostPort(serverName, strconv.Itoa(int(port)))
    		cfg.Host = "https://" + host
    		cfg.APIPath = cc.Service.Path
    		// Set the server name if not already set
    		if len(cfg.TLSClientConfig.ServerName) == 0 {
    			cfg.TLSClientConfig.ServerName = serverName
    		}
    
    		delegateDialer := cfg.Dial
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pkg/test/echo/cmd/client/main.go

    	rootCmd.PersistentFlags().StringSliceVarP(&alpn, "alpn", "", nil, "alpn to set")
    	rootCmd.PersistentFlags().StringVarP(&serverName, "server-name", "", serverName, "server name to set")
    
    	rootCmd.PersistentFlags().StringVar(&hboneAddress, "hbone", "", "address to send HBONE request to")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. helm/minio/templates/servicemonitor.yaml

        - port: https
          scheme: https
          tlsConfig:
            ca:
              secret:
                name: {{ .Values.tls.certSecret }}
                key: {{ .Values.tls.publicCrt }}
            serverName: {{ template "minio.fullname" . }}
        {{- else }}
        - port: http
          scheme: http
        {{- end }}
          path: /minio/v2/metrics/node
          {{- if .Values.metrics.serviceMonitor.interval }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. pkg/kubelet/util/util_windows.go

    	// so using `url` like we do on unix gives us unclear benefits - see https://github.com/kubernetes/kubernetes/issues/78628
    	// So we just construct the path from scratch.
    	// Format: \\ServerName\pipe\PipeName
    	// Where where ServerName is either the name of a remote computer or a period, to specify the local computer.
    	// We only consider PipeName as regular windows path, while the pipe path components are fixed, hence we use constants.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top