Skip to content

fix: pass deployment.labels to deployment #618

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AdrienKuhn
Copy link

@AdrienKuhn AdrienKuhn commented Aug 15, 2025

Description of changes:

This pull request enhances the Helm deployment template by allowing users to add custom labels to Kubernetes deployments through values in the Helm chart, similar to what has been done at the spec.template.labels level. This makes the deployment more flexible and customizable.

Helm template improvements:

  • Added support for injecting user-defined deployment labels from .Values.deployment.labels into the metadata section of the deployment.yaml.tpl template.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ack-prow ack-prow bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2025
@ack-prow ack-prow bot requested review from a-hilaly and rushmash91 August 15, 2025 01:47
Copy link

ack-prow bot commented Aug 15, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: AdrienKuhn
Once this PR has been reviewed and has the lgtm label, please assign michaelhtm for approval by writing /assign @michaelhtm in a comment. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ack-prow ack-prow bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 15, 2025
Copy link

ack-prow bot commented Aug 15, 2025

Hi @AdrienKuhn. Thanks for your PR.

I'm waiting for a aws-controllers-k8s member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@AdrienKuhn AdrienKuhn marked this pull request as ready for review August 15, 2025 01:53
@ack-prow ack-prow bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 15, 2025
@ack-prow ack-prow bot requested a review from knottnt August 15, 2025 01:53
@AdrienKuhn
Copy link
Author

Hello @knottnt,

Is there anything else required to start testing this change ?

Thank you !

@knottnt
Copy link
Contributor

knottnt commented Aug 20, 2025

@AdrienKuhn No! I'll get that started for you. Thanks for the PR!

/ok-to-test

@ack-prow ack-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 20, 2025
@knottnt
Copy link
Contributor

knottnt commented Aug 20, 2025

/retest

1 similar comment
@AdrienKuhn
Copy link
Author

/retest

Copy link

ack-prow bot commented Aug 21, 2025

@AdrienKuhn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
verify-attribution d3bd0d2 link false /test verify-attribution
s3-olm-test d3bd0d2 link false /test s3-olm-test
ec2-controller-test d3bd0d2 link true /test ec2-controller-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants