Fix secret name

Signed-off-by: Michel Hollands <michel.hollands@gmail.com>
This commit is contained in:
Michel Hollands 2024-05-07 14:39:20 +01:00
parent 56cab04af8
commit cd42da2197
3 changed files with 12 additions and 17 deletions

View File

@ -51,7 +51,7 @@ spec:
protocol: TCP protocol: TCP
envFrom: envFrom:
- secretRef: - secretRef:
name: mmc-minio name: minio
readinessProbe: readinessProbe:
failureThreshold: 3 failureThreshold: 3
httpGet: httpGet:

View File

@ -180,7 +180,7 @@ metrics:
# Additional metrics to retain # Additional metrics to retain
extraMetrics: [] extraMetrics: []
# Set enabled = true to add the default logs/metrics/traces dashboards to the local Grafana # Set enabled = true to add the default logs dashboards to the local Grafana
dashboards: dashboards:
logs: logs:
enabled: true enabled: true
@ -189,11 +189,6 @@ dashboards:
traces: traces:
enabled: true enabled: true
global:
minio:
rootUser: "rootuser"
rootPassword: "rootpassword"
kubeStateMetrics: kubeStateMetrics:
# Scrape https://github.com/kubernetes/kube-state-metrics by default # Scrape https://github.com/kubernetes/kube-state-metrics by default
enabled: true enabled: true
@ -259,19 +254,19 @@ loki:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
read: read:
extraArgs: extraArgs:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
backend: backend:
extraArgs: extraArgs:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
alloy: alloy:
alloy: alloy:
@ -311,7 +306,7 @@ mimir-distributed:
global: global:
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
mimir: mimir:
structuredConfig: structuredConfig:
alertmanager_storage: alertmanager_storage:
@ -353,31 +348,31 @@ tempo-distributed:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
ingester: ingester:
extraArgs: extraArgs:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
compactor: compactor:
extraArgs: extraArgs:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
querier: querier:
extraArgs: extraArgs:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
queryFrontend: queryFrontend:
extraArgs: extraArgs:
- "-config.expand-env=true" - "-config.expand-env=true"
extraEnvFrom: extraEnvFrom:
- secretRef: - secretRef:
name: "mmc-minio" name: "minio"
traces: traces:
otlp: otlp:
http: http:

View File

@ -67,7 +67,7 @@
kubectl create namespace meta kubectl create namespace meta
``` ```
1. Create a secret with the user and password for the local Minio: 1. Create a secret named `minio` with the user and password for the local Minio:
``` ```
kubectl create secret generic minio -n meta \ kubectl create secret generic minio -n meta \