From e1407c87f77586e57319a308cbb07ec78a6de94f Mon Sep 17 00:00:00 2001 From: Amine Date: Sat, 22 Nov 2025 21:15:26 -0800 Subject: [PATCH] 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. --- templates/helm/values.yaml.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/helm/values.yaml.tpl b/templates/helm/values.yaml.tpl index dc41ea46..b8ee30d2 100644 --- a/templates/helm/values.yaml.tpl +++ b/templates/helm/values.yaml.tpl @@ -120,8 +120,11 @@ watchSelectors: "" resourceTags: # Configures the ACK service controller to always set key/value pairs tags on # resources that it manages. + # Note: Tags with empty values are automatically skipped to keep resources clean. - services.k8s.aws/controller-version=%CONTROLLER_SERVICE%-%CONTROLLER_VERSION% - services.k8s.aws/namespace=%K8S_NAMESPACE% + - app.kubernetes.io/managed-by=%MANAGED_BY% + - kro.run/version=%KRO_VERSION% # Set to "retain" to keep all AWS resources intact even after the K8s resources # have been deleted. By default, the ACK controller will delete the AWS resource