From 3258a054cdd5f3e1d01a25a1b2571e5b0ddda700 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Wed, 23 Mar 2022 14:39:45 +0900 Subject: [PATCH] Add HTTPS port variables This patch adds HTTPS port variables. --- pkg/apis/networking/ports.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/apis/networking/ports.go b/pkg/apis/networking/ports.go index 2a64a1021..1c5b5301b 100644 --- a/pkg/apis/networking/ports.go +++ b/pkg/apis/networking/ports.go @@ -26,11 +26,18 @@ const ( // HTTP/2 endpoints. ServiceHTTP2Port = 81 + // ServiceHTTPSPort is the port that we setup our Serving and Activator K8s services for + // HTTPS endpoints. + ServiceHTTPSPort = 443 + // ServicePortNameHTTP1 is the name of the external port of the service for HTTP/1.1 ServicePortNameHTTP1 = "http" // ServicePortNameH2C is the name of the external port of the service for HTTP/2 ServicePortNameH2C = "http2" + + // ServicePortNameHTTPS is the name of the external port of the service for HTTPS + ServicePortNameHTTPS = "https" ) // ServicePortName returns the port for the app level protocol.