From a396ef995f044b84decf34a36184217fe006dbeb Mon Sep 17 00:00:00 2001 From: Spyros Synodinos Date: Thu, 5 Feb 2026 14:38:14 +0200 Subject: [PATCH 1/2] Add audience and managed annotations to Chart.yaml Add io.giantswarm.application.audience: all and io.giantswarm.application.managed: "true" annotations to make the app visible to customers in Backstage. --- CHANGELOG.md | 4 ++++ helm/gel/.kube-linter.yaml | 2 ++ helm/gel/Chart.yaml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b61d086..e7f5d55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Add `io.giantswarm.application.audience` and `io.giantswarm.application.managed` chart annotations for Backstage visibility. + ## [1.0.1] - 2025-12-05 ### Changed diff --git a/helm/gel/.kube-linter.yaml b/helm/gel/.kube-linter.yaml index 56c57bf..9ae1d5a 100644 --- a/helm/gel/.kube-linter.yaml +++ b/helm/gel/.kube-linter.yaml @@ -10,3 +10,5 @@ checks: - "no-node-affinity" - "minimum-three-replicas" - "dangling-networkpolicy" + - "sorted-keys" # Sorting YAML keys alphabetically is not a priority. + - "env-value-from" # Secret is created dynamically by CloudNativePG Cluster CRD. diff --git a/helm/gel/Chart.yaml b/helm/gel/Chart.yaml index e9e44b7..f962945 100644 --- a/helm/gel/Chart.yaml +++ b/helm/gel/Chart.yaml @@ -12,3 +12,5 @@ version: 1.0.1 annotations: application.giantswarm.io/team: "shield" config.giantswarm.io/version: 1.x.x + io.giantswarm.application.audience: all + io.giantswarm.application.managed: "true" From 38301500147f4135c0006f81908fa170ca3e39dc Mon Sep 17 00:00:00 2001 From: Franco Date: Thu, 5 Feb 2026 13:16:58 -0300 Subject: [PATCH 2/2] Migrate chart metadata annotations to OCI-compatible format --- CHANGELOG.md | 4 ++++ helm/gel/Chart.yaml | 3 +-- helm/gel/templates/_helpers.tpl | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7f5d55..da50ad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `io.giantswarm.application.audience` and `io.giantswarm.application.managed` chart annotations for Backstage visibility. +### Changed + +- Migrate chart metadata annotations to OCI-compatible format. + ## [1.0.1] - 2025-12-05 ### Changed diff --git a/helm/gel/Chart.yaml b/helm/gel/Chart.yaml index f962945..c1fefbb 100644 --- a/helm/gel/Chart.yaml +++ b/helm/gel/Chart.yaml @@ -10,7 +10,6 @@ sources: - https://github.com/Japan7/nanak8s/tree/main/charts/edgedb version: 1.0.1 annotations: - application.giantswarm.io/team: "shield" - config.giantswarm.io/version: 1.x.x io.giantswarm.application.audience: all io.giantswarm.application.managed: "true" + io.giantswarm.application.team: "shield" diff --git a/helm/gel/templates/_helpers.tpl b/helm/gel/templates/_helpers.tpl index cfcbfa8..38f2a2e 100644 --- a/helm/gel/templates/_helpers.tpl +++ b/helm/gel/templates/_helpers.tpl @@ -42,7 +42,7 @@ app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} app.kubernetes.io/managed-by: {{ .Release.Service }} application.giantswarm.io/branch: {{ .Chart.Annotations.branch | replace "#" "-" | replace "/" "-" | replace "." "-" | trunc 63 | trimSuffix "-" | quote }} application.giantswarm.io/commit: {{ .Chart.Annotations.commit | quote }} -application.giantswarm.io/team: {{ index .Chart.Annotations "application.giantswarm.io/team" | quote }} +application.giantswarm.io/team: {{ index .Chart.Annotations "io.giantswarm.application.team" | quote }} giantswarm.io/managed-by: {{ .Release.Name | quote }} giantswarm.io/service-type: {{ .Values.serviceType }} {{- end }}