1# Default values for victoria-metrics-auth.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
5 # -- Image pull secrets, that can be shared across multiple helm charts
8 # -- Image registry, that can be shared across multiple helm charts
10 # -- Openshift security context compatibility configuration
13 adaptSecurityContext: "auto"
15 # -- K8s cluster domain suffix, uses for building storage pods' FQDN. Details are [here](https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/)
16 dnsDomain: cluster.local.
17 # -- Labels added to all resources
19 # -- Annotations added to all resources
21# -- Number of replicas of vmauth
23# -- Name of Priority Class
25# -- Name of the [RuntimeClass](https://kubernetes.io/docs/concepts/containers/runtime-class/) used to run the pod, e.g. "gvisor"
30 # -- Victoria Metrics Auth Docker repository and image name
31 repository: chainguard-private/victoriametrics-vmauth
32 # -- Tag of Docker image
33 tag: 1.152.0-r0@sha256:6060f5a8988bed02cb887fcb588437e2a3ae0354ea8b3bba2dd50cf2ee058c03
34 # -- Variant of the image to use.
35 # e.g. enterprise, scratch
37 # -- Pull policy of Docker image
38 pullPolicy: IfNotPresent
39# -- Override default container command. Use when the VictoriaMetrics binary is available at a custom path
41# -- Image pull secrets
43# -- Override chart name
45# -- Override resources fullname
47containerWorkingDir: "/"
48# -- Specify pod lifecycle
50# -- Init containers for vmauth
56 # -- Specifies whether a service account should be created
58 # -- Annotations to add to the service account
60 # -- The name of the service account to use. If not set and create is true, a name is generated using the fullname template
62# -- See `kubectl explain poddisruptionbudget.spec` for more. Official guide is [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
65 # -- min number or percentage of pods that can be unavailable
67 # -- max number or percentage of pods that can be unavailable
69 # -- Defines criteria when unhealthy pods should be considered for eviction
70 unhealthyPodEvictionPolicy:
72# -- See `kubectl explain networkpolicy.spec` for more. Details are [here](https://kubernetes.io/docs/concepts/services-networking/network-policies/)
79 # -- Extra labels for NetworkPolicy
81 # -- Extra annotations for NetworkPolicy
83# -- HTTP listen address configuration. See https://docs.victoriametrics.com/helm/victoria-metrics-auth/#http-listen-address for details.
88# -- Extra command line arguments for container of component
93 # Enable IPv6 support. Useful for running in IPv6-only Kubernetes clusters
95# -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/victoriametrics/#environment-variables) for details
97# -- Pod topologySpreadConstraints
98topologySpreadConstraints: []
100# topologyKey: topology.kubernetes.io/zone
101# whenUnsatisfiable: DoNotSchedule
103# -- Specify alternative source for env variables
106# name: special-config
108# -- Additional hostPath mounts
109extraHostPathMounts: []
111# mountPath: /etc/kubernetes/certs
113# hostPath: /etc/kubernetes/certs
116# -- Extra Volumes for the pod
122# -- Extra Volume Mounts for the container
127# -- Extra containers to run in a pod with vmauth
129# - name: config-reloader
130# image: reloader-image
132# -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
136# -- Container security context. Check [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) for details.
142 # readOnlyRootFilesystem: true
146 # -- Service traffic distribution. Details are [here](https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution)
147 trafficDistribution: ""
148 # -- Enable vmauth service
150 # -- Service annotations
154 # -- Service ClusterIP
156 # -- Service external IPs. Check [here](https://kubernetes.io/docs/concepts/services-networking/service/#external-ips) for details
158 # -- Service load balancer IP
160 # -- Load balancer source range
161 loadBalancerSourceRanges: []
167 # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
168 externalTrafficPolicy: ""
169 # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details
170 healthCheckNodePort: ""
171 # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
173 # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
176 # -- Enable deployment of HTTPRoute for VMAuth
178 # -- HTTPRoute annotations
180 # -- HTTPRoute extra labels
182 # -- HTTPGateway objects refs
184 # -- Array of hostnames
186 # -- Extra rules to prepend to route. This is useful when working with annotation based services.
188 # -- Filters for a default rule in HTTPRoute
190 # -- Matches for a default rule in HTTPRoute
196 # -- Enable deployment of ingress for vmauth component
198 # -- Ingress annotations
200 # kubernetes.io/ingress.class: nginx
201 # kubernetes.io/tls-acme: 'true'
203 # -- Ingress extra labels
205 # -- Array of host objects
211 # -- Array of TLS objects
213 # - secretName: vmauth-ingress-tls
217 # -- Ingress controller class name
219 # -- Ingress path type
222 # -- Enable deployment of internal ingress for vmauth component
224 # -- Ingress annotations
226 # kubernetes.io/ingress.class: nginx
227 # kubernetes.io/tls-acme: 'true'
229 # -- Ingress extra labels
231 # -- Array of host objects
237 # -- Array of TLS objects
239 # - secretName: vmauth-ingress-tls
243 # -- Ingress controller class name
245 # -- Ingress path type
247# -- We usually recommend not to specify default resources and to leave this as a conscious choice for the user. This also increases chances charts run on environments with little resources, such as Minikube. If you do want to specify resources, uncomment the following lines, adjust them as necessary, and remove the curly braces after `resources:`.
256# -- Annotations to be added to the deployment
258# -- Annotations to be added to pod
260# -- Labels to be added to pod
262# -- Labels to be added to the deployment
264# -- Custom DNS config for pod. Details are [here](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-config)
266# -- NodeSelector configurations. Check [here](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for details
268# -- Tolerations configurations. Check [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) for details
271# operator: "Equal|Exists"
273# effect: "NoSchedule|PreferNoSchedule"
275# -- Affinity configurations
277# -- vmauth mode: deployment, daemonSet
279# -- [K8s DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) specific variables
282# -- [K8s Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) specific variables
288 # -- Enable deployment of Service Monitor for server component. This is Prometheus operator object
290 # -- Service Monitor labels
292 # -- Service Monitor annotations
294 # -- Service Monitor relabelings
296 # -- Basic auth params for Service Monitor
298 # -- Service Monitor metricRelabelings
299 metricRelabelings: []
300 # -- Service Monitor port. Uses primary http item name by default
302 # -- Service Monitor target port. Overrides port when set
306# -- Commented. HTTP scheme to use for scraping.
308# -- Commented. TLS configuration to use when scraping the endpoint
310# insecureSkipVerify: true
312# -- Use existing secret if specified otherwise .config values will be used. Check [here](https://docs.victoriametrics.com/victoriametrics/vmauth/) for details.
313# Configuration in the given secret must be stored under `auth.yml` key.
315# -- Config file content.
317# Arbitrary number of usernames may be put here.
318# Usernames must be unique.
320# The user for querying local single-node VictoriaMetrics.
321# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
322# will be routed to http://localhost:8428 .
323# For example, http://vmauth:8427/api/v1/query is routed to http://localhost:8428/api/v1/query
324# - username: "local-single-node"
326# url_prefix: "http://localhost:8428"
328# The user for querying account 123 in VictoriaMetrics cluster
329# See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/README.md#url-format
330# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
331# will be routed to http://vmselect:8481/select/123/prometheus .
332# For example, http://vmauth:8427/api/v1/query is routed to http://vmselect:8481/select/123/prometheus/api/v1/select
333# - username: "cluster-select-account-123"
335# url_prefix: "http://vmselect:8481/select/123/prometheus"
337# The user for inserting Prometheus data into VictoriaMetrics cluster under account 42
338# See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/README.md#url-format
339# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
340# will be routed to http://vminsert:8480/insert/42/prometheus .
341# For example, http://vmauth:8427/api/v1/write is routed to http://vminsert:8480/insert/42/prometheus/api/v1/write
342# - username: "cluster-insert-account-42"
344# url_prefix: "http://vminsert:8480/insert/42/prometheus"
346# -- Raw config file content. Overrides `.Values.config` when set. Supports Helm templating,
347# YAML anchors, and comments.
349# -- Annotations for config secret
351# -- Add extra specs dynamically to this chart
357 initialDelaySeconds: 5
362 initialDelaySeconds: 5
367# -- Enterprise license key configuration for VictoriaMetrics enterprise.
368# Required only for VictoriaMetrics enterprise. Check docs [here](https://docs.victoriametrics.com/victoriametrics/enterprise/),
369# for more information, visit [site](https://victoriametrics.com/products/enterprise/).
370# Request a trial license [here](https://victoriametrics.com/products/enterprise/trial/)
371# Supported starting from VictoriaMetrics v1.94.0
375 # -- Use existing secret with license key
377 # -- Existing secret name
379 # -- Key in secret with license key