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: scratch-images/test-tmp/victoriametrics-vmauth
32 # -- Tag of Docker image
33 tag: 1.151.0-r1@sha256:d60201ec9c809a41c4f3891dd2d011869c81a8e87a37baa63423b9cfac214c8b
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# -- NodeSelector configurations. Check [here](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for details
266# -- Tolerations configurations. Check [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) for details
269# operator: "Equal|Exists"
271# effect: "NoSchedule|PreferNoSchedule"
273# -- Affinity configurations
275# -- vmauth mode: deployment, daemonSet
277# -- [K8s DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) specific variables
280# -- [K8s Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) specific variables
286 # -- Enable deployment of Service Monitor for server component. This is Prometheus operator object
288 # -- Service Monitor labels
290 # -- Service Monitor annotations
292 # -- Service Monitor relabelings
294 # -- Basic auth params for Service Monitor
296 # -- Service Monitor metricRelabelings
297 metricRelabelings: []
298 # -- Service Monitor port. Uses primary http item name by default
300 # -- Service Monitor target port. Overrides port when set
304# -- Commented. HTTP scheme to use for scraping.
306# -- Commented. TLS configuration to use when scraping the endpoint
308# insecureSkipVerify: true
310# -- Use existing secret if specified otherwise .config values will be used. Check [here](https://docs.victoriametrics.com/victoriametrics/vmauth/) for details.
311# Configuration in the given secret must be stored under `auth.yml` key.
313# -- Config file content.
315# Arbitrary number of usernames may be put here.
316# Usernames must be unique.
318# The user for querying local single-node VictoriaMetrics.
319# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
320# will be routed to http://localhost:8428 .
321# For example, http://vmauth:8427/api/v1/query is routed to http://localhost:8428/api/v1/query
322# - username: "local-single-node"
324# url_prefix: "http://localhost:8428"
326# The user for querying account 123 in VictoriaMetrics cluster
327# See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/README.md#url-format
328# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
329# will be routed to http://vmselect:8481/select/123/prometheus .
330# For example, http://vmauth:8427/api/v1/query is routed to http://vmselect:8481/select/123/prometheus/api/v1/select
331# - username: "cluster-select-account-123"
333# url_prefix: "http://vmselect:8481/select/123/prometheus"
335# The user for inserting Prometheus data into VictoriaMetrics cluster under account 42
336# See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/README.md#url-format
337# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
338# will be routed to http://vminsert:8480/insert/42/prometheus .
339# For example, http://vmauth:8427/api/v1/write is routed to http://vminsert:8480/insert/42/prometheus/api/v1/write
340# - username: "cluster-insert-account-42"
342# url_prefix: "http://vminsert:8480/insert/42/prometheus"
344# -- Raw config file content. Overrides `.Values.config` when set. Supports Helm templating,
345# YAML anchors, and comments.
347# -- Annotations for config secret
349# -- Add extra specs dynamically to this chart
355 initialDelaySeconds: 5
360 initialDelaySeconds: 5
365# -- Enterprise license key configuration for VictoriaMetrics enterprise.
366# Required only for VictoriaMetrics enterprise. Check docs [here](https://docs.victoriametrics.com/victoriametrics/enterprise/),
367# for more information, visit [site](https://victoriametrics.com/products/enterprise/).
368# Request a trial license [here](https://victoriametrics.com/products/enterprise/trial/)
369# Supported starting from VictoriaMetrics v1.94.0
373 # -- Use existing secret with license key
375 # -- Existing secret name
377 # -- Key in secret with license key