Files
cozystack/packages/extra/ingress/values.yaml
Andrei Kvapil 9632772337 [dx] JSDoc compatible syntax for values.yaml
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
2025-10-29 08:57:26 +05:00

40 lines
1.1 KiB
YAML

##
## @section Common parameters
##
## @param {int} replicas - Number of ingress-nginx replicas.
replicas: 2
## @param {[]string} whitelist - List of client networks.
whitelist: []
## Example:
## whitelist:
## - "1.2.3.4"
## - "10.100.0.0/16"
## @param {bool} cloudflareProxy - Restoring original visitor IPs when Cloudflare proxied is enabled.
cloudflareProxy: false
## @typedef {struct} Resources - Explicit CPU and memory configuration for each ingress-nginx replica.
## @field {quantity} [cpu] - CPU available to each replica.
## @field {quantity} [memory] - Memory (RAM) available to each replica.
## @enum {string} ResourcesPreset - Default sizing preset.
## @value nano
## @value micro
## @value small
## @value medium
## @value large
## @value xlarge
## @value 2xlarge
## @param {Resources} [resources] - Explicit CPU and memory configuration for each ingress-nginx replica. When omitted, the preset defined in `resourcesPreset` is applied.
resources: {}
## Example:
## resources:
## cpu: 4000m
## memory: 4Gi
## @param {ResourcesPreset} resourcesPreset="micro" - Default sizing preset used when `resources` is omitted.
resourcesPreset: "micro"