Skip to content

Commit 124f2ff

Browse files
authored
feat(helm): add KRO context tags to default resource tags
Add managed-by and kro-version tags to the default helm template configuration. These tags help identify KRO-managed resources in AWS CloudTrail logs, cost allocation reports, and usage metrics. Tags with empty values are automatically skipped to keep resources clean. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
2 parents 7907709 + e1407c8 commit 124f2ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/helm/values.yaml.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,11 @@ watchSelectors: ""
120120
resourceTags:
121121
# Configures the ACK service controller to always set key/value pairs tags on
122122
# resources that it manages.
123+
# Note: Tags with empty values are automatically skipped to keep resources clean.
123124
- services.k8s.aws/controller-version=%CONTROLLER_SERVICE%-%CONTROLLER_VERSION%
124125
- services.k8s.aws/namespace=%K8S_NAMESPACE%
126+
- app.kubernetes.io/managed-by=%MANAGED_BY%
127+
- kro.run/version=%KRO_VERSION%
125128

126129
# Set to "retain" to keep all AWS resources intact even after the K8s resources
127130
# have been deleted. By default, the ACK controller will delete the AWS resource

0 commit comments

Comments
 (0)