Skip to content

Commit

Permalink
daemon: Mark CES feature as beta in agent flag
Browse files Browse the repository at this point in the history
This commit marks the CiliumEndpointSlice feature as beta (as per the
documentation) in the agent flag description. This is necessary because
users don't always read the full documentation before turning agent
flags on.

While at it, change the flag description to match the wording of other
flags.

Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno authored and ldelossa committed Apr 19, 2023
1 parent 5ca3696 commit a6d0142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/cmdref/cilium-agent.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion daemon/cmd/daemon_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ func initializeFlags() {
flags.MarkHidden(option.BypassIPAvailabilityUponRestore)
option.BindEnv(Vp, option.BypassIPAvailabilityUponRestore)

flags.Bool(option.EnableCiliumEndpointSlice, false, "If set to true, CiliumEndpointSlice feature is enabled and cilium agent watch for CiliumEndpointSlice instead of CiliumEndpoint to update the IPCache.")
flags.Bool(option.EnableCiliumEndpointSlice, false, "Enable the CiliumEndpointSlice watcher in place of the CiliumEndpoint watcher (beta)")
option.BindEnv(Vp, option.EnableCiliumEndpointSlice)

flags.Bool(option.EnableK8sTerminatingEndpoint, true, "Enable auto-detect of terminating endpoint condition")
Expand Down

0 comments on commit a6d0142

Please sign in to comment.