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: add pod labels to the server-test.yaml #1094

Merged

Conversation

ShradhaKhard
Copy link
Contributor

@ShradhaKhard ShradhaKhard commented Mar 3, 2025

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
image

@ShradhaKhard ShradhaKhard requested a review from a team as a code owner March 3, 2025 23:40
Copy link

hashicorp-cla-app bot commented Mar 3, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

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.

@ShradhaKhard
Copy link
Contributor Author

@vinay-gopalan I am sorry for the tag, but could you please help me merge this PR?

@ShradhaKhard
Copy link
Contributor Author

@tvoran could you please take a look at this PR and help me get this moving forward? TIA!

@tvoran tvoran added vault-server Area: operation and usage of vault server in k8s enhancement New feature or request labels Mar 6, 2025
@tvoran tvoran added this to the v0.30.0 milestone Mar 6, 2025
Copy link
Member

@tvoran tvoran left a 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.

@tvoran tvoran added bug Something isn't working enhancement New feature or request and removed enhancement New feature or request bug Something isn't working labels Mar 6, 2025
ShradhaKhard and others added 3 commits March 6, 2025 08:11
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>
@ShradhaKhard
Copy link
Contributor Author

@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?

Copy link
Member

@tvoran tvoran left a 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).

@tvoran tvoran merged commit 0470210 into hashicorp:main Mar 8, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vault-server Area: operation and usage of vault server in k8s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants