feat(victoria-k8s-stack): added vmauth
This commit is contained in:
parent
d80ef86286
commit
ff978767f6
2 changed files with 34 additions and 1 deletions
|
@ -0,0 +1,33 @@
|
|||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAuth
|
||||
metadata:
|
||||
name: vmauth
|
||||
namespace: observability
|
||||
spec:
|
||||
selectAllByDefault: true
|
||||
ingress:
|
||||
class_name: nginx
|
||||
host: o12y.penguin-observability.think-ahead.cloud
|
||||
|
||||
---
|
||||
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMUser
|
||||
metadata:
|
||||
name: simple-user
|
||||
namespace: observability
|
||||
spec:
|
||||
username: simple-user
|
||||
password: simple-password
|
||||
targetRefs:
|
||||
- crd:
|
||||
kind: VMSingle
|
||||
name: victoria-k8s-stack-victoria-metrics-k8s-stack
|
||||
namespace: observability
|
||||
paths: ["/.*"]
|
||||
- crd:
|
||||
kind: VLogs
|
||||
name: victorialogs
|
||||
namespace: observability
|
||||
paths: ["/.*"]
|
||||
|
|
@ -749,7 +749,7 @@ vmalert:
|
|||
|
||||
vmauth:
|
||||
# -- Enable VMAuth CR
|
||||
enabled: false
|
||||
enabled: true
|
||||
# -- VMAuth annotations
|
||||
annotations: {}
|
||||
# -- (object) Full spec for VMAuth CRD. Allowed values described [here](https://docs.victoriametrics.com/operator/api#vmauthspec)
|
||||
|
|
Loading…
Reference in a new issue