Skip to content
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

Remove tetragon.enableCiliumAPI configuration option #1420

Closed
wants to merge 1 commit into from

Conversation

michi-covalent
Copy link
Contributor

@michi-covalent michi-covalent commented Sep 2, 2023

Pod.Labels field got deprecated in v0.11 1, so we can stop setting the
field in main branch. This means that Tetragon no longer depends on
the Cilium state, so we don't have to synchronize it anymore. This patch
removes tetragon.enableCiliumAPI Helm value and deletes packages related
to Cilium state synchronization.

Signed-off-by: Michi Mutsuzaki michi@isovalent.com

Footnotes

  1. https://github.com/cilium/tetragon/pull/1363

@netlify
Copy link

netlify bot commented Sep 5, 2023

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit e4f1050
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/64f76b6d7f6580000880cc99
😎 Deploy Preview https://deploy-preview-1420--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@michi-covalent michi-covalent changed the title Delete pkg/{cilium,oldhubble} Remove tetragon.enableCiliumAPI configuration option Sep 5, 2023
@michi-covalent michi-covalent marked this pull request as ready for review September 5, 2023 20:01
@michi-covalent michi-covalent requested review from mtardy and a team as code owners September 5, 2023 20:01
Pod.Labels field got deprecated in v0.11 [^1], so we can stop setting the
field in main branch. This means that Tetragon no longer depends on
the Cilium state, so we don't have to synchronize it anymore. This patch
removes tetragon.enableCiliumAPI Helm value and deletes packages related
to Cilium state synchronization.

[^1]: #1363

Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
@michi-covalent michi-covalent marked this pull request as draft September 9, 2023 23:53
@@ -94,7 +94,6 @@ func readAndSetFlags() {

option.Config.EnableProcessCred = viper.GetBool(keyEnableProcessCred)
option.Config.EnableProcessNs = viper.GetBool(keyEnableProcessNs)
option.Config.EnableCilium = viper.GetBool(keyEnableCiliumAPI)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to keep the option and only fail it is set to true? I think this would enable us to run the :latest image with the old helm charts that define this option. We can remove it once we have released the next versin.

@mtardy
Copy link
Member

mtardy commented Sep 22, 2023

Hey, should we merge that (once it's rebased)? It's still in draft for now.

@mtardy mtardy added the needs-rebase This PR needs to be rebased because it has merge conflicts. label Sep 22, 2023
@mtardy
Copy link
Member

mtardy commented Oct 5, 2023

Should we close this one now that #1541 was merged? maybe it was missing the:

and deletes packages related to Cilium state synchronization.

@michi-covalent
Copy link
Contributor Author

yeah this one is a much bigger change since it actually deletes pkd/oldhubble and such. let's close it for now, i'll reopen it when we are ready to delete these cilium-related packages 💣

@michi-covalent michi-covalent deleted the pr/michi/disappear branch October 5, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase This PR needs to be rebased because it has merge conflicts.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants