enabled authorized access to vlogs and vmetrics
This commit is contained in:
parent
32bb201e82
commit
fc34fb4ee6
4 changed files with 12 additions and 19 deletions
|
@ -39,7 +39,11 @@ customConfig:
|
||||||
type: elasticsearch
|
type: elasticsearch
|
||||||
inputs: [parser]
|
inputs: [parser]
|
||||||
endpoints:
|
endpoints:
|
||||||
- http://vlogs-victorialogs:9428/insert/elasticsearch/
|
- https://o12y.observability.think-ahead.cloud/insert/elasticsearch/
|
||||||
|
auth:
|
||||||
|
strategy: basic
|
||||||
|
user: simple-user
|
||||||
|
password: simple-password
|
||||||
mode: bulk
|
mode: bulk
|
||||||
api_version: v8
|
api_version: v8
|
||||||
compression: gzip
|
compression: gzip
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
- chart: victoria-metrics-k8s-stack
|
- chart: victoria-metrics-k8s-stack
|
||||||
repoURL: https://victoriametrics.github.io/helm-charts/
|
repoURL: https://victoriametrics.github.io/helm-charts/
|
||||||
targetRevision: 0.48.1
|
targetRevision: 0.48.1
|
||||||
releaseName: victoria
|
releaseName: vm
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability/victoria-k8s-stack/values.yaml
|
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability/victoria-k8s-stack/values.yaml
|
||||||
|
|
|
@ -11,9 +11,9 @@ spec:
|
||||||
kind: VMSingle
|
kind: VMSingle
|
||||||
name: victoria-k8s-stack-victoria-metrics-k8s-stack
|
name: victoria-k8s-stack-victoria-metrics-k8s-stack
|
||||||
namespace: observability
|
namespace: observability
|
||||||
paths: ["/.*"]
|
paths: ["/api/v1/write/.*"]
|
||||||
- crd:
|
- crd:
|
||||||
kind: VLogs
|
kind: VLogs
|
||||||
name: victorialogs
|
name: victorialogs
|
||||||
namespace: observability
|
namespace: observability
|
||||||
paths: ["/.*"]
|
paths: ["/insert/elasticsearch/.*"]
|
||||||
|
|
|
@ -763,23 +763,12 @@ vmauth:
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
cert-manager.io/cluster-issuer: main
|
cert-manager.io/cluster-issuer: main
|
||||||
host: o12y.penguin-observability.think-ahead.cloud
|
host: o12y.{{{ .Env.DOMAIN }}}
|
||||||
tlsHosts:
|
tlsHosts:
|
||||||
- o12y.penguin-observability.think-ahead.cloud
|
- o12y.{{{ .Env.DOMAIN }}}
|
||||||
tlsSecretName: vmauth-tls-secret
|
tlsSecretName: vmauth-tls-secret
|
||||||
unauthorizedUserAccessSpec:
|
unauthorizedUserAccessSpec: {}
|
||||||
# -- Flag, that allows to disable default VMAuth unauthorized user access config
|
selectAllByDefault: true
|
||||||
disabled: false
|
|
||||||
discover_backend_ips: true
|
|
||||||
url_map:
|
|
||||||
- src_paths:
|
|
||||||
- '/insert/elasticsearch/.*'
|
|
||||||
url_prefix:
|
|
||||||
- 'http://vlogs-victorialogs:9428'
|
|
||||||
- src_paths:
|
|
||||||
- '/api/v1/write/.*'
|
|
||||||
url_prefix:
|
|
||||||
- 'http://vmsingle-victoria-k8s-stack-victoria-metrics-k8s-stack:8428'
|
|
||||||
|
|
||||||
vmagent:
|
vmagent:
|
||||||
# -- Create VMAgent CR
|
# -- Create VMAgent CR
|
||||||
|
|
Loading…
Reference in a new issue