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

Update rm.EnsureTags to accept controller metadata #91

Merged
merged 2 commits into from
Jun 8, 2022

Conversation

vijtrip2
Copy link
Contributor

@vijtrip2 vijtrip2 commented Jun 1, 2022

Issue #, if available: aws-controllers-k8s/community#1261

Description of changes:

  • Pass acktypes.ServiceControllerMetadata parameter to rm.EnsureTags so that tag formats like %CONTROLLER_VERSION% can be resolved.
  • ACK controller metadata required to expand tag formats is present inside ServiceControllerMetadata object.
  • Change the return type of ackrt.GetDefaultTags method from map[string]string to acktags.Tags .

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

@RedbackThomson
Copy link
Contributor

/lgtm

@ack-bot ack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 8, 2022
@ack-bot
Copy link
Collaborator

ack-bot commented Jun 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RedbackThomson, vijtrip2

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

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [RedbackThomson,vijtrip2]

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

@RedbackThomson RedbackThomson changed the title Update rm.EnsureTags to accept controller metadata Update rm.EnsureTags to accept controller metadata Jun 8, 2022
@ack-bot ack-bot merged commit 1163c8e into aws-controllers-k8s:main Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm Indicates that a PR is ready to be merged.
Projects
None yet
3 participants