fix(natsexporter): Finalize MR

This commit is contained in:
Thorsten Roßner
2025-08-01 09:58:59 +02:00
parent ca2c6cd6de
commit 2df6044b5b
4 changed files with 12 additions and 12 deletions

View File

@@ -38,7 +38,7 @@ repositories:
url: "{{ coalesce .Values.repositories.helm.registryOpencodeDe .Values.global.helmRegistry | default .Values.charts.nginxS3Gateway.registry }}/{{ .Values.charts.nginxS3Gateway.repository }}"
# prometheus-nats-exporter chart
- name: "prometheus-nats-exporter-repo"
keyring: "../../files/gpg-pubkeys/opencode.gpg"
# keyring: "no_verification"
verify: {{ .Values.charts.prometheusNatsExporter.verify }}
username: {{ env "OD_PRIVATE_REGISTRY_USERNAME" | quote }}
password: {{ env "OD_PRIVATE_REGISTRY_PASSWORD" | quote }}
@@ -103,7 +103,7 @@ releases:
{{- range .Values.customization.release.prometheusNatsExporter }}
- {{ . }}
{{- end }}
installed: {{ eq .Values.monitoring.prometheus.exporters.nats nil | ternary .Values.monitoring.prometheus.exporters.all .Values.monitoring.prometheus.exporters.nats }}
installed: {{ eq .Values.monitoring.prometheus.exporters.overrides.nats nil | ternary .Values.monitoring.prometheus.exporters.global .Values.monitoring.prometheus.exporters.overrides.nats }}
timeout: 900
commonLabels:

View File

@@ -1,7 +1,5 @@
{{/*
SPDX-FileCopyrightText: 2024 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH
SPDX-License-Identifier: Apache-2.0
*/}}
# SPDX-FileCopyrightText: 2025 Zentrum für Digitale Souveränität der Öffentlichen Verwaltung (ZenDiS) GmbH
# SPDX-License-Identifier: Apache-2.0
---
image:
repository: {{ coalesce .Values.repositories.image.registryOpencodeDeEnterprise .Values.global.imageRegistry .Values.images.prometheusNatsExporter.registry }}/{{ .Values.images.prometheusNatsExporter.repository }}

View File

@@ -442,7 +442,7 @@ charts:
version: "2.1.2"
verify: true
prometheusNatsExporter:
# providerCategory: "Platform"
# providerCategory: "Community"
# providerResponsible: "openDesk"
# upstreamRegistry: "https://ghcr.io"
# upstreamRepository: "prometheus-community/charts"

View File

@@ -17,12 +17,14 @@ monitoring:
labels:
release: "kube-prometheus-stack"
# toggles for deploying additional prometheus exporters as part of openDesk
# Prometheus exporter deployment toggles for openDesk
exporters:
# general switch to enable all optional exporters
all: false
# overwrite for whether a prometheus-nats-exporter should be deployed to allow monitoring of the internal nats server
nats: ~
# Global switch for all optional exporters
global: false
# Per-exporter overrides (take precedence over "global")
overrides:
# prometheus-nats-exporter
nats: ~
grafana:
dashboards: