-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for encryption in Cilium #9154
Conversation
Weave added a Alternatively we could rename |
Yeah, my initial thought was to create a separate subcommand for cilium, but then I figured it will end up being too much code replication, just for the sake of having a different command. Which eventually brought me to think that adding on top of the existing one without breaking any existing compatibility would work best, for future cases (and weave would be the single exception). WDYT? |
I think the user interface of an option on a subcommand is worse than the code duplication. The code duplication could probably be addressed with a refactor. Cilium should either use the secret named "weavepassword" or there should be auto-migration code. For the Cobra subcommand we could make "weavepassword" an alias for "network" or whatever we choose. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the few comments I added, this looks good from cilium side. The use of encryptionConfig
is more uncertain.
/hold until after we have branched off 1.18 |
Gotcha, @johngmyers. Point taken about the user interface. 😄 |
0f066fb
to
cb9ff4b
Compare
@johngmyers @olemarkus |
/lgtm |
Adding support for 'secret-name' flag Adding instructions to enable encryption Updating docs for cli Addressing comments Adding ciliumpassword subcommand to 'kops create secret' Updating command to generate ciliumpassword secret
/lgtm |
@olemarkus now that 1.18 was branched-off, are we clear to remove the hold? |
Yep. /hold cancel |
/assign @KashifSaadat |
/milestone 1.19 |
@MoShitrit: You must be a member of the kubernetes/kops-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Kops Maintainers and have them propose you as an additional delegate for this responsibility. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Looks great, thanks @MoShitrit for the contribution! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KashifSaadat, MoShitrit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixes #9031
Summary of the PR:
Update the networking modules and CRDs (including auto generated) to support
enableEncryption
flag, along with creating an encryption key, along with relevant documentation.Add a subcommand
ciliumpassword
forkops create secret
. This will generate the encryption key according to the provided instructions in the official cilium docs.