Commit graph

6439 commits

Author SHA1 Message Date
KubeEdge Bot
16cd8548ee
Merge pull request #6819 from vyagh/taskmanager-delete-tombstone
taskmanager: handle downstream tombstone deletes
2026-08-06 14:58:26 +08:00
KubeEdge Bot
6be5116131
Merge pull request #6891 from Priyanshubhartistm/cloud/fix-gpu-status-annotation-marshal-err
Fix: cloud/edgecontroller: handle json.Marshal error for GPU status annotation
2026-08-06 11:12:26 +08:00
KubeEdge Bot
a940fcfe83
Merge pull request #6884 from RedZapdos123/fix/message-type-closeconnect-string
fix: return CLOSE_CONNECT for MessageTypeCloseConnect
2026-08-06 10:29:26 +08:00
KubeEdge Bot
72d268a6df
Merge pull request #6902 from Priyanshubhartistm/bugfix/checknode-node-found
fix: cloud/cloudhub: correct "Node founded" typo to "Node found" in checknode response
2026-08-06 10:27:26 +08:00
Priyanshubhartistm
27236d45bf
cloud/edgecontroller: handle json.Marshal error for GPU status annotation
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-08-05 11:39:34 +05:30
KubeEdge Bot
0a0054c634
Merge pull request #7063 from vishalmore90/fix-issue-7062
Fix silent pod status unmarshal errors in upstream controller
2026-08-04 17:36:26 +08:00
KubeEdge Bot
ee0f03ed90
Merge pull request #6900 from Priyanshubhartistm/fix/ws-handleRawData-panic
fix: pkg/viaduct: WSConnection.handleRawData uses ProtocolTypeWS instead of ProtocolTypeQuic
2026-08-04 17:33:26 +08:00
Priyanshubhartistm
9ecafd38a6
pkg/viaduct: fix gofmt formatting in ws_test.go
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-08-04 14:13:35 +05:30
KubeEdge Bot
24dc5e625d
Merge pull request #6929 from Priyanshubhartistm/test/servicebus-auth-unit-tests
edge/metaserver: add unit tests for auth package JWT issuer validation
2026-08-04 16:21:26 +08:00
vishal
0ca78909b4 style: fix gofmt lint issues
Signed-off-by: vishal <httpsvishal07@gmail.com>
2026-08-04 10:34:29 +05:30
KubeEdge Bot
d776116bf4
Merge pull request #7004 from santhil-cyber/codex/fix-defaultmaster-endpoint-port-nil
dynamiccontroller: handle optional EndpointSlice port fields
2026-08-03 17:28:26 +08:00
KubeEdge Bot
1fbddf2b8d
Merge pull request #6922 from Priyanshubhartistm/feature/servicebus-http-tls
servicebus: add transport-layer TLS to the embedded HTTP server
2026-08-03 16:51:26 +08:00
Shubham Sharma
e524d48107 taskmanager: inline tombstone handling
Signed-off-by: Shubham Sharma <vyagh.vy@gmail.com>
2026-08-01 10:28:55 +05:30
Priyanshubhartistm
b33a16d6e3
servicebus: add transport-layer TLS to embedded HTTP server
Add optional TLS support to the ServiceBus embedded HTTP server.
Plain HTTP remains the default for backward compatibility

Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-07-29 13:18:52 +05:30
KubeEdge Bot
afc7d19423
Merge pull request #7091 from bhuvan-somisetty/fix/arm64-workflow-forks
ci: skip ARM64 workflow jobs on repository forks
2026-07-27 12:48:23 +08:00
KubeEdge Bot
b61ae1dfc2
Merge pull request #7061 from vishalmore90/fix-issue-7060
Fix: Prevent edgecore crash (DoS) on unsupported edgestream MessageType
2026-07-27 12:47:24 +08:00
KubeEdge Bot
a2d39a6f8d
Merge pull request #7036 from DoisLONG/add-doislong-maintainer
Add DoisLONG as a KubeEdge maintainer
2026-07-25 17:31:23 +08:00
bhuvan-somisetty
5c47827cc4
ci: skip ARM64 workflow jobs on repository forks
Add repository check condition to ARM64 CI workflow jobs to ensure they are skipped on forked repositories where ARM64 self-hosted runners are unavailable.

Signed-off-by: bhuvan-somisetty <somisettybhuvan5@gmail.com>
2026-07-23 16:29:15 +05:30
vishal
f436406850 Fix Pod Status Unmarshal Error Handling in Upstream Controller
Signed-off-by: vishal <httpsvishal07@gmail.com>
2026-07-20 21:39:34 +05:30
vishal
f61850c2e0 Refactored Edgestream Message Dispatching & Unit Testing
Signed-off-by: vishal <httpsvishal07@gmail.com>
2026-07-20 21:22:06 +05:30
DoisLONG
e5d70fc303 docs: add DoisLONG as a KubeEdge maintainer
Signed-off-by: DoisLONG <15221580643@163.com>
2026-07-16 16:51:21 +08:00
KubeEdge Bot
555e57bb71
Merge pull request #7031 from kevin-wangzefeng/security-changelog-20260715
Add v1.21.2, v1.22.2 and v1.23.1 security patch release notes
2026-07-15 22:15:20 +08:00
Kevin Wang
0f9db8138b Add v1.21.2, v1.22.2 and v1.23.1 security patch release notes
Add changelog entries for the v1.21.2, v1.22.2 and v1.23.1 security
patch releases, covering CVE-2026-62371, CVE-2026-62182,
CVE-2026-62369 and CVE-2026-62370.

Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
2026-07-15 21:29:37 +08:00
KubeEdge Bot
33f602ffa1
Merge pull request #7026 from DoisLONG/security/master-security-fixes
security: harden command execution and input validation paths
2026-07-15 17:14:20 +08:00
Chuanhao Jin
243cb7e5b4 test: avoid repeated literals in config update tests
Signed-off-by: Chuanhao Jin <15221580643@163.com>
2026-07-15 16:26:02 +08:00
Chuanhao Jin
a768f578cb test: address review feedback for security hardening
Signed-off-by: Chuanhao Jin <15221580643@163.com>
2026-07-15 16:05:09 +08:00
Chuanhao Jin
d3763ffcc9 fix: limit viaduct packer payload size
Signed-off-by: Chuanhao Jin <15221580643@163.com>
2026-07-15 15:02:45 +08:00
Chuanhao Jin
a860dac0e8 fix: prevent path traversal in tar extraction
Signed-off-by: Chuanhao Jin <15221580643@163.com>
2026-07-15 15:02:42 +08:00
Chuanhao Jin
2b89d683e4 fix: avoid shell execution in ConfigUpdateJob
Signed-off-by: Chuanhao Jin <15221580643@163.com>
2026-07-15 15:02:39 +08:00
Chuanhao Jin
ea2eba3348 fix: avoid shell command execution in NodeUpgradeJob
Signed-off-by: Chuanhao Jin <15221580643@163.com>
2026-07-15 15:02:35 +08:00
Santhil Kherwal
5d79c71323 dynamiccontroller: persist EndpointSlice filter updates
Signed-off-by: Santhil Kherwal <72144927+santhil-cyber@users.noreply.github.com>
2026-07-13 10:28:49 +05:30
Santhil Kherwal
5187d29636 dynamiccontroller: handle optional EndpointSlice port fields
Signed-off-by: Santhil Kherwal <72144927+santhil-cyber@users.noreply.github.com>
2026-07-13 08:49:31 +05:30
KubeEdge Bot
1853a18186
Merge pull request #6817 from vyagh/edgecontroller-tombstone-delete
edgecontroller: handle informer tombstone deletes
2026-07-10 15:01:19 +08:00
KubeEdge Bot
4f6705b91e
Merge pull request #6925 from sh1vam31/fix-ldflags-warning
hack: redirect git tag warnings to stderr
2026-07-10 14:55:18 +08:00
KubeEdge Bot
cd4ef04dd1
Merge pull request #6968 from Priyanshubhartistm/edge/add-twin-unit-tests
edge/devicetwin: improve unit test coverage for twin manager
2026-07-10 14:46:19 +08:00
Priyanshubhartistm
6422c215dc
edge/devicetwin:- Replace weak assertion in TestDealGetTwin_DeviceFound with concrete
checks on DTMessage.Type, DTMessage.Action, and DTMessage.Msg != nil
- Fix unchecked type assertion in TestDealUpdateResult_NilError to
  two-value form with t.Fatalf on failure
- Remove stale source-line references from doc comments

Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-07-09 23:28:57 +05:30
KubeEdge Bot
b44966924c
Merge pull request #6949 from Priyanshubhartistm/pkg/add-filter-unit-tests
pkg/viaduct/filter: add unit tests for MessageFilter
2026-07-08 18:54:17 +08:00
KubeEdge Bot
e42da94312
Merge pull request #6940 from Priyanshubhartistm/fix/quic-typo
pkg/viaduct/conn/quic: fix "steam" typo in serveSession doc comment
2026-07-08 18:53:18 +08:00
KubeEdge Bot
5f4b2a28ad
Merge pull request #6934 from Priyanshu6968/fixes/#6933
pkg/security/certs: return error from ReadPEMFile when no PEM block is found
2026-07-08 18:52:17 +08:00
KubeEdge Bot
88d0d1e84b
Merge pull request #6931 from Priyanshubhartistm/fix/safter-typo
pkg/util: fix typo in GetLocalIP comment
2026-07-08 18:51:18 +08:00
KubeEdge Bot
1247e10da9
Merge pull request #6722 from luomengY/fix_keadm_set
fix: keadm config-update --set report err:`Modules.Edged.: No such field: in Config`
2026-07-08 18:46:18 +08:00
Priyanshubhartistm
97af3f9569
edge/devicetwin: extend twin unit tests
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-07-03 20:05:40 +05:30
Priyanshubhartistm
54eadeea47
pkg/viaduct/filter: add unit tests for MessageFilter
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-07-03 19:03:09 +05:30
Priyanshubhartistm
5729607a98
edge/auth: rename and clarify malformed-token fast-path test
- Remove overlapping edge/pkg/servicebus/servicebus_test.go
  (ServiceBus coverage is handled by PR #6937 which includes
  the required dependency-injection seam and broader test suite)

- Rename TestJWTTokenAuthenticatorIssuerFilterIsAppliedBeforeParsing
  to TestJWTTokenAuthenticatorMalformedTokenStructuralFastPath and
  update its doc comment: the token "not.a.real.jwt.token" is
  rejected because it has five dot-separated segments, hitting the
  len(parts) != 3 guard in hasCorrectIssuer before any issuer
  comparison is ever performed.  The actual issuer-allowlist filter
  is already covered by TestJWTTokenAuthenticatorWrongIssuer.

- Clarify that TestJWTTokenAuthenticatorMultipleIssuers and
  TestJWTTokenAuthenticatorEmptyIssuers call hasCorrectIssuer
  directly and do not exercise the full AuthenticateToken path.

Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-07-02 11:33:10 +05:30
Priyanshubhartistm
70da4ae710
pkg/viaduct/conn/quic: fix "steam" typo in serveSession doc comment
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-07-01 15:55:53 +05:30
Priyanshubhartistm
ee442bbefb
edge/servicebus: assert Body field in TestMarshalResult
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-06-30 14:34:03 +05:30
Priyanshubhartistm
674a92868f
Add baseline unit tests and Add auth_test.go
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-06-30 14:34:03 +05:30
Priyanshubhartistm
f5c301a992
pkg/util: fix typo in GetLocalIP comment
Signed-off-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
2026-06-30 14:02:45 +05:30
Priyanshu6968
5785098236 pkg/security/certs: use t.TempDir in ReadPEMFile test
Signed-off-by: Priyanshu6968 <priyanshunigam469@gmail.com>
2026-06-30 11:18:45 +05:30
Priyanshu6968
823de877ba pkg/security/certs: return error from ReadPEMFile when no PEM block is found
Signed-off-by: Priyanshu6968 <priyanshunigam469@gmail.com>
2026-06-30 11:03:45 +05:30