Skip to content

Commit 50dedba

Browse files
committed
fix(cilium): explicitly assign appProtocol to gRPC services
This fixes NetBird agents not connecting to the manager ./caller_not_available:0: 2025/10/12 18:16:42 WARNING: [core] [Channel #98 SubChannel #99]grpc: addrConn.createTransport failed to connect to { Addr: "netbird.stonegarden.dev:443", ServerName: "netbird.stonegarden.dev:443", BalancerAttributes: { "<%!p(pickfirstleaf.managedByPickfirstKeyType={})>": "<%!p(bool=true)>" } }. Err: connection error: desc = "transport: authentication handshake failed: credentials: cannot check peer: missing selected ALPN property. If you upgraded from a grpc-go version earlier than 1.67, your TLS connections may have stopped working due to ALPN enforcement. For more details, see: grpc/grpc-go#434" Related to cilium/cilium#39484 Signed-off-by: Vegard Hagen <[email protected]>
1 parent 51edaaa commit 50dedba

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

k8s/infra/network/cilium/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ loadBalancer:
7676

7777
gatewayAPI:
7878
enabled: true
79-
# enableAlpn: true
80-
# enableAppProtocol: true
79+
enableAlpn: true
80+
enableAppProtocol: true
8181

8282
envoy:
8383
prometheus:

k8s/infra/vpn/netbird/management/svc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ spec:
1010
ports:
1111
- name: http
1212
port: 80
13+
appProtocol: kubernetes.io/h2c
1314
targetPort: http

k8s/infra/vpn/netbird/signal/svc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ spec:
1010
ports:
1111
- name: http
1212
port: 80
13+
appProtocol: kubernetes.io/h2c
1314
targetPort: http

0 commit comments

Comments
 (0)