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.154.1-r0@sha256:9819d52e74e73ada9515678f982e5fc5b3e8e138ed53c5e2e2e835a09f04acb5
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 # -- Mount API token to pod directly
64# -- See `kubectl explain poddisruptionbudget.spec` for more. Official guide is [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
67 # -- min number or percentage of pods that can be unavailable
69 # -- max number or percentage of pods that can be unavailable
71 # -- Defines criteria when unhealthy pods should be considered for eviction
72 unhealthyPodEvictionPolicy:
74# -- See `kubectl explain networkpolicy.spec` for more. Details are [here](https://kubernetes.io/docs/concepts/services-networking/network-policies/)
81 # -- Extra labels for NetworkPolicy
83 # -- Extra annotations for NetworkPolicy
85# -- HTTP listen address configuration. See https://docs.victoriametrics.com/helm/victoria-metrics-auth/#http-listen-address for details.
90# -- Extra command line arguments for container of component
95 # Enable IPv6 support. Useful for running in IPv6-only Kubernetes clusters
97# -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/victoriametrics/#environment-variables) for details
99# -- Pod topologySpreadConstraints
100topologySpreadConstraints: []
102# topologyKey: topology.kubernetes.io/zone
103# whenUnsatisfiable: DoNotSchedule
105# -- Specify alternative source for env variables
108# name: special-config
110# -- Additional hostPath mounts
111extraHostPathMounts: []
113# mountPath: /etc/kubernetes/certs
115# hostPath: /etc/kubernetes/certs
118# -- Extra Volumes for the pod
124# -- Extra Volume Mounts for the container
129# -- Extra containers to run in a pod with vmauth
131# - name: config-reloader
132# image: reloader-image
134# -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
138# -- Container security context. Check [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) for details.
144 # readOnlyRootFilesystem: true
148 # -- Service traffic distribution. Details are [here](https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution)
149 trafficDistribution: ""
150 # -- Enable vmauth service
152 # -- Service annotations
156 # -- Service ClusterIP
158 # -- Service external IPs. Check [here](https://kubernetes.io/docs/concepts/services-networking/service/#external-ips) for details
160 # -- Service load balancer IP
162 # -- Load balancer source range
163 loadBalancerSourceRanges: []
169 # -- 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
170 externalTrafficPolicy: ""
171 # -- 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
172 healthCheckNodePort: ""
173 # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
175 # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
178 # -- Enable deployment of HTTPRoute for VMAuth
180 # -- HTTPRoute annotations
182 # -- HTTPRoute extra labels
184 # -- HTTPGateway objects refs
186 # -- Array of hostnames
188 # -- Extra rules to prepend to route. This is useful when working with annotation based services.
190 # -- Filters for a default rule in HTTPRoute
192 # -- Matches for a default rule in HTTPRoute
198 # -- Enable deployment of ingress for vmauth component
200 # -- Ingress annotations
202 # kubernetes.io/ingress.class: nginx
203 # kubernetes.io/tls-acme: 'true'
205 # -- Ingress extra labels
207 # -- Array of host objects
213 # -- Array of TLS objects
215 # - secretName: vmauth-ingress-tls
219 # -- Ingress controller class name
221 # -- Ingress path type
224 # -- Enable deployment of internal ingress for vmauth component
226 # -- Ingress annotations
228 # kubernetes.io/ingress.class: nginx
229 # kubernetes.io/tls-acme: 'true'
231 # -- Ingress extra labels
233 # -- Array of host objects
239 # -- Array of TLS objects
241 # - secretName: vmauth-ingress-tls
245 # -- Ingress controller class name
247 # -- Ingress path type
249# -- 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:`.
258# -- Annotations to be added to the deployment
260# -- Annotations to be added to pod
262# -- Labels to be added to pod
264# -- Labels to be added to the deployment
266# -- Custom DNS config for pod. Details are [here](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-config)
268# -- NodeSelector configurations. Check [here](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector) for details
270# -- Tolerations configurations. Check [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) for details
273# operator: "Equal|Exists"
275# effect: "NoSchedule|PreferNoSchedule"
277# -- Affinity configurations
279# -- vmauth mode: deployment, daemonSet
281# -- [K8s DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/) specific variables
284# -- [K8s Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) specific variables
290 # -- Enable deployment of Service Monitor for server component. This is Prometheus operator object
292 # -- Service Monitor labels
294 # -- Service Monitor annotations
296 # -- Service Monitor relabelings
298 # -- Basic auth params for Service Monitor
300 # -- Service Monitor metricRelabelings
301 metricRelabelings: []
302 # -- Service Monitor port. Uses primary http item name by default
304 # -- Service Monitor target port. Overrides port when set
308# -- Commented. HTTP scheme to use for scraping.
310# -- Commented. TLS configuration to use when scraping the endpoint
312# insecureSkipVerify: true
314# -- Use existing secret if specified otherwise .config values will be used. Check [here](https://docs.victoriametrics.com/victoriametrics/vmauth/) for details.
315# Configuration in the given secret must be stored under `auth.yml` key.
317# -- Config file content.
319# Arbitrary number of usernames may be put here.
320# Usernames must be unique.
322# The user for querying local single-node VictoriaMetrics.
323# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
324# will be routed to http://localhost:8428 .
325# For example, http://vmauth:8427/api/v1/query is routed to http://localhost:8428/api/v1/query
326# - username: "local-single-node"
328# url_prefix: "http://localhost:8428"
330# The user for querying account 123 in VictoriaMetrics cluster
331# See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/README.md#url-format
332# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
333# will be routed to http://vmselect:8481/select/123/prometheus .
334# For example, http://vmauth:8427/api/v1/query is routed to http://vmselect:8481/select/123/prometheus/api/v1/select
335# - username: "cluster-select-account-123"
337# url_prefix: "http://vmselect:8481/select/123/prometheus"
339# The user for inserting Prometheus data into VictoriaMetrics cluster under account 42
340# See https://github.com/VictoriaMetrics/VictoriaMetrics/blob/cluster/README.md#url-format
341# All the requests to http://vmauth:8427 with the given Basic Auth (username:password)
342# will be routed to http://vminsert:8480/insert/42/prometheus .
343# For example, http://vmauth:8427/api/v1/write is routed to http://vminsert:8480/insert/42/prometheus/api/v1/write
344# - username: "cluster-insert-account-42"
346# url_prefix: "http://vminsert:8480/insert/42/prometheus"
348# -- Raw config file content. Overrides `.Values.config` when set. Supports Helm templating,
349# YAML anchors, and comments.
351# -- Annotations for config secret
353# -- Add extra specs dynamically to this chart
359 initialDelaySeconds: 5
364 initialDelaySeconds: 5
369# -- Enterprise license key configuration for VictoriaMetrics enterprise.
370# Required only for VictoriaMetrics enterprise. Check docs [here](https://docs.victoriametrics.com/victoriametrics/enterprise/),
371# for more information, visit [site](https://victoriametrics.com/products/enterprise/).
372# Request a trial license [here](https://victoriametrics.com/products/enterprise/trial/)
373# Supported starting from VictoriaMetrics v1.94.0
377 # -- Use existing secret with license key
379 # -- Existing secret name
381 # -- Key in secret with license key