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

feat: log k8s create/update/delete actions #1615

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

jopit
Copy link
Collaborator

@jopit jopit commented Dec 3, 2024

What type of PR is this?

/kind enhancement

What does this PR do / why we need it:

Logs Create/Update/Deletion actions performed by Argo CD operator

@jopit jopit force-pushed the gitops-5878-log-k8s-actions branch from a83c253 to 145a450 Compare December 6, 2024 18:22
Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

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

Looks great, thanks @jopit! And thanks for going through all the code and adding all these statements, I appreciate it as it was likely both somewhat monotonous work 😄, but also a case where its important to get the details right (and that combination can be deadly!)

I'm definitely looking forward to these changes making it into product code, as it should make working with user/customer operator logs much easier.

Everything looks great, just one suggestion around checking for nil on the logged object then good to go.

controllers/argoutil/resource.go Show resolved Hide resolved
Copy link
Member

@jgwest jgwest left a comment

Choose a reason for hiding this comment

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

LGTM, thanks again @jopit!

@jgwest jgwest merged commit 022b4f4 into argoproj-labs:master Dec 12, 2024
7 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.

2 participants