Skip to content

Commit 70ab87e

Browse files
authored
[backport v2.12] bug webhook error msg (#1152)
* backport rancher v2.12 * backport go.mod
1 parent 17fd532 commit 70ab87e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ require (
4242
github.com/evanphx/json-patch v5.9.11+incompatible
4343
github.com/go-ldap/ldap/v3 v3.4.10
4444
github.com/gorilla/mux v1.8.1
45-
github.com/rancher/dynamiclistener v0.7.0
45+
github.com/rancher/dynamiclistener v0.7.2-rc1
4646
github.com/rancher/jsonpath v0.0.0-20250620213443-ad24535cf0c1
4747
github.com/rancher/lasso v0.2.4
4848
github.com/rancher/rancher/pkg/apis v0.0.0-20250919165148-49b3f67fb245

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg
124124
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
125125
github.com/rancher/aks-operator v1.12.2 h1:8LIhxbLGAwfEHUdoVZCDBJAchOOwYApcYLDB4TnI9cU=
126126
github.com/rancher/aks-operator v1.12.2/go.mod h1:/GsBn/+RmLBvwlfUeOPVA1kWS4bGHIJJDCZ96fWF+fE=
127-
github.com/rancher/dynamiclistener v0.7.0 h1:+jyfZ4lVamc1UbKWo8V8dhSPtCgRZYaY8nm7wiHeko4=
128-
github.com/rancher/dynamiclistener v0.7.0/go.mod h1:Q2YA42xp7Xc69JiSlJ8GpvLvze261T0iQ/TP4RdMCYk=
127+
github.com/rancher/dynamiclistener v0.7.2-rc1 h1:KATDDyzlpE8VvqAjOOwqrwHaPY80XlFyA7tOlw6AyXw=
128+
github.com/rancher/dynamiclistener v0.7.2-rc1/go.mod h1:kq+3QHceIpW3f2xVpYgok7ILn1JcS8+O2utC42y8ZNY=
129129
github.com/rancher/eks-operator v1.12.2 h1:eInPuMsNNLxtclDPQPiRmD9R4rfsPGMfHGcx+AKEYqU=
130130
github.com/rancher/eks-operator v1.12.2/go.mod h1:R/rjIhYk5T5Z1hNatDGHM3HAic+j70OqwnqprrKbYQ4=
131131
github.com/rancher/fleet/pkg/apis v0.13.0 h1:soXF3cKWD9sMRcX5OlVnOY8aoPr+/FF8DP/zZtLLe3g=

pkg/server/server.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ func listenAndServe(ctx context.Context, clients *clients.Clients, validators []
163163
FilterCN: dynamiclistener.OnlyAllow(tlsName),
164164
TLSConfig: tlsConfig,
165165
},
166-
DisplayServerLogs: true,
166+
DisplayServerLogs: true,
167+
IgnoreTLSHandshakeError: true,
167168
})
168169
}
169170

0 commit comments

Comments
 (0)