From 97e309c0f8b59afcadc07f65b50ef5a265a31817 Mon Sep 17 00:00:00 2001 From: Knative Automation Date: Tue, 10 Oct 2023 02:11:09 +0000 Subject: [PATCH] upgrade to latest dependencies bumping knative.dev/serving 0ee4c3a...7bcf034: > 7bcf034 Update net-istio nightly (# 14492) > c54b6ad Update net-kourier nightly (# 14491) > 39c8b2c Update net-certmanager nightly (# 14489) bumping knative.dev/pkg d0a82f9...bae23eb: > bae23eb Fix potential redefined error with kubeconfig flag (# 2855) Signed-off-by: Knative Automation --- go.mod | 4 ++-- go.sum | 8 ++++---- vendor/knative.dev/pkg/environment/client_config.go | 8 ++++++-- vendor/modules.txt | 4 ++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/go.mod b/go.mod index cb3665216..972646262 100644 --- a/go.mod +++ b/go.mod @@ -15,8 +15,8 @@ require ( k8s.io/client-go v0.27.6 knative.dev/eventing v0.38.1-0.20231006142033-9de527599ed0 knative.dev/hack v0.0.0-20231006131420-158898889ae8 - knative.dev/pkg v0.0.0-20231006130804-d0a82f9cbb8f - knative.dev/serving v0.38.1-0.20231006142030-0ee4c3ad64c2 + knative.dev/pkg v0.0.0-20231009134048-bae23eb35759 + knative.dev/serving v0.38.1-0.20231010011557-7bcf0348f14f ) require ( diff --git a/go.sum b/go.sum index 54b44cb1f..8bd7697d6 100644 --- a/go.sum +++ b/go.sum @@ -782,10 +782,10 @@ knative.dev/hack v0.0.0-20231006131420-158898889ae8 h1:wz+G++v1u11IuFHX0ip3a849z knative.dev/hack v0.0.0-20231006131420-158898889ae8/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/networking v0.0.0-20231004065302-53ba1f44ef7a h1:Q31AcykUUn/EcDFLt4citbeN8W7sxHenX1YG8l+urcE= knative.dev/networking v0.0.0-20231004065302-53ba1f44ef7a/go.mod h1:LAT8cu/PGOtik5ABZhhl6h45QrNRXj0uqlpIP0dmLnU= -knative.dev/pkg v0.0.0-20231006130804-d0a82f9cbb8f h1:yAp7wEM3EAZ3hrQ/QgxS2OR9muX/Nywxnld9n/t7fkc= -knative.dev/pkg v0.0.0-20231006130804-d0a82f9cbb8f/go.mod h1:PxnS8ZnVtC0S+An+NEhrpzWt6k9hedDNt659Gu5EtJk= -knative.dev/serving v0.38.1-0.20231006142030-0ee4c3ad64c2 h1:xhE1ZG7sj0hgOSoLuo3hzAKU5x4yp5dMUhQKj1NDyhg= -knative.dev/serving v0.38.1-0.20231006142030-0ee4c3ad64c2/go.mod h1:UvbR1b2b9QKgOIA+4QxmjvHfQH5miQbfgwzzDbKAaoQ= +knative.dev/pkg v0.0.0-20231009134048-bae23eb35759 h1:k/bzOYJxhesw7eWvAudZ57TQXa8aBdcrqPEEhWsTzes= +knative.dev/pkg v0.0.0-20231009134048-bae23eb35759/go.mod h1:PxnS8ZnVtC0S+An+NEhrpzWt6k9hedDNt659Gu5EtJk= +knative.dev/serving v0.38.1-0.20231010011557-7bcf0348f14f h1:uuMtOGSkpMroz03gLo9Il8+vUb1WLhal6JUobWOl46U= +knative.dev/serving v0.38.1-0.20231010011557-7bcf0348f14f/go.mod h1:UvbR1b2b9QKgOIA+4QxmjvHfQH5miQbfgwzzDbKAaoQ= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/knative.dev/pkg/environment/client_config.go b/vendor/knative.dev/pkg/environment/client_config.go index aef33927e..0b51857aa 100644 --- a/vendor/knative.dev/pkg/environment/client_config.go +++ b/vendor/knative.dev/pkg/environment/client_config.go @@ -44,8 +44,12 @@ func (c *ClientConfig) InitFlags(fs *flag.FlagSet) { fs.StringVar(&c.ServerURL, "server", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.") - fs.StringVar(&c.Kubeconfig, "kubeconfig", os.Getenv("KUBECONFIG"), - "Path to a kubeconfig. Only required if out-of-cluster.") + if f := fs.Lookup("kubeconfig"); f != nil { + c.Kubeconfig = f.Value.String() + } else { + fs.StringVar(&c.Kubeconfig, "kubeconfig", os.Getenv("KUBECONFIG"), + "Path to a kubeconfig. Only required if out-of-cluster.") + } fs.IntVar(&c.Burst, "kube-api-burst", int(envVarOrDefault("KUBE_API_BURST", 0)), "Maximum burst for throttle.") diff --git a/vendor/modules.txt b/vendor/modules.txt index fe997a87a..54189693f 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1018,7 +1018,7 @@ knative.dev/hack knative.dev/networking/pkg/apis/networking knative.dev/networking/pkg/apis/networking/v1alpha1 knative.dev/networking/pkg/config -# knative.dev/pkg v0.0.0-20231006130804-d0a82f9cbb8f +# knative.dev/pkg v0.0.0-20231009134048-bae23eb35759 ## explicit; go 1.18 knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -1071,7 +1071,7 @@ knative.dev/pkg/tracker knative.dev/pkg/version knative.dev/pkg/webhook knative.dev/pkg/webhook/certificates/resources -# knative.dev/serving v0.38.1-0.20231006142030-0ee4c3ad64c2 +# knative.dev/serving v0.38.1-0.20231010011557-7bcf0348f14f ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1