diff --git a/cmd/activator/main.go b/cmd/activator/main.go index fbb605bc6f8e..32724458ce5c 100644 --- a/cmd/activator/main.go +++ b/cmd/activator/main.go @@ -46,10 +46,10 @@ import ( pkglogging "knative.dev/pkg/logging" "knative.dev/pkg/logging/logkey" pkgnet "knative.dev/pkg/network" + knativetls "knative.dev/pkg/network/tls" k8sruntime "knative.dev/pkg/observability/runtime/k8s" "knative.dev/pkg/signals" "knative.dev/pkg/system" - knativetls "knative.dev/pkg/tls" "knative.dev/pkg/version" "knative.dev/pkg/websocket" "knative.dev/serving/pkg/activator" diff --git a/pkg/queue/sharedmain/main.go b/pkg/queue/sharedmain/main.go index ec819973d573..ffdc78b40a27 100644 --- a/pkg/queue/sharedmain/main.go +++ b/pkg/queue/sharedmain/main.go @@ -30,7 +30,7 @@ import ( netproxy "knative.dev/networking/pkg/http/proxy" pkghandler "knative.dev/pkg/network/handlers" - knativetls "knative.dev/pkg/tls" + knativetls "knative.dev/pkg/network/tls" "knative.dev/serving/pkg/activator" "github.com/kelseyhightower/envconfig" diff --git a/pkg/reconciler/revision/resolve.go b/pkg/reconciler/revision/resolve.go index a1ac16f00458..fc73ce2d058f 100644 --- a/pkg/reconciler/revision/resolve.go +++ b/pkg/reconciler/revision/resolve.go @@ -29,7 +29,7 @@ import ( "github.com/google/go-containerregistry/pkg/v1/remote" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/client-go/kubernetes" - knativetls "knative.dev/pkg/tls" + knativetls "knative.dev/pkg/network/tls" ) type digestResolver struct { diff --git a/vendor/knative.dev/pkg/tls/config.go b/vendor/knative.dev/pkg/tls/config.go deleted file mode 100644 index e4d975e0180f..000000000000 --- a/vendor/knative.dev/pkg/tls/config.go +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright 2026 The Knative Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -// Deprecated: Use knative.dev/pkg/network/tls instead. -// This package is kept for backward compatibility and re-exports all -// public symbols from knative.dev/pkg/network/tls. -package tls - -import ( - networktls "knative.dev/pkg/network/tls" -) - -// Deprecated: Use knative.dev/pkg/network/tls.MinVersionEnvKey instead. -const MinVersionEnvKey = networktls.MinVersionEnvKey - -// Deprecated: Use knative.dev/pkg/network/tls.MaxVersionEnvKey instead. -const MaxVersionEnvKey = networktls.MaxVersionEnvKey - -// Deprecated: Use knative.dev/pkg/network/tls.CipherSuitesEnvKey instead. -const CipherSuitesEnvKey = networktls.CipherSuitesEnvKey - -// Deprecated: Use knative.dev/pkg/network/tls.CurvePreferencesEnvKey instead. -const CurvePreferencesEnvKey = networktls.CurvePreferencesEnvKey - -// Deprecated: Use knative.dev/pkg/network/tls.DefaultConfigFromEnv instead. -var DefaultConfigFromEnv = networktls.DefaultConfigFromEnv diff --git a/vendor/modules.txt b/vendor/modules.txt index 01c737a3e0be..b2effaaeaba9 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -1655,7 +1655,6 @@ knative.dev/pkg/test/spoof knative.dev/pkg/test/upgrade knative.dev/pkg/test/upgrade/shell knative.dev/pkg/test/vegeta/pacers -knative.dev/pkg/tls knative.dev/pkg/tracker knative.dev/pkg/version knative.dev/pkg/webhook