From c93eb2e4200e945d695958a710ed0ce4332c036e Mon Sep 17 00:00:00 2001 From: Vaibhav Pathak Date: Mon, 19 Jan 2026 13:40:37 +0530 Subject: [PATCH] initial commit --- catalog-info.yaml | 4 ++-- property-settings-svc-v2-chart/templates/_helpers.tpl | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index 8d8266a..9483604 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -14,11 +14,11 @@ metadata: # Kubernetes annotations - Using kubernetes-id with commonLabels backstage.io/kubernetes-id: propertysettings-v2-service # Helm chart annotations for environment provisioning - helm.cnoe.io/git-repo: https://gitea.cnoe.localtest.me:8443/giteaAdmin/propertysettings-v2-chart.git + helm.cnoe.io/git-repo: https://gitea.os-tf-qa.onlinesales.ai/gitea_admin/propertysettings-v2-chart.git helm.cnoe.io/chart-path: property-settings-svc-v2-chart helm.cnoe.io/values-file: values-dev.yaml helm.cnoe.io/available-values-files: '["values.yaml", "values-dev.yaml", "values-local.yaml"]' - helm.cnoe.io/dependencies: '{}' + helm.cnoe.io/dependencies: '{"mysql": {"name": "MySQL Database", "required": false, "default": true, "externalParams": [{"param": "externalDatabase.host", "label": "Database Host", "placeholder": "mysql.example.com"}, {"param": "externalDatabase.port", "label": "Database Port", "placeholder": "3306"}, {"param": "externalDatabase.database", "label": "Database Name", "placeholder": "property_settings_db_v2"}, {"param": "externalDatabase.username", "label": "Username", "placeholder": "propertysettings"}, {"param": "externalDatabase.password", "label": "Password", "placeholder": "", "secret": true}]}}' # Dependency URL mapping for environment provisioning helm.cnoe.io/dependency-urls: '{"hades-service": {"helmParam": "hades.baseUrl", "port": 8080, "serviceDns": "hades-service"}}' tags: diff --git a/property-settings-svc-v2-chart/templates/_helpers.tpl b/property-settings-svc-v2-chart/templates/_helpers.tpl index 7fc2871..ab446ad 100644 --- a/property-settings-svc-v2-chart/templates/_helpers.tpl +++ b/property-settings-svc-v2-chart/templates/_helpers.tpl @@ -40,6 +40,9 @@ helm.sh/chart: {{ include "property-settings-svc-v2-chart.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- with .Values.commonLabels }} +{{ toYaml . }} +{{- end }} {{- end }} {{/*