diff --git a/charts/backstage/Chart.yaml b/charts/backstage/Chart.yaml index d1c3bb8..e9e9cb1 100644 --- a/charts/backstage/Chart.yaml +++ b/charts/backstage/Chart.yaml @@ -45,4 +45,4 @@ sources: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.22.0 +version: 2.23.0 diff --git a/charts/backstage/README.md b/charts/backstage/README.md index 826dcc3..2aadf71 100644 --- a/charts/backstage/README.md +++ b/charts/backstage/README.md @@ -2,7 +2,7 @@ # RHDH Backstage Helm Chart for OpenShift (Community Version) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rhdh-chart&style=flat-square)](https://artifacthub.io/packages/search?repo=rhdh-chart) -![Version: 2.22.0](https://img.shields.io/badge/Version-2.22.0-informational?style=flat-square) +![Version: 2.23.0](https://img.shields.io/badge/Version-2.23.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for deploying Red Hat Developer Hub. diff --git a/charts/backstage/values.schema.json b/charts/backstage/values.schema.json index b9256d1..fef53e1 100644 --- a/charts/backstage/values.schema.json +++ b/charts/backstage/values.schema.json @@ -6598,7 +6598,7 @@ "type": "integer" } ], - "default": "http-backend", + "default": "http-metrics", "description": "The port where the metrics are exposed. If using OpenTelemetry as [documented here](https://backstage.io/docs/tutorials/setup-opentelemetry/), then the port needs to be explicitely specificed. OpenTelemetry's default port is 9464.", "title": "ServiceMonitor endpoint port" } @@ -7206,7 +7206,13 @@ "type": "string" }, "extraPorts": { - "default": [], + "default": [ + { + "name": "http-metrics", + "port": 9464, + "targetPort": 9464 + } + ], "items": { "type": "object" }, diff --git a/charts/backstage/values.yaml b/charts/backstage/values.yaml index 54c0fd3..77786c8 100644 --- a/charts/backstage/values.yaml +++ b/charts/backstage/values.yaml @@ -197,6 +197,13 @@ upstream: checksum/dynamic-plugins: >- {{- include "common.tplvalues.render" ( dict "value" .Values.global.dynamic "context" $) | sha256sum }} + ingress: + host: "{{ .Values.global.host }}" + metrics: + serviceMonitor: + enabled: false + path: /metrics + port: http-metrics postgresql: enabled: true postgresqlDataDir: /var/lib/pgsql/data/userdata @@ -232,8 +239,11 @@ upstream: secretKeyRef: key: postgres-password name: '{{- include "postgresql.v1.secretName" . }}' - ingress: - host: "{{ .Values.global.host }}" + service: + extraPorts: + - name: http-metrics + port: 9464 + targetPort: 9464 # -- OpenShift Route parameters route: