Revision bc5aa928dbb3a676fb8867444dba8f312cfd334b authored by Paul Chaignon on 24 July 2023, 21:48:38 UTC, committed by Dylan Reimerink on 01 August 2023, 12:04:01 UTC
[ upstream commit efbba5916347640007bce74fe20afebedbbbe561 ]

[ backporter's notes: Many small conflicts due to some node ID getters
  being added in v1.14 for the Mutual Auth feature. Since that feature is
  absent in previous versions, we can also remove the ipcache's
  NodeIDHandler. Some changes to integration tests that don't exist
  before v1.14 were also not backported. ]

The AllocateNodeID function was used to allocate node IDs from the
ipcache logic. Since we don't populate the ipcache with node IDs
anymore, it's unused and can be removed. The DeallocateNodeID function
was never used (a sibling function was used instead).

This commit has no functional changes.

Reported-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
1 parent ff096fd
History
File Mode Size
api
cmd
identity
metrics
option
pkg
watchers
.gitignore -rw-r--r-- 111 bytes
Makefile -rw-r--r-- 981 bytes
allocator_providers.go -rw-r--r-- 229 bytes
ccnp_event.go -rw-r--r-- 4.2 KB
cilium_node.go -rw-r--r-- 19.5 KB
cmdref.go -rw-r--r-- 1004 bytes
cnp_event.go -rw-r--r-- 4.2 KB
flags.go -rw-r--r-- 15.9 KB
identity_gc.go -rw-r--r-- 3.1 KB
k8s_cep_gc.go -rw-r--r-- 6.4 KB
k8s_identity.go -rw-r--r-- 7.0 KB
k8s_pod_controller.go -rw-r--r-- 3.3 KB
kvstore_watchdog.go -rw-r--r-- 3.1 KB
kvstore_watchdog_test.go -rw-r--r-- 3.0 KB
main.go -rw-r--r-- 19.9 KB
provider_alibabacloud_flags.go -rw-r--r-- 551 bytes
provider_alibabacloud_register.go -rw-r--r-- 398 bytes
provider_aws_flags.go -rw-r--r-- 1.9 KB
provider_aws_register.go -rw-r--r-- 568 bytes
provider_azure_flags.go -rw-r--r-- 1.2 KB
provider_azure_register.go -rw-r--r-- 498 bytes
provider_operator_register.go -rw-r--r-- 476 bytes

back to top