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

Surfacing Additional Pod Labels for user #75

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Surfacing Additional Pod Labels for user #75

merged 1 commit into from
Sep 8, 2020

Conversation

TRReeve
Copy link

@TRReeve TRReeve commented Sep 5, 2020

RE: #74

Added two arguments to the values template and in the deployment to allow a user to add additional labels to their pod and deployment. These are provided by additionalDeploymentLabels:{} and additionalPodLabels:{} that the user can provide a map to the same as the annotations arguments.

I was contemplating adding something to the matchLabels as well but I felt that might open up a can of worms with the core functionality of the template providing a single deployment so I left that in the end.

The main aim is to allow users to integrate gruntwork templates with other labelling schemes they would be running in their k8s workload as well as the mentioned use case in the issue where labels are required for certain tagging and operational uses by other systems.

I don't think there should be any reason for compatibility issues for existing users.

Copy link
Contributor

@yorinasub17 yorinasub17 left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for your contribution!

I will kick off the build now and if it passes, we can merge this in.

Copy link
Contributor

@yorinasub17 yorinasub17 left a comment

Choose a reason for hiding this comment

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

Build passed, so will merge in!

@yorinasub17 yorinasub17 merged commit aa0c0ba into gruntwork-io:master Sep 8, 2020
@TRReeve TRReeve deleted the pull-request-74 branch September 14, 2020 08:40
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.

None yet

2 participants