Remove hardcoded monitoring secrets

This commit is contained in:
Kochetkov S 2026-05-25 15:10:30 +03:00
parent 9b0ce21088
commit 2131400030
7 changed files with 4 additions and 22 deletions

View File

@ -10,7 +10,6 @@ resources:
- ../../../infrastructure/goalert - ../../../infrastructure/goalert
- ../../../infrastructure/kafka-exporter - ../../../infrastructure/kafka-exporter
- ../../../infrastructure/postgres-exporter - ../../../infrastructure/postgres-exporter
- ./secrets.yaml
patches: patches:
- path: ./patches/glitchtip.yaml - path: ./patches/glitchtip.yaml
target: target:

View File

@ -42,8 +42,7 @@ spec:
_default: https://glitchtip-srx.wb.ru _default: https://glitchtip-srx.wb.ru
glitchtip: glitchtip:
secret: secret:
create: false create: true
name: glitchtip-secret
migrate: migrate:
enabled: true enabled: true
env: env:

View File

@ -12,11 +12,6 @@ spec:
tag: 0.32.0 tag: 0.32.0
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
goalert: goalert:
existingSecret:
name: goalert-secret
keys:
GOALERT_DB_URL: GOALERT_DB_URL
GOALERT_DATA_ENCRYPTION_KEY: GOALERT_DATA_ENCRYPTION_KEY
environment: environment:
GOALERT_HTTP_PREFIX: "" GOALERT_HTTP_PREFIX: ""
postgresql: postgresql:
@ -24,7 +19,6 @@ spec:
auth: auth:
database: goalert database: goalert
username: goalert username: goalert
password: uO/9PHoznDImghirkrNicFQ3EwFmUX0s
sslmode: disable sslmode: disable
primary: primary:
persistence: persistence:

View File

@ -25,8 +25,7 @@ spec:
_default: "false" _default: "false"
openobserve: openobserve:
secret: secret:
create: false create: true
name: openobserve-secret
nats: nats:
enabled: false enabled: false
otelCollector: otelCollector:

View File

@ -37,8 +37,6 @@ spec:
exporters: exporters:
otlphttp/openobserve: otlphttp/openobserve:
endpoint: http://openobserve.openobserve.svc.cluster.local:5080/api/default endpoint: http://openobserve.openobserve.svc.cluster.local:5080/api/default
headers:
Authorization: Basic YWRtaW5AZ3JhZmFuYS1zcngud2IucnU6NERoc2ZobnBvNTRIQkZkKzFUMzZkUDFUUUhJa3NjWDU=
tls: tls:
insecure: true insecure: true
service: service:

View File

@ -20,6 +20,3 @@ spec:
port: "5432" port: "5432"
database: postgres database: postgres
sslmode: disable sslmode: disable
datasourceSecret:
name: postgres-exporter-secret
key: data_source_name

View File

@ -19,15 +19,11 @@ spec:
prometheusOperator: prometheusOperator:
enabled: true enabled: true
kubeStateMetrics: kubeStateMetrics:
enabled: true enabled: false
nodeExporter: nodeExporter:
enabled: true enabled: false
grafana: grafana:
enabled: true enabled: true
admin:
existingSecret: grafana-admin
userKey: admin-user
passwordKey: admin-password
persistence: persistence:
enabled: true enabled: true
type: sts type: sts