-
Notifications
You must be signed in to change notification settings - Fork 894
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: add pod labels to the server-test.yaml #1094
fix: add pod labels to the server-test.yaml #1094
Conversation
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
@vinay-gopalan I am sorry for the tag, but could you please help me merge this PR? |
@tvoran could you please take a look at this PR and help me get this moving forward? TIA! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some whitespace suggestions, but otherwise I think this looks good.
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
Co-authored-by: Theron Voran <tvoran@users.noreply.github.com>
@tvoran, thank you for reviewing the changes! I have accepted your suggestions and committed them. Could you please 👍 the PR and help me merge it? Do we need to follow any process to tag the changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! We'll get this into the next release (probably later this month).
Overview
This change allows one to add labels to the server-test.yaml.
The rationale is that, in our CI pipeline we have a kyverno policy that validates if the required labels are added to the pod manifests. Currently, there is no way to pass extra labels to this template and my change allows to use an existing template to insert pod labels to the server-test pod.
I added unit test to verify the changes
