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

fix: respect the anonymize value from CR during initialization #332

Merged
merged 5 commits into from
Mar 14, 2024

Conversation

arbreezy
Copy link
Member

Closes #306

📑 Description

Small PR to address a behaviour with kubebuilder markers and booleans.
During initialisation of K8sGPT, the operator will attempt to add a finaliser and the K8s api server will not be able to distinguish if that's a default value or something that is been explicitly set from the CR thus setting the default which is true

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

Signed-off-by: Aris Boutselis <arisboutselis08@gmail.com>
@arbreezy arbreezy requested review from a team as code owners January 28, 2024 18:16
@AlexsJones AlexsJones merged commit f604212 into k8sgpt-ai:main Mar 14, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Anonymized field does not work
2 participants