stacks-instances/otc/observability.buildth.ing/stacks/observability/victoria-k8s-stack/manifests/vmauth.yaml
Daniel Sy 8488de0c6f
fix(observability): 🐛 use plaintext password in hub VMUser to unblock operator reconciliation
The hub VMUser was using passwordRef pointing to simple-user-secret, but that
Secret was not present in the cluster (only exists in git now via the previous
commit). VM operator skips VMUser reconciliation when passwordRef cannot resolve,
leaving vmauth with only the unauthorizedUser catch-all (vmsingle).

Switching to inline password ensures immediate operator reconciliation without
waiting for Secret deployment. The simple-user-secret.yaml manifest is kept for
Vector's credential reference.
2026-06-19 15:45:55 +02:00

15 lines
No EOL
375 B
YAML

apiVersion: operator.victoriametrics.com/v1beta1
kind: VMUser
metadata:
name: simple-user
namespace: observability
spec:
username: simple-user
password: sx5gC7ooWaWOODwD
targetRefs:
- static:
url: http://vmsingle-o12y:8429
paths: ["/api/v1/write"]
- static:
url: http://vlogs-victorialogs:9428
paths: ["/insert/elasticsearch/.*"]