diff --git a/CHANGELOG.md b/CHANGELOG.md index b61d086..da50ad9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ 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. + +### Changed + +- Migrate chart metadata annotations to OCI-compatible format. + ## [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..c1fefbb 100644 --- a/helm/gel/Chart.yaml +++ b/helm/gel/Chart.yaml @@ -10,5 +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 }}