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

Clarify metadata processing in pod resource overrides #3613

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nelljerram
Copy link
Member

By using reflection, instead of a per-struct GetMetadata() method for each override struct that we define, it becomes much easier to see that the logic is to apply labels and annotations from the struct's Metadata field, so long as the struct has that field.

By using reflection, instead of a per-struct GetMetadata() method for each
override struct that we define, it becomes much easier to see that the logic is
to apply labels and annotations from the struct's Metadata field, so long as
the struct _has_ that field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants