diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eae3cca..3ad5d4f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Remove unused cloudwatch annotations from deployment objects ## [1.15.0] - 2026-08-10 - Fix: **finalize** and **rollback** on blue/green k8s scopes now wait until the load balancer sends all traffic to the surviving deployment before deleting the other one, preventing the 5xx window that happened when it was deleted mid-switch (these actions may take slightly longer as a result) diff --git a/k8s/deployment/templates/deployment.yaml.tpl b/k8s/deployment/templates/deployment.yaml.tpl index 0ce3af0b..92c08298 100644 --- a/k8s/deployment/templates/deployment.yaml.tpl +++ b/k8s/deployment/templates/deployment.yaml.tpl @@ -74,12 +74,6 @@ spec: {{- end }} {{- end }} annotations: - nullplatform.logs.cloudwatch: 'true' - nullplatform.logs.cloudwatch.log_group_name: {{ .namespace.slug }}.{{ .application.slug }} - nullplatform.logs.cloudwatch.log_stream_log_retention_days: '7' - nullplatform.logs.cloudwatch.log_stream_name_pattern: >- - type=${type};application={{ .application.id }};scope={{ .scope.id }};deploy={{ .deployment.id }};instance=${instance};container=${container} - nullplatform.logs.cloudwatch.region: {{ .region }} {{- $global := index .k8s_modifiers "global" }} {{- if $global }} {{- $annotations := index $global "annotations" }} diff --git a/scheduled_task/deployment/templates/deployment.yaml.tpl b/scheduled_task/deployment/templates/deployment.yaml.tpl index c556acfd..ef797236 100644 --- a/scheduled_task/deployment/templates/deployment.yaml.tpl +++ b/scheduled_task/deployment/templates/deployment.yaml.tpl @@ -96,12 +96,6 @@ spec: {{- end }} {{- end }} annotations: - nullplatform.logs.cloudwatch: 'true' - nullplatform.logs.cloudwatch.log_group_name: {{ .namespace.slug }}.{{ .application.slug }} - nullplatform.logs.cloudwatch.log_stream_log_retention_days: '7' - nullplatform.logs.cloudwatch.log_stream_name_pattern: >- - type=${type};application={{ .application.id }};scope={{ .scope.id }};deploy={{ .deployment.id }};instance=${instance};container=${container} - nullplatform.logs.cloudwatch.region: us-east-1 {{- $global := index .k8s_modifiers "global" }} {{- if $global }} {{- $annotations := index $global "annotations" }}