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

[RHCLOUD-20060] Add custom annotations to Deployment and jobs #667

Merged
merged 13 commits into from
Jul 21, 2022

Conversation

adamrdrew
Copy link
Contributor

This patch adds the ability to define custom annotations for deployments and jobs. Kuttl tests are also added to validate that they work.

This patch is pretty simple, but one quirk to note was that rather than compose ObjectMeta into Deployment I added a new DeploymentMetadata type with an annotations map hanging off that. I made that decision because I figured we may not want Clowder users to be able to set full ObjectMeta on it. That may have been the wrong decision so let me know.

Copy link
Collaborator

@psav psav left a comment

Choose a reason for hiding this comment

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

A few changes - suggestions

@adamrdrew
Copy link
Contributor Author

Thanks! This should be good to go. Have a look and let me know!

@psav psav merged commit b9edea2 into master Jul 21, 2022
@psav psav deleted the RHCLOUD-20060 branch March 6, 2023 17:21
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