Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for httpsAddr (0.1 sec)

  1. pilot/pkg/bootstrap/webhook.go

    func (s *Server) initSecureWebhookServer(args *PilotArgs) {
    	// create the https server for hosting the k8s injectionWebhook handlers.
    	if args.ServerOptions.HTTPSAddr == "" {
    		s.httpsMux = s.httpMux
    		istiolog.Infof("HTTPS port is disabled, multiplexing webhooks on the httpAddr %v", args.ServerOptions.HTTPAddr)
    		return
    	}
    
    	tlsConfig := &tls.Config{
    		GetCertificate: s.getIstiodCertificate,
    		MinVersion:     tls.VersionTLS12,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. samples/jwt-server/src/main.go

    		log.Fatalf("Failed to start HTTPS server: %v", err)
    	}
    }
    
    func (s *JWTServer) runHTTP(httpAddr string) {
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go s.startHTTP(httpAddr, &wg)
    	wg.Wait()
    }
    
    func (s *JWTServer) runHTTPS(httpsAddr string) {
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go s.startHTTPS(httpsAddr, &wg)
    	wg.Wait()
    }
    
    func (s *JWTServer) stop() {
    	s.httpServer.Close()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 16 23:56:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-discovery/app/cmd.go

    	// using address, so it can be configured as localhost:.. (possibly UDS in future)
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.HTTPAddr, "httpAddr", ":8080",
    		"Discovery service HTTP address")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.HTTPSAddr, "httpsAddr", ":15017",
    		"Injection and validation service HTTPS address")
    	c.PersistentFlags().StringVar(&serverArgs.ServerOptions.GRPCAddr, "grpcAddr", ":15010",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/server_test.go

    			args := NewPilotArgs(func(p *PilotArgs) {
    				p.Namespace = "istio-system"
    				p.ServerOptions = DiscoveryServerOptions{
    					// Dynamically assign all ports.
    					HTTPAddr:       ":0",
    					MonitoringAddr: ":0",
    					GRPCAddr:       ":0",
    					HTTPSAddr:      ":0",
    					TLSOptions: TLSOptions{
    						CipherSuits: c.serverCipherSuites,
    					},
    				}
    				p.RegistryOptions = RegistryOptions{
    					KubeConfig: "config",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. pilot/pkg/bootstrap/options.go

    	// a port number is automatically chosen.
    	HTTPAddr string
    
    	// The listening address for HTTPS (webhooks). If the port in the address is empty or "0" (as in "127.0.0.1:" or "[::1]:0")
    	// a port number is automatically chosen.
    	// If the address is empty, the secure port is disabled, and the
    	// webhooks are registered on the HTTP port - a gateway in front will
    	// terminate TLS instead.
    	HTTPSAddr string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pilot/pkg/bootstrap/server.go

    	ConfigStores           []model.ConfigStoreController
    	serviceEntryController *serviceentry.Controller
    
    	httpServer  *http.Server // debug, monitoring and readiness Server.
    	httpAddr    string
    	httpsServer *http.Server // webhooks HTTPS Server.
    	httpsAddr   string
    
    	grpcServer        *grpc.Server
    	grpcAddress       string
    	secureGrpcServer  *grpc.Server
    	secureGrpcAddress string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  7. samples/extauthz/cmd/extauthz/main.go

    	if err := s.httpServer.Serve(listener); err != nil {
    		log.Fatalf("Failed to start HTTP server: %v", err)
    	}
    }
    
    func (s *ExtAuthzServer) run(httpAddr, grpcAddr string) {
    	var wg sync.WaitGroup
    	wg.Add(2)
    	go s.startHTTP(httpAddr, &wg)
    	go s.startGRPC(grpcAddr, &wg)
    	wg.Wait()
    }
    
    func (s *ExtAuthzServer) stop() {
    	s.grpcServer.Stop()
    	log.Printf("GRPC server stopped")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top