Skip to content

Commit

Permalink
helm: set cni.uninstall default to false
Browse files Browse the repository at this point in the history
Don't delete the CNI configuration file when stopping the agent. This has
several important effects:
- the node no longer goes NotReady, so it won't be removed from cloud LB
  backends just because cilium is being upgraded
- CNI DEL will still succeed, so pods can always be cleaned up
- No chance of pods being started with a different CNI provider

Signed-off-by: Casey Callendrello <cdc@isovalent.com>
  • Loading branch information
squeed committed Mar 21, 2023
1 parent d890a88 commit 7758b3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Documentation/helm-values.rst

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

2 changes: 1 addition & 1 deletion install/kubernetes/cilium/README.md

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

2 changes: 1 addition & 1 deletion install/kubernetes/cilium/values.yaml

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

2 changes: 1 addition & 1 deletion install/kubernetes/cilium/values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ cni:
# if you're removing Cilium from the cluster. Disable this to prevent the CNI
# configuration file from being removed during agent upgrade, which can cause
# nodes to go unmanageable.
uninstall: true
uninstall: false

# -- Configure chaining on top of other CNI plugins. Possible values:
# - none
Expand Down

0 comments on commit 7758b3e

Please sign in to comment.