2024-01-04 15:16:00 +00:00
# Default values for dify.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
image :
api :
repository : langgenius/dify-api
tag : main
pullPolicy : Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
web :
repository : langgenius/dify-web
tag : main
pullPolicy : Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
proxy :
repository : nginx
tag : latest
pullPolicy : Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
##
# pullSecrets:
# - myRegistryKeySecretName
api :
enabled : true
replicas : 1
resources : {}
nodeSelector : {}
affinity : {}
tolerations : [ ]
# extraEnv: {}
extraEnv :
# Apply your own Environment Variables if necessary
# - name: LANG
# value: "C.UTF-8"
- name : CHECK_UPDATE_URL
# Won't check for update if left empty
# value: https://updates.dify.ai
value : ""
service :
port : 5001
annotations : {}
labels : {}
clusterIP : ""
url :
# The base URL of console application, refers to the Console base URL of WEB service if console domain is
# different from api or web app domain.
# example: http://cloud.dify.ai
console : ''
# The URL for Service API endpoints, refers to the base URL of the current API service if api domain is
# different from console domain.
# example: http://api.dify.ai
api : ''
# The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
# console or api domain.
# example: http://udify.app
app : ''
# When enabled, migrations will be executed prior to application startup and the application will start after the migrations have completed.
migration : true
# A secret key that is used for securely signing the session cookie and encrypting sensitive information on the database. You can generate a strong key using `openssl rand -base64 42`.
secretKey : 'sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U'
## Storage for `api` and `worker`
## Ignored if `.Values.externalS3.enabled` is true
##
persistence :
mountPath : "/app/api/storage"
annotations :
helm.sh/resource-policy : keep
persistentVolumeClaim :
existingClaim : ""
## Dify App Data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner.
## ReadWriteMany access mode required for nginx
##
storageClass :
accessModes : ReadWriteOnce
size : 5Gi
subPath : ""
worker :
enabled : true
replicas : 1
resources : {}
nodeSelector : {}
affinity : {}
tolerations : [ ]
extraEnv : {}
# Apply your own Environment Variables if necessary
# - name: LANG
# value: "C.UTF-8"
proxy :
enabled : true
replicas : 1
resources : {}
nodeSelector : {}
affinity : {}
tolerations : [ ]
extraEnv : {}
# Apply your own Environment Variables if necessary
# - name: LANG
# value: "C.UTF-8"
log :
persistence :
## If true, create/use a Persistent Volume Claim for log
## If false, flush logs to stdout & stderr
##
enabled : false
mountPath : "/var/log/nginx"
annotations :
helm.sh/resource-policy : keep
persistentVolumeClaim :
existingClaim : ""
## Nginx Logs Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner.
## ReadWriteMany access mode required for nginx
##
storageClass :
accessModes : ReadWriteOnce
size : 1Gi
subPath : ""
service :
port : 80
annotations : {}
labels : {}
clusterIP : ""
web :
enabled : true
replicas : 1
resources : {}
nodeSelector : {}
affinity : {}
tolerations : [ ]
extraEnv :
# Apply your own Environment Variables if necessary
- name : EDITION
value : "SELF_HOSTED"
# The base URL of console application api server, refers to the Console base URL of WEB service if console domain is
# different from api or web app domain.
# example: http://cloud.dify.ai
- name : CONSOLE_API_URL
value : ''
# The URL for Web APP api server, refers to the Web App base URL of WEB service if web app domain is different from
# console or api domain.
# example: http://udify.app
- name : APP_API_URL
value : ''
service :
port : 3000
annotations : {}
labels : {}
clusterIP : ""
postgresql :
enabled : true
name : postgres
global :
storageClass : ""
postgresql :
auth :
postgresPassword : "difyai123456"
username : ""
password : ""
database : "dify"
image :
registry : docker.io
repository : bitnami/postgresql
2024-11-26 19:35:15 +00:00
tag : 16.2 .0 -debian-11-r7
2024-01-04 15:16:00 +00:00
pullPolicy : IfNotPresent
## @param architecture PostgreSQL architecture (`standalone` or `replication`)
##
architecture : replication
## Replication configuration
## Ignored if `architecture` is `standalone`
##
primary :
resources :
limits : {}
requests : {}
persistence :
enabled : true
storageClass : ""
accessModes :
- ReadWriteOnce
size : 8Gi
## @section PostgreSQL read only replica parameters (only used when `architecture` is set to `replication`)
##
readReplicas :
name : read
replicaCount : 1
resources :
limits : {}
requests : {}
persistence :
enabled : true
storageClass : ""
accessModes :
- ReadWriteOnce
size : 8Gi
weaviate :
enabled : true
image :
# registry where weaviate image is stored
registry : docker.io
# Tag of weaviate image to deploy
# Note: We strongly recommend you overwrite this value in your own values.yaml.
# Otherwise a mere upgrade of the chart could lead to an unexpected upgrade
# of weaviate. In accordance with Infra-as-code, you should pin this value
# down and only change it if you explicitly want to upgrade the Weaviate
# version.
tag : 1.19 .1
repo : semitechnologies/weaviate
# Image pull policy: https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
pullPolicy : IfNotPresent
pullSecrets : [ ]
# overwrite command and args if you want to run specific startup scripts, for
# example setting the nofile limit
command : [ "/bin/weaviate" ]
args :
- '--host'
- '0.0.0.0'
- '--port'
- '8080'
- '--scheme'
- 'http'
- '--config-file'
- '/weaviate-config/conf.yaml'
- --read-timeout=60s
- --write-timeout=60s
# below is an example that can be used to set an arbitrary nofile limit at
# startup:
#
# command:
# - "/bin/sh"
# args:
# - "-c"
# - "ulimit -n 65535 && /bin/weaviate --host 0.0.0.0 --port 8080 --scheme http --config-file /weaviate-config/conf.yaml"
# it is possible to change the sysctl's 'vm.max_map_count' using initContainer for Weaviate,
# the init Container runs before Weaviate Container and sets the value for the WHOLE node
# to the one provided below.
# it is possible to run additional initContainer before Weaviate is up and running. You can specify the
# containers as a list in `extraInitContainers`, exactly how they are defined in a kubernetes manifest:
# https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
initContainers :
sysctlInitContainer :
enabled : true
sysctlVmMaxMapCount : 524288
image :
registry : docker.io
repo : alpine
tag : latest
pullPolicy : IfNotPresent
extraInitContainers : {}
# - image: some-image
# name: some-name
# Scale replicas of Weaviate. Note that as of v1.8.0 dynamic scaling is limited
# to cases where no data is imported yet. Scaling down after importing data may
# break usability. Full dynamic scalability will be added in a future release.
replicas : 1
resources : {}
# requests:
# cpu: '500m'
# memory: '300Mi'
# limits:
# cpu: '1000m'
# memory: '1Gi'
# Add a service account ot the Weaviate pods if you need Weaviate to have permissions to
# access kubernetes resources or cloud provider resources. For example for it to have
# access to a backup up bucket, or if you want to restrict Weaviate pod in any way.
# By default, use the default ServiceAccount
serviceAccountName :
# The Persistent Volume Claim settings for Weaviate. If there's a
# storage.fullnameOverride field set, then the default pvc will not be
# created, instead the one defined in fullnameOverride will be used
storage :
size : 32Gi
storageClassName : ""
# The service controls how weaviate is exposed to the outside world. If you
# don't want a public load balancer, you can also choose 'ClusterIP' to make
# weaviate only accessible within your cluster.
service :
name : weaviate
# type: LoadBalancer
type : ClusterIP
loadBalancerSourceRanges : [ ]
# optionally set cluster IP if you want to set a static IP
clusterIP :
annotations : {}
# Adjust liveness, readiness and startup probes configuration
startupProbe :
# For kubernetes versions prior to 1.18 startupProbe is not supported thus can be disabled.
enabled : false
initialDelaySeconds : 300
periodSeconds : 60
failureThreshold : 50
successThreshold : 1
timeoutSeconds : 3
livenessProbe :
initialDelaySeconds : 900
periodSeconds : 10
failureThreshold : 30
successThreshold : 1
timeoutSeconds : 3
readinessProbe :
initialDelaySeconds : 3
periodSeconds : 10
failureThreshold : 3
successThreshold : 1
timeoutSeconds : 3
terminationGracePeriodSeconds : 600
# Weaviate Config
#
# The following settings allow you to customize Weaviate to your needs, for
# example set authentication and authorization options. See weaviate docs
# (https://www.weaviate.io/developers/weaviate/) for all
# configuration.
authentication :
anonymous_access :
enabled : false
# This configuration allows to add API keys to Weaviate. This configuration allows only
# plain text API Keys, if you want to store the API Keys in a Kubernetes secret you can
# configure the same configuration with ENV Vars. Read the `env` section below on what
# needs to be configured. If using ENV Vars over this make sure to comment out the whole
# `apikey` section (as it is by default). ENV Vars has priority over this config.
apikey :
enabled : true
# Any number of allowed API Keys as plain text
allowed_keys :
- "WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih"
# You can either set a single user for all the listed Allowed API keys OR
# one user per API Key, i.e. length(apikey.allowed_keys) == length(apikey.users) OR
# length(apikey.users) == 1
# Only the first user-key pair will be used by `dify.api` and `dify-worker`
# NOTE: Make sure the lister Users are added to the Authorization as well.
users :
- hello@dify.ai
oidc :
enabled : false
# issuer: ''
# username_claim: ''
# groups_claim: ''
# client_id: ''
authorization :
admin_list :
enabled : true
users :
# Examples
# - admin_user1
# - admin_user2
# - api-key-user-admin
- hello@dify.ai
read_only_users :
# Examples
# - readonly_user1
# - readonly_user2
# - api-key-user-readOnly
query_defaults :
limit : 100
debug : false
# Insert any custom environment variables or envSecrets by putting the exact name
# and desired value into the settings below. Any env name passed will be automatically
# set for the statefulSet.
env :
CLUSTER_GOSSIP_BIND_PORT : 7000
CLUSTER_DATA_BIND_PORT : 7001
# The aggressiveness of the Go Garbage Collector. 100 is the default value.
GOGC : 100
# Expose metrics on port 2112 for Prometheus to scrape
PROMETHEUS_MONITORING_ENABLED : false
# Set a MEM limit for the Weaviate Pod so it can help you both increase GC-related
# performance as well as avoid GC-related out-of-memory (“OOM”) situations
# GOMEMLIMIT: 6GiB
# Maximum results Weaviate can query with/without pagination
# NOTE: Affects performance, do NOT set to a very high value.
# The default is 100K
QUERY_MAXIMUM_RESULTS : 100000
# whether to enable vector dimensions tracking metric
TRACK_VECTOR_DIMENSIONS : false
# whether to re-index/-compute the vector dimensions metric (needed if upgrading from weaviate < v1.16.0)
REINDEX_VECTOR_DIMENSIONS_AT_STARTUP : false
##########################
# API Keys with ENV Vars #
##########################
# If using ENV Vars to set up API Keys make sure to have `authentication.apikey` block commented out
# to avoid any future changes. ENV Vars has priority over the config above `authentication.apikey`.
# If using `authentication.apikey `the below ENV Vars will be used because they have priority,
# so comment them out to avoid any future changes.
# Enables API key authentication. If it is set to 'false' the AUTHENTICATION_APIKEY_ALLOWED_KEYS
# and AUTHENTICATION_APIKEY_USERS will not have any effect.
# AUTHENTICATION_APIKEY_ENABLED: 'true'
# List one or more keys, separated by commas. Each key corresponds to a specific user identity below.
# If you want to use a kubernetes secret for the API Keys comment out this Variable and use the one in `envSecrets` below
# AUTHENTICATION_APIKEY_ALLOWED_KEYS: 'jane-secret-key,ian-secret-key' (plain text)
# List one or more user identities, separated by commas. You can have only one User for all the keys or one user per key.
# The User/s can be a simple name or an email, no matter if it exists or not.
# NOTE: Make sure to add the users to the authorization above overwise they will not be allowed to interact with Weaviate.
# AUTHENTICATION_APIKEY_USERS: 'jane@doe.com,ian-smith'
AUTHENTICATION_APIKEY_ENABLED : 'true'
AUTHENTICATION_APIKEY_ALLOWED_KEYS : 'WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih'
AUTHENTICATION_APIKEY_USERS : 'hello@dify.ai'
AUTHORIZATION_ADMINLIST_ENABLED : 'true'
AUTHORIZATION_ADMINLIST_USERS : 'hello@dify.ai'
envSecrets :
# create a Kubernetes secret with AUTHENTICATION_APIKEY_ALLOWED_KEYS key and its respective value
# AUTHENTICATION_APIKEY_ALLOWED_KEYS: name-of-the-k8s-secret-containing-the-comma-separated-api-keys
# Configure backup providers
backups :
# The backup-filesystem module enables creation of the DB backups in
# the local filesystem
filesystem :
enabled : false
envconfig :
# Configure folder where backups should be saved
BACKUP_FILESYSTEM_PATH : /tmp/backups
s3 :
enabled : false
# If one is using AWS EKS and has already configured K8s Service Account
# that holds the AWS credentials one can pass a name of that service account
# here using this setting.
# NOTE: the root `serviceAccountName` config has priority over this one, and
# if the root one is set this one will NOT overwrite it. This one is here for
# backwards compatibility.
serviceAccountName :
envconfig :
# Configure bucket where backups should be saved, this setting is mandatory
BACKUP_S3_BUCKET : weaviate-backups
# Optional setting. Defaults to empty string.
# Set this option if you want to save backups to a given location
# inside the bucket
# BACKUP_S3_PATH: path/inside/bucket
# Optional setting. Defaults to AWS S3 (s3.amazonaws.com).
# Set this option if you have a MinIO storage configured in your environment
# and want to use it instead of the AWS S3.
# BACKUP_S3_ENDPOINT: custom.minio.endpoint.address
# Optional setting. Defaults to true.
# Set this option if you don't want to use SSL.
# BACKUP_S3_USE_SSL: true
# You can pass environment AWS settings here:
# Define the region
# AWS_REGION: eu-west-1
# For Weaviate to be able to create bucket objects it needs a user credentials to authenticate to AWS.
# The User must have permissions to read/create/delete bucket objects.
# You can pass the User credentials (access-key id and access-secret-key) in 2 ways:
# 1. by setting the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY plain values in the `secrets` section below
# this chart will create a kubernetes secret for you with these key-values pairs
# 2. create Kubernetes secret/s with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY keys and their respective values
# Set the Key and the secret where it is set in `envSecrets` section below
secrets : {}
# AWS_ACCESS_KEY_ID: access-key-id (plain text)
# AWS_SECRET_ACCESS_KEY: secret-access-key (plain text)
# If one has already defined secrets with AWS credentials one can pass them using
# this setting:
envSecrets : {}
# AWS_ACCESS_KEY_ID: name-of-the-k8s-secret-containing-the-key-id
# AWS_SECRET_ACCESS_KEY: name-of-the-k8s-secret-containing-the-key
gcs :
enabled : false
envconfig :
# Configure bucket where backups should be saved, this setting is mandatory
BACKUP_GCS_BUCKET : weaviate-backups
# Optional setting. Defaults to empty string.
# Set this option if you want to save backups to a given location
# inside the bucket
# BACKUP_GCS_PATH: path/inside/bucket
# You can pass environment Google settings here:
# Define the project
# GOOGLE_CLOUD_PROJECT: project-id
# For Weaviate to be able to create bucket objects it needs a ServiceAccount credentials to authenticate to GCP.
# The ServiceAccount must have permissions to read/create/delete bucket objects.
# You can pass the ServiceAccount credentials (as JSON) in 2 ways:
# 1. by setting the GOOGLE_APPLICATION_CREDENTIALS json as plain text in the `secrets` section below
# this chart will create a kubernetes secret for you with this key-values pairs
# 2. create a Kubernetes secret with GOOGLE_APPLICATION_CREDENTIALS key and its respective value
# Set the Key and the secret where it is set in `envSecrets` section below
secrets : {}
# GOOGLE_APPLICATION_CREDENTIALS: credentials-json-string (plain text)
# If one has already defined a secret with GOOGLE_APPLICATION_CREDENTIALS one can pass them using
# this setting:
envSecrets : {}
# GOOGLE_APPLICATION_CREDENTIALS: name-of-the-k8s-secret-containing-the-key
azure :
enabled : false
envconfig :
# Configure container where backups should be saved, this setting is mandatory
BACKUP_AZURE_CONTAINER : weaviate-backups
# Optional setting. Defaults to empty string.
# Set this option if you want to save backups to a given location
# inside the container
# BACKUP_AZURE_PATH: path/inside/container
# For Weaviate to be able to create container objects it needs a user credentials to authenticate to Azure Storage.
# The User must have permissions to read/create/delete container objects.
# You can pass the User credentials (account-name id and account-key or connection-string) in 2 ways:
# 1. by setting the AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY
# or AZURE_STORAGE_CONNECTION_STRING plain values in the `secrets` section below
# this chart will create a kubernetes secret for you with these key-values pairs
# 2. create Kubernetes secret/s with AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY
# or AZURE_STORAGE_CONNECTION_STRING and their respective values
# Set the Key and the secret where it is set in `envSecrets` section below
secrets : {}
# AZURE_STORAGE_ACCOUNT: account-name (plain text)
# AZURE_STORAGE_KEY: account-key (plain text)
# AZURE_STORAGE_CONNECTION_STRING: connection-string (plain text)
# If one has already defined secrets with Azure Storage credentials one can pass them using
# this setting:
envSecrets : {}
# AZURE_STORAGE_ACCOUNT: name-of-the-k8s-secret-containing-the-account-name
# AZURE_STORAGE_KEY: name-of-the-k8s-secret-containing-account-key
# AZURE_STORAGE_CONNECTION_STRING: name-of-the-k8s-secret-containing-connection-string
# modules are extensions to Weaviate, they can be used to support various
# ML-models, but also other features unrelated to model inference.
# An inference/vectorizer module is not required, you can also run without any
# modules and import your own vectors.
modules :
# by choosing the default vectorizer module, you can tell Weaviate to always
# use this module as the vectorizer if nothing else is specified. Can be
# overwritten on a per-class basis.
# set to text2vec-transformers if running with transformers instead
default_vectorizer_module : none
# It is also possible to configure authentication and authorization through a
# custom configmap The authorization and authentication values defined in
# values.yaml will be ignored when defining a custom config map.
custom_config_map :
enabled : false
name : 'custom-config'
# Pass any annotations to Weaviate pods
annotations :
nodeSelector :
tolerations :
affinity :
podAntiAffinity :
preferredDuringSchedulingIgnoredDuringExecution :
- weight : 1
podAffinityTerm :
topologyKey : "kubernetes.io/hostname"
labelSelector :
matchExpressions :
- key : "app"
operator : In
values :
- weaviate
service :
type : ClusterIP
port : 80
ingress :
enabled : true
className : "ingress-internal"
annotations :
cert-manager.io/cluster-issuer : vault-issuer
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/backend-protocol: HTTP
# nginx.ingress.kubernetes.io/proxy-body-size: 15m
# nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts :
- host : dify.dc
paths :
- path : /
pathType : ImplementationSpecific
# - host: dify-example2.local
# paths:
# - path: /
# pathType: Prefix
tls :
- secretName : dify-tls
hosts :
- dify.dc
resources : {}
# 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:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# Global node selector
# If set, this will apply to all dify components
# Individual components can be set to a different node selector
nodeSelector : {}
# Global tolerations
# If set, this will apply to all dify components
# Individual components can be set to a different tolerations
tolerations : [ ]
# Global affinity
# If set, this will apply to all dify components
# Individual components can be set to a different affinity
affinity : {}
redis :
enabled : true
## @section Global parameters
## Global Docker image parameters
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
##
## @param global.imageRegistry Global Docker image registry
## @param global.imagePullSecrets Global Docker registry secret names as an array
## @param global.storageClass Global StorageClass for Persistent Volume(s)
## @param global.redis.password Global Redis® password (overrides `auth.password`)
##
global :
imageRegistry : ""
## E.g.
## imagePullSecrets:
## - myRegistryKeySecretName
##
imagePullSecrets : [ ]
storageClass : ""
redis :
password : ""
## @section Common parameters
##
## @param kubeVersion Override Kubernetes version
##
kubeVersion : ""
## @param nameOverride String to partially override common.names.fullname
##
nameOverride : ""
## @param fullnameOverride String to fully override common.names.fullname
##
fullnameOverride : ""
## @param commonLabels Labels to add to all deployed objects
##
commonLabels : {}
## @param commonAnnotations Annotations to add to all deployed objects
##
commonAnnotations : {}
## @param secretAnnotations Annotations to add to secret
##
secretAnnotations : {}
## @param clusterDomain Kubernetes cluster domain name
##
clusterDomain : cluster.local
## @param extraDeploy Array of extra objects to deploy with the release
##
extraDeploy : [ ]
## @param useHostnames Use hostnames internally when announcing replication. If false, the hostname will be resolved to an IP address
##
useHostnames : true
## @param nameResolutionThreshold Failure threshold for internal hostnames resolution
##
nameResolutionThreshold : 5
## @param nameResolutionTimeout Timeout seconds between probes for internal hostnames resolution
##
nameResolutionTimeout : 5
## Enable diagnostic mode in the deployment
##
diagnosticMode :
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
##
enabled : false
## @param diagnosticMode.command Command to override all containers in the deployment
##
command :
- sleep
## @param diagnosticMode.args Args to override all containers in the deployment
##
args :
- infinity
## @section Redis® Image parameters
##
## Bitnami Redis® image
## ref: https://hub.docker.com/r/bitnami/redis/tags/
## @param image.registry Redis® image registry
## @param image.repository Redis® image repository
## @param image.tag Redis® image tag (immutable tags are recommended)
## @param image.digest Redis® image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param image.pullPolicy Redis® image pull policy
## @param image.pullSecrets Redis® image pull secrets
## @param image.debug Enable image debug mode
##
image :
registry : docker.io
repository : bitnami/redis
2024-02-18 03:14:03 +00:00
tag : 7.2 .4 -debian-11-r12
2024-01-04 15:16:00 +00:00
digest : ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy : IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets : [ ]
## Enable debug mode
##
debug : false
## @section Redis® common configuration parameters
## https://github.com/bitnami/containers/tree/main/bitnami/redis#configuration
##
## @param architecture Redis® architecture. Allowed values: `standalone` or `replication`
##
architecture : replication
## Redis® Authentication parameters
## ref: https://github.com/bitnami/containers/tree/main/bitnami/redis#setting-the-server-password-on-first-run
##
auth :
## @param auth.enabled Enable password authentication
##
enabled : true
## @param auth.sentinel Enable password authentication on sentinels too
##
sentinel : true
## @param auth.password Redis® password
## Defaults to a random 10-character alphanumeric string if not set
##
password : "difyai123456"
## @param auth.existingSecret The name of an existing secret with Redis® credentials
## NOTE: When it's set, the previous `auth.password` parameter is ignored
##
existingSecret : ""
## @param auth.existingSecretPasswordKey Password key to be retrieved from existing secret
## NOTE: ignored unless `auth.existingSecret` parameter is set
##
existingSecretPasswordKey : ""
## @param auth.usePasswordFiles Mount credentials as files instead of using an environment variable
##
usePasswordFiles : false
## @param commonConfiguration [string] Common configuration to be added into the ConfigMap
## ref: https://redis.io/topics/config
##
commonConfiguration : |-
# Enable AOF https://redis.io/topics/persistence#append-only-file
appendonly yes
# Disable RDB persistence, AOF persistence already enabled.
save ""
## @param existingConfigmap The name of an existing ConfigMap with your custom configuration for Redis® nodes
##
existingConfigmap : ""
## @section Redis® master configuration parameters
##
master :
## @param master.count Number of Redis® master instances to deploy (experimental, requires additional configuration)
##
count : 1
## @param master.configuration Configuration for Redis® master nodes
## ref: https://redis.io/topics/config
##
configuration : ""
## @param master.disableCommands Array with Redis® commands to disable on master nodes
## Commands will be completely disabled by renaming each to an empty string.
## ref: https://redis.io/topics/security#disabling-of-specific-commands
##
disableCommands :
- FLUSHDB
- FLUSHALL
## @param master.command Override default container command (useful when using custom images)
##
command : [ ]
## @param master.args Override default container args (useful when using custom images)
##
args : [ ]
## @param master.preExecCmds Additional commands to run prior to starting Redis® master
##
preExecCmds : [ ]
## @param master.extraFlags Array with additional command line flags for Redis® master
## e.g:
## extraFlags:
## - "--maxmemory-policy volatile-ttl"
## - "--repl-backlog-size 1024mb"
##
extraFlags : [ ]
## @param master.extraEnvVars Array with extra environment variables to add to Redis® master nodes
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars : [ ]
## @param master.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Redis® master nodes
##
extraEnvVarsCM : ""
## @param master.extraEnvVarsSecret Name of existing Secret containing extra env vars for Redis® master nodes
##
extraEnvVarsSecret : ""
## @param master.containerPorts.redis Container port to open on Redis® master nodes
##
containerPorts :
redis : 6379
## Configure extra options for Redis® containers' liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param master.startupProbe.enabled Enable startupProbe on Redis® master nodes
## @param master.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param master.startupProbe.periodSeconds Period seconds for startupProbe
## @param master.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param master.startupProbe.failureThreshold Failure threshold for startupProbe
## @param master.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe :
enabled : false
initialDelaySeconds : 20
periodSeconds : 5
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 5
## @param master.livenessProbe.enabled Enable livenessProbe on Redis® master nodes
## @param master.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param master.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param master.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param master.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param master.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe :
enabled : true
initialDelaySeconds : 20
periodSeconds : 5
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 5
## @param master.readinessProbe.enabled Enable readinessProbe on Redis® master nodes
## @param master.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param master.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param master.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param master.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param master.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe :
enabled : true
initialDelaySeconds : 20
periodSeconds : 5
timeoutSeconds : 1
successThreshold : 1
failureThreshold : 5
## @param master.customStartupProbe Custom startupProbe that overrides the default one
##
customStartupProbe : {}
## @param master.customLivenessProbe Custom livenessProbe that overrides the default one
##
customLivenessProbe : {}
## @param master.customReadinessProbe Custom readinessProbe that overrides the default one
##
customReadinessProbe : {}
## Redis® master resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## @param master.resources.limits The resources limits for the Redis® master containers
## @param master.resources.requests The requested resources for the Redis® master containers
##
resources :
limits : {}
requests : {}
## Configure Pods Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param master.podSecurityContext.enabled Enabled Redis® master pods' Security Context
## @param master.podSecurityContext.fsGroup Set Redis® master pod's Security Context fsGroup
##
podSecurityContext :
enabled : true
fsGroup : 1001
## Configure Container Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param master.containerSecurityContext.enabled Enabled Redis® master containers' Security Context
## @param master.containerSecurityContext.runAsUser Set Redis® master containers' Security Context runAsUser
##
containerSecurityContext :
enabled : true
runAsUser : 1001
## @param master.kind Use either Deployment or StatefulSet (default)
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
##
kind : StatefulSet
## @param master.schedulerName Alternate scheduler for Redis® master pods
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName : ""
## @param master.updateStrategy.type Redis® master statefulset strategy type
## @skip master.updateStrategy.rollingUpdate
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
##
updateStrategy :
## StrategyType
## Can be set to RollingUpdate, OnDelete (statefulset), Recreate (deployment)
##
type : RollingUpdate
## @param master.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
##
minReadySeconds : 0
## @param master.priorityClassName Redis® master pods' priorityClassName
##
priorityClassName : ""
## @param master.hostAliases Redis® master pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases : [ ]
## @param master.podLabels Extra labels for Redis® master pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels : {}
## @param master.podAnnotations Annotations for Redis® master pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations : {}
## @param master.shareProcessNamespace Share a single process namespace between all of the containers in Redis® master pods
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
##
shareProcessNamespace : false
## @param master.podAffinityPreset Pod affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAffinityPreset : ""
## @param master.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset : soft
## Node master.affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
##
nodeAffinityPreset :
## @param master.nodeAffinityPreset.type Node affinity preset type. Ignored if `master.affinity` is set. Allowed values: `soft` or `hard`
##
type : ""
## @param master.nodeAffinityPreset.key Node label key to match. Ignored if `master.affinity` is set
##
key : ""
## @param master.nodeAffinityPreset.values Node label values to match. Ignored if `master.affinity` is set
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values : [ ]
## @param master.affinity Affinity for Redis® master pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## NOTE: `master.podAffinityPreset`, `master.podAntiAffinityPreset`, and `master.nodeAffinityPreset` will be ignored when it's set
##
affinity : {}
## @param master.nodeSelector Node labels for Redis® master pods assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector : {}
## @param master.tolerations Tolerations for Redis® master pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations : [ ]
## @param master.topologySpreadConstraints Spread Constraints for Redis® master pod assignment
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
## E.g.
## topologySpreadConstraints:
## - maxSkew: 1
## topologyKey: node
## whenUnsatisfiable: DoNotSchedule
##
topologySpreadConstraints : [ ]
## @param master.dnsPolicy DNS Policy for Redis® master pod
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
## E.g.
## dnsPolicy: ClusterFirst
##
dnsPolicy : ""
## @param master.dnsConfig DNS Configuration for Redis® master pod
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
## E.g.
## dnsConfig:
## options:
## - name: ndots
## value: "4"
## - name: single-request-reopen
##
dnsConfig : {}
## @param master.lifecycleHooks for the Redis® master container(s) to automate configuration before or after startup
##
lifecycleHooks : {}
## @param master.extraVolumes Optionally specify extra list of additional volumes for the Redis® master pod(s)
##
extraVolumes : [ ]
## @param master.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis® master container(s)
##
extraVolumeMounts : [ ]
## @param master.sidecars Add additional sidecar containers to the Redis® master pod(s)
## e.g:
## sidecars:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
sidecars : [ ]
## @param master.initContainers Add additional init containers to the Redis® master pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
## initContainers:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## command: ['sh', '-c', 'echo "hello world"']
##
initContainers : [ ]
## Persistence parameters
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence :
## @param master.persistence.enabled Enable persistence on Redis® master nodes using Persistent Volume Claims
##
enabled : true
## @param master.persistence.medium Provide a medium for `emptyDir` volumes.
##
medium : ""
## @param master.persistence.sizeLimit Set this to enable a size limit for `emptyDir` volumes.
##
sizeLimit : ""
## @param master.persistence.path The path the volume will be mounted at on Redis® master containers
## NOTE: Useful when using different Redis® images
##
path : /data
## @param master.persistence.subPath The subdirectory of the volume to mount on Redis® master containers
## NOTE: Useful in dev environments
##
subPath : ""
## @param master.persistence.subPathExpr Used to construct the subPath subdirectory of the volume to mount on Redis® master containers
##
subPathExpr : ""
## @param master.persistence.storageClass Persistent Volume storage class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
##
storageClass : ""
## @param master.persistence.accessModes Persistent Volume access modes
##
accessModes :
- ReadWriteOnce
## @param master.persistence.size Persistent Volume size
##
size : 8Gi
## @param master.persistence.annotations Additional custom annotations for the PVC
##
annotations : {}
## @param master.persistence.labels Additional custom labels for the PVC
##
labels : {}
## @param master.persistence.selector Additional labels to match for the PVC
## e.g:
## selector:
## matchLabels:
## app: my-app
##
selector : {}
## @param master.persistence.dataSource Custom PVC data source
##
dataSource : {}
## @param master.persistence.existingClaim Use a existing PVC which must be created manually before bound
## NOTE: requires master.persistence.enabled: true
##
existingClaim : ""
## Redis® master service parameters
##
service :
## @param master.service.type Redis® master service type
##
type : ClusterIP
## @param master.service.ports.redis Redis® master service port
##
ports :
redis : 6379
## @param master.service.nodePorts.redis Node port for Redis® master
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
## NOTE: choose port between <30000-32767>
##
nodePorts :
redis : ""
## @param master.service.externalTrafficPolicy Redis® master service external traffic policy
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy : Cluster
## @param master.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
##
extraPorts : [ ]
## @param master.service.internalTrafficPolicy Redis® master service internal traffic policy (requires Kubernetes v1.22 or greater to be usable)
## ref: https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
##
internalTrafficPolicy : Cluster
## @param master.service.clusterIP Redis® master service Cluster IP
##
clusterIP : ""
## @param master.service.loadBalancerIP Redis® master service Load Balancer IP
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
loadBalancerIP : ""
## @param master.service.loadBalancerSourceRanges Redis® master service Load Balancer sources
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g.
## loadBalancerSourceRanges:
## - 10.10.10.0/24
##
loadBalancerSourceRanges : [ ]
## @param master.service.externalIPs Redis® master service External IPs
## https://kubernetes.io/docs/concepts/services-networking/service/#external-ips
## e.g.
## externalIPs:
## - 10.10.10.1
## - 201.22.30.1
##
externalIPs : [ ]
## @param master.service.annotations Additional custom annotations for Redis® master service
##
annotations : {}
## @param master.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
## If "ClientIP", consecutive client requests will be directed to the same Pod
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
##
sessionAffinity : None
## @param master.service.sessionAffinityConfig Additional settings for the sessionAffinity
## sessionAffinityConfig:
## clientIP:
## timeoutSeconds: 300
##
sessionAffinityConfig : {}
## @param master.terminationGracePeriodSeconds Integer setting the termination grace period for the redis-master pods
##
terminationGracePeriodSeconds : 30
## ServiceAccount configuration
##
serviceAccount :
## @param master.serviceAccount.create Specifies whether a ServiceAccount should be created
##
create : false
## @param master.serviceAccount.name The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the common.names.fullname template
##
name : ""
## @param master.serviceAccount.automountServiceAccountToken Whether to auto mount the service account token
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
##
automountServiceAccountToken : true
## @param master.serviceAccount.annotations Additional custom annotations for the ServiceAccount
##
annotations : {}
## @section Redis® replicas configuration parameters
##
replica :
## @param replica.replicaCount Number of Redis® replicas to deploy
##
replicaCount : 3
## @param replica.configuration Configuration for Redis® replicas nodes
## ref: https://redis.io/topics/config
##
configuration : ""
## @param replica.disableCommands Array with Redis® commands to disable on replicas nodes
## Commands will be completely disabled by renaming each to an empty string.
## ref: https://redis.io/topics/security#disabling-of-specific-commands
##
disableCommands :
- FLUSHDB
- FLUSHALL
## @param replica.command Override default container command (useful when using custom images)
##
command : [ ]
## @param replica.args Override default container args (useful when using custom images)
##
args : [ ]
## @param replica.preExecCmds Additional commands to run prior to starting Redis® replicas
##
preExecCmds : [ ]
## @param replica.extraFlags Array with additional command line flags for Redis® replicas
## e.g:
## extraFlags:
## - "--maxmemory-policy volatile-ttl"
## - "--repl-backlog-size 1024mb"
##
extraFlags : [ ]
## @param replica.extraEnvVars Array with extra environment variables to add to Redis® replicas nodes
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars : [ ]
## @param replica.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Redis® replicas nodes
##
extraEnvVarsCM : ""
## @param replica.extraEnvVarsSecret Name of existing Secret containing extra env vars for Redis® replicas nodes
##
extraEnvVarsSecret : ""
## @param replica.externalMaster.enabled Use external master for bootstrapping
## @param replica.externalMaster.host External master host to bootstrap from
## @param replica.externalMaster.port Port for Redis service external master host
##
externalMaster :
enabled : false
host : ""
port : 6379
## @param replica.containerPorts.redis Container port to open on Redis® replicas nodes
##
containerPorts :
redis : 6379
## Configure extra options for Redis® containers' liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param replica.startupProbe.enabled Enable startupProbe on Redis® replicas nodes
## @param replica.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param replica.startupProbe.periodSeconds Period seconds for startupProbe
## @param replica.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param replica.startupProbe.failureThreshold Failure threshold for startupProbe
## @param replica.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe :
enabled : true
initialDelaySeconds : 10
periodSeconds : 10
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 22
## @param replica.livenessProbe.enabled Enable livenessProbe on Redis® replicas nodes
## @param replica.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param replica.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param replica.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param replica.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param replica.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe :
enabled : true
initialDelaySeconds : 20
periodSeconds : 5
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 5
## @param replica.readinessProbe.enabled Enable readinessProbe on Redis® replicas nodes
## @param replica.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param replica.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param replica.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param replica.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param replica.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe :
enabled : true
initialDelaySeconds : 20
periodSeconds : 5
timeoutSeconds : 1
successThreshold : 1
failureThreshold : 5
## @param replica.customStartupProbe Custom startupProbe that overrides the default one
##
customStartupProbe : {}
## @param replica.customLivenessProbe Custom livenessProbe that overrides the default one
##
customLivenessProbe : {}
## @param replica.customReadinessProbe Custom readinessProbe that overrides the default one
##
customReadinessProbe : {}
## Redis® replicas resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## @param replica.resources.limits The resources limits for the Redis® replicas containers
## @param replica.resources.requests The requested resources for the Redis® replicas containers
##
resources :
# 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:'.
limits : {}
# cpu: 250m
# memory: 256Mi
requests : {}
# cpu: 250m
# memory: 256Mi
## Configure Pods Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param replica.podSecurityContext.enabled Enabled Redis® replicas pods' Security Context
## @param replica.podSecurityContext.fsGroup Set Redis® replicas pod's Security Context fsGroup
##
podSecurityContext :
enabled : true
fsGroup : 1001
## Configure Container Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param replica.containerSecurityContext.enabled Enabled Redis® replicas containers' Security Context
## @param replica.containerSecurityContext.runAsUser Set Redis® replicas containers' Security Context runAsUser
##
containerSecurityContext :
enabled : true
runAsUser : 1001
## @param replica.schedulerName Alternate scheduler for Redis® replicas pods
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
##
schedulerName : ""
## @param replica.updateStrategy.type Redis® replicas statefulset strategy type
## @skip replica.updateStrategy.rollingUpdate
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
##
updateStrategy :
## StrategyType
## Can be set to RollingUpdate, OnDelete (statefulset), Recreate (deployment)
##
type : RollingUpdate
## @param replica.minReadySeconds How many seconds a pod needs to be ready before killing the next, during update
##
minReadySeconds : 0
## @param replica.priorityClassName Redis® replicas pods' priorityClassName
##
priorityClassName : ""
## @param replica.podManagementPolicy podManagementPolicy to manage scaling operation of %%MAIN_CONTAINER_NAME%% pods
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
##
podManagementPolicy : ""
## @param replica.hostAliases Redis® replicas pods host aliases
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
##
hostAliases : [ ]
## @param replica.podLabels Extra labels for Redis® replicas pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels : {}
## @param replica.podAnnotations Annotations for Redis® replicas pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations : {}
## @param replica.shareProcessNamespace Share a single process namespace between all of the containers in Redis® replicas pods
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
##
shareProcessNamespace : false
## @param replica.podAffinityPreset Pod affinity preset. Ignored if `replica.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAffinityPreset : ""
## @param replica.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `replica.affinity` is set. Allowed values: `soft` or `hard`
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
##
podAntiAffinityPreset : soft
## Node affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
##
nodeAffinityPreset :
## @param replica.nodeAffinityPreset.type Node affinity preset type. Ignored if `replica.affinity` is set. Allowed values: `soft` or `hard`
##
type : ""
## @param replica.nodeAffinityPreset.key Node label key to match. Ignored if `replica.affinity` is set
##
key : ""
## @param replica.nodeAffinityPreset.values Node label values to match. Ignored if `replica.affinity` is set
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values : [ ]
## @param replica.affinity Affinity for Redis® replicas pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## NOTE: `replica.podAffinityPreset`, `replica.podAntiAffinityPreset`, and `replica.nodeAffinityPreset` will be ignored when it's set
##
affinity : {}
## @param replica.nodeSelector Node labels for Redis® replicas pods assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector : {}
## @param replica.tolerations Tolerations for Redis® replicas pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations : [ ]
## @param replica.topologySpreadConstraints Spread Constraints for Redis® replicas pod assignment
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
## E.g.
## topologySpreadConstraints:
## - maxSkew: 1
## topologyKey: node
## whenUnsatisfiable: DoNotSchedule
##
topologySpreadConstraints : [ ]
## @param replica.dnsPolicy DNS Policy for Redis® replica pods
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
## E.g.
## dnsPolicy: ClusterFirst
##
dnsPolicy : ""
## @param replica.dnsConfig DNS Configuration for Redis® replica pods
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
## E.g.
## dnsConfig:
## options:
## - name: ndots
## value: "4"
## - name: single-request-reopen
##
dnsConfig : {}
## @param replica.lifecycleHooks for the Redis® replica container(s) to automate configuration before or after startup
##
lifecycleHooks : {}
## @param replica.extraVolumes Optionally specify extra list of additional volumes for the Redis® replicas pod(s)
##
extraVolumes : [ ]
## @param replica.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis® replicas container(s)
##
extraVolumeMounts : [ ]
## @param replica.sidecars Add additional sidecar containers to the Redis® replicas pod(s)
## e.g:
## sidecars:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
sidecars : [ ]
## @param replica.initContainers Add additional init containers to the Redis® replicas pod(s)
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
## e.g:
## initContainers:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## command: ['sh', '-c', 'echo "hello world"']
##
initContainers : [ ]
## Persistence Parameters
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence :
## @param replica.persistence.enabled Enable persistence on Redis® replicas nodes using Persistent Volume Claims
##
enabled : true
## @param replica.persistence.medium Provide a medium for `emptyDir` volumes.
##
medium : ""
## @param replica.persistence.sizeLimit Set this to enable a size limit for `emptyDir` volumes.
##
sizeLimit : ""
## @param replica.persistence.path The path the volume will be mounted at on Redis® replicas containers
## NOTE: Useful when using different Redis® images
##
path : /data
## @param replica.persistence.subPath The subdirectory of the volume to mount on Redis® replicas containers
## NOTE: Useful in dev environments
##
subPath : ""
## @param replica.persistence.subPathExpr Used to construct the subPath subdirectory of the volume to mount on Redis® replicas containers
##
subPathExpr : ""
## @param replica.persistence.storageClass Persistent Volume storage class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
##
storageClass : ""
## @param replica.persistence.accessModes Persistent Volume access modes
##
accessModes :
- ReadWriteOnce
## @param replica.persistence.size Persistent Volume size
##
size : 8Gi
## @param replica.persistence.annotations Additional custom annotations for the PVC
##
annotations : {}
## @param replica.persistence.labels Additional custom labels for the PVC
##
labels : {}
## @param replica.persistence.selector Additional labels to match for the PVC
## e.g:
## selector:
## matchLabels:
## app: my-app
##
selector : {}
## @param replica.persistence.dataSource Custom PVC data source
##
dataSource : {}
## @param replica.persistence.existingClaim Use a existing PVC which must be created manually before bound
## NOTE: requires replica.persistence.enabled: true
##
existingClaim : ""
## Redis® replicas service parameters
##
service :
## @param replica.service.type Redis® replicas service type
##
type : ClusterIP
## @param replica.service.ports.redis Redis® replicas service port
##
ports :
redis : 6379
## @param replica.service.nodePorts.redis Node port for Redis® replicas
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
## NOTE: choose port between <30000-32767>
##
nodePorts :
redis : ""
## @param replica.service.externalTrafficPolicy Redis® replicas service external traffic policy
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy : Cluster
## @param replica.service.internalTrafficPolicy Redis® replicas service internal traffic policy (requires Kubernetes v1.22 or greater to be usable)
## ref: https://kubernetes.io/docs/concepts/services-networking/service-traffic-policy/
##
internalTrafficPolicy : Cluster
## @param replica.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
##
extraPorts : [ ]
## @param replica.service.clusterIP Redis® replicas service Cluster IP
##
clusterIP : ""
## @param replica.service.loadBalancerIP Redis® replicas service Load Balancer IP
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
loadBalancerIP : ""
## @param replica.service.loadBalancerSourceRanges Redis® replicas service Load Balancer sources
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g.
## loadBalancerSourceRanges:
## - 10.10.10.0/24
##
loadBalancerSourceRanges : [ ]
## @param replica.service.annotations Additional custom annotations for Redis® replicas service
##
annotations : {}
## @param replica.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
## If "ClientIP", consecutive client requests will be directed to the same Pod
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
##
sessionAffinity : None
## @param replica.service.sessionAffinityConfig Additional settings for the sessionAffinity
## sessionAffinityConfig:
## clientIP:
## timeoutSeconds: 300
##
sessionAffinityConfig : {}
## @param replica.terminationGracePeriodSeconds Integer setting the termination grace period for the redis-replicas pods
##
terminationGracePeriodSeconds : 30
## Autoscaling configuration
##
autoscaling :
## @param replica.autoscaling.enabled Enable replica autoscaling settings
##
enabled : false
## @param replica.autoscaling.minReplicas Minimum replicas for the pod autoscaling
##
minReplicas : 1
## @param replica.autoscaling.maxReplicas Maximum replicas for the pod autoscaling
##
maxReplicas : 11
## @param replica.autoscaling.targetCPU Percentage of CPU to consider when autoscaling
##
targetCPU : ""
## @param replica.autoscaling.targetMemory Percentage of Memory to consider when autoscaling
##
targetMemory : ""
## ServiceAccount configuration
##
serviceAccount :
## @param replica.serviceAccount.create Specifies whether a ServiceAccount should be created
##
create : false
## @param replica.serviceAccount.name The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the common.names.fullname template
##
name : ""
## @param replica.serviceAccount.automountServiceAccountToken Whether to auto mount the service account token
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
##
automountServiceAccountToken : true
## @param replica.serviceAccount.annotations Additional custom annotations for the ServiceAccount
##
annotations : {}
## @section Redis® Sentinel configuration parameters
##
sentinel :
## @param sentinel.enabled Use Redis® Sentinel on Redis® pods.
## IMPORTANT: this will disable the master and replicas services and
## create a single Redis® service exposing both the Redis and Sentinel ports
##
enabled : false
## Bitnami Redis® Sentinel image version
## ref: https://hub.docker.com/r/bitnami/redis-sentinel/tags/
## @param sentinel.image.registry Redis® Sentinel image registry
## @param sentinel.image.repository Redis® Sentinel image repository
## @param sentinel.image.tag Redis® Sentinel image tag (immutable tags are recommended)
## @param sentinel.image.digest Redis® Sentinel image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param sentinel.image.pullPolicy Redis® Sentinel image pull policy
## @param sentinel.image.pullSecrets Redis® Sentinel image pull secrets
## @param sentinel.image.debug Enable image debug mode
##
image :
registry : docker.io
repository : bitnami/redis-sentinel
2024-02-13 01:47:54 +00:00
tag : 7.2 .4 -debian-11-r10
2024-01-04 15:16:00 +00:00
digest : ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy : IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets : [ ]
## Enable debug mode
##
debug : false
## @param sentinel.annotations Additional custom annotations for Redis® Sentinel resource
##
annotations : {}
## @param sentinel.masterSet Master set name
##
masterSet : mymaster
## @param sentinel.quorum Sentinel Quorum
##
quorum : 2
## @param sentinel.getMasterTimeout Amount of time to allow before get_sentinel_master_info() times out.
## NOTE: This is directly related to the startupProbes which are configured to run every 10 seconds for a total of 22 failures. If adjusting this value, also adjust the startupProbes.
##
getMasterTimeout : 220
## @param sentinel.automateClusterRecovery Automate cluster recovery in cases where the last replica is not considered a good replica and Sentinel won't automatically failover to it.
## This also prevents any new replica from starting until the last remaining replica is elected as master to guarantee that it is the one to be elected by Sentinel, and not a newly started replica with no data.
## NOTE: This feature requires a "downAfterMilliseconds" value less or equal to 2000.
##
automateClusterRecovery : false
## @param sentinel.redisShutdownWaitFailover Whether the Redis® master container waits for the failover at shutdown (in addition to the Redis® Sentinel container).
##
redisShutdownWaitFailover : true
## Sentinel timing restrictions
## @param sentinel.downAfterMilliseconds Timeout for detecting a Redis® node is down
## @param sentinel.failoverTimeout Timeout for performing a election failover
##
downAfterMilliseconds : 60000
failoverTimeout : 180000
## @param sentinel.parallelSyncs Number of replicas that can be reconfigured in parallel to use the new master after a failover
##
parallelSyncs : 1
## @param sentinel.configuration Configuration for Redis® Sentinel nodes
## ref: https://redis.io/topics/sentinel
##
configuration : ""
## @param sentinel.command Override default container command (useful when using custom images)
##
command : [ ]
## @param sentinel.args Override default container args (useful when using custom images)
##
args : [ ]
## @param sentinel.preExecCmds Additional commands to run prior to starting Redis® Sentinel
##
preExecCmds : [ ]
## @param sentinel.extraEnvVars Array with extra environment variables to add to Redis® Sentinel nodes
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars : [ ]
## @param sentinel.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for Redis® Sentinel nodes
##
extraEnvVarsCM : ""
## @param sentinel.extraEnvVarsSecret Name of existing Secret containing extra env vars for Redis® Sentinel nodes
##
extraEnvVarsSecret : ""
## @param sentinel.externalMaster.enabled Use external master for bootstrapping
## @param sentinel.externalMaster.host External master host to bootstrap from
## @param sentinel.externalMaster.port Port for Redis service external master host
##
externalMaster :
enabled : false
host : ""
port : 6379
## @param sentinel.containerPorts.sentinel Container port to open on Redis® Sentinel nodes
##
containerPorts :
sentinel : 26379
## Configure extra options for Redis® containers' liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
## @param sentinel.startupProbe.enabled Enable startupProbe on Redis® Sentinel nodes
## @param sentinel.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param sentinel.startupProbe.periodSeconds Period seconds for startupProbe
## @param sentinel.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param sentinel.startupProbe.failureThreshold Failure threshold for startupProbe
## @param sentinel.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe :
enabled : true
initialDelaySeconds : 10
periodSeconds : 10
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 22
## @param sentinel.livenessProbe.enabled Enable livenessProbe on Redis® Sentinel nodes
## @param sentinel.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param sentinel.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param sentinel.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param sentinel.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param sentinel.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe :
enabled : true
initialDelaySeconds : 20
periodSeconds : 10
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 6
## @param sentinel.readinessProbe.enabled Enable readinessProbe on Redis® Sentinel nodes
## @param sentinel.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param sentinel.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param sentinel.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param sentinel.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param sentinel.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe :
enabled : true
initialDelaySeconds : 20
periodSeconds : 5
timeoutSeconds : 1
successThreshold : 1
failureThreshold : 6
## @param sentinel.customStartupProbe Custom startupProbe that overrides the default one
##
customStartupProbe : {}
## @param sentinel.customLivenessProbe Custom livenessProbe that overrides the default one
##
customLivenessProbe : {}
## @param sentinel.customReadinessProbe Custom readinessProbe that overrides the default one
##
customReadinessProbe : {}
## Persistence parameters
## ref: https://kubernetes.io/docs/user-guide/persistent-volumes/
##
persistence :
## @param sentinel.persistence.enabled Enable persistence on Redis® sentinel nodes using Persistent Volume Claims (Experimental)
##
enabled : false
## @param sentinel.persistence.storageClass Persistent Volume storage class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is set, choosing the default provisioner
##
storageClass : ""
## @param sentinel.persistence.accessModes Persistent Volume access modes
##
accessModes :
- ReadWriteOnce
## @param sentinel.persistence.size Persistent Volume size
##
size : 100Mi
## @param sentinel.persistence.annotations Additional custom annotations for the PVC
##
annotations : {}
## @param sentinel.persistence.labels Additional custom labels for the PVC
##
labels : {}
## @param sentinel.persistence.selector Additional labels to match for the PVC
## e.g:
## selector:
## matchLabels:
## app: my-app
##
selector : {}
## @param sentinel.persistence.dataSource Custom PVC data source
##
dataSource : {}
## @param sentinel.persistence.medium Provide a medium for `emptyDir` volumes.
##
medium : ""
## @param sentinel.persistence.sizeLimit Set this to enable a size limit for `emptyDir` volumes.
##
sizeLimit : ""
## Redis® Sentinel resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## @param sentinel.resources.limits The resources limits for the Redis® Sentinel containers
## @param sentinel.resources.requests The requested resources for the Redis® Sentinel containers
##
resources :
limits : {}
requests : {}
## Configure Container Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param sentinel.containerSecurityContext.enabled Enabled Redis® Sentinel containers' Security Context
## @param sentinel.containerSecurityContext.runAsUser Set Redis® Sentinel containers' Security Context runAsUser
##
containerSecurityContext :
enabled : true
runAsUser : 1001
## @param sentinel.lifecycleHooks for the Redis® sentinel container(s) to automate configuration before or after startup
##
lifecycleHooks : {}
## @param sentinel.extraVolumes Optionally specify extra list of additional volumes for the Redis® Sentinel
##
extraVolumes : [ ]
## @param sentinel.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis® Sentinel container(s)
##
extraVolumeMounts : [ ]
## Redis® Sentinel service parameters
##
service :
## @param sentinel.service.type Redis® Sentinel service type
##
type : ClusterIP
## @param sentinel.service.ports.redis Redis® service port for Redis®
## @param sentinel.service.ports.sentinel Redis® service port for Redis® Sentinel
##
ports :
redis : 6379
sentinel : 26379
## @param sentinel.service.nodePorts.redis Node port for Redis®
## @param sentinel.service.nodePorts.sentinel Node port for Sentinel
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
## NOTE: choose port between <30000-32767>
## NOTE: By leaving these values blank, they will be generated by ports-configmap
## If setting manually, please leave at least replica.replicaCount + 1 in between sentinel.service.nodePorts.redis and sentinel.service.nodePorts.sentinel to take into account the ports that will be created while incrementing that base port
##
nodePorts :
redis : ""
sentinel : ""
## @param sentinel.service.externalTrafficPolicy Redis® Sentinel service external traffic policy
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy : Cluster
## @param sentinel.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
##
extraPorts : [ ]
## @param sentinel.service.clusterIP Redis® Sentinel service Cluster IP
##
clusterIP : ""
## @param sentinel.service.loadBalancerIP Redis® Sentinel service Load Balancer IP
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
loadBalancerIP : ""
## @param sentinel.service.loadBalancerSourceRanges Redis® Sentinel service Load Balancer sources
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g.
## loadBalancerSourceRanges:
## - 10.10.10.0/24
##
loadBalancerSourceRanges : [ ]
## @param sentinel.service.annotations Additional custom annotations for Redis® Sentinel service
##
annotations : {}
## @param sentinel.service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
## If "ClientIP", consecutive client requests will be directed to the same Pod
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
##
sessionAffinity : None
## @param sentinel.service.sessionAffinityConfig Additional settings for the sessionAffinity
## sessionAffinityConfig:
## clientIP:
## timeoutSeconds: 300
##
sessionAffinityConfig : {}
## Headless service properties
##
headless :
## @param sentinel.service.headless.annotations Annotations for the headless service.
##
annotations : {}
## @param sentinel.terminationGracePeriodSeconds Integer setting the termination grace period for the redis-node pods
##
terminationGracePeriodSeconds : 30
## @section Other Parameters
##
## @param serviceBindings.enabled Create secret for service binding (Experimental)
## Ref: https://servicebinding.io/service-provider/
##
serviceBindings :
enabled : false
## Network Policy configuration
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
##
networkPolicy :
## @param networkPolicy.enabled Enable creation of NetworkPolicy resources
##
enabled : false
## @param networkPolicy.allowExternal Don't require client label for connections
## When set to false, only pods with the correct client label will have network access to the ports
## Redis® is listening on. When true, Redis® will accept connections from any source
## (with the correct destination port).
##
allowExternal : true
## @param networkPolicy.extraIngress Add extra ingress rules to the NetworkPolicy
## e.g:
## extraIngress:
## - ports:
## - port: 1234
## from:
## - podSelector:
## - matchLabels:
## - role: frontend
## - podSelector:
## - matchExpressions:
## - key: role
## operator: In
## values:
## - frontend
##
extraIngress : [ ]
## @param networkPolicy.extraEgress Add extra egress rules to the NetworkPolicy
## e.g:
## extraEgress:
## - ports:
## - port: 1234
## to:
## - podSelector:
## - matchLabels:
## - role: frontend
## - podSelector:
## - matchExpressions:
## - key: role
## operator: In
## values:
## - frontend
##
extraEgress : [ ]
## @param networkPolicy.ingressNSMatchLabels Labels to match to allow traffic from other namespaces
## @param networkPolicy.ingressNSPodMatchLabels Pod labels to match to allow traffic from other namespaces
##
ingressNSMatchLabels : {}
ingressNSPodMatchLabels : {}
## PodSecurityPolicy configuration
## ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
##
podSecurityPolicy :
## @param podSecurityPolicy.create Whether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later
##
create : false
## @param podSecurityPolicy.enabled Enable PodSecurityPolicy's RBAC rules
##
enabled : false
## RBAC configuration
##
rbac :
## @param rbac.create Specifies whether RBAC resources should be created
##
create : false
## @param rbac.rules Custom RBAC rules to set
## e.g:
## rules:
## - apiGroups:
## - ""
## resources:
## - pods
## verbs:
## - get
## - list
##
rules : [ ]
## ServiceAccount configuration
##
serviceAccount :
## @param serviceAccount.create Specifies whether a ServiceAccount should be created
##
create : true
## @param serviceAccount.name The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the common.names.fullname template
##
name : ""
## @param serviceAccount.automountServiceAccountToken Whether to auto mount the service account token
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#use-the-default-service-account-to-access-the-api-server
##
automountServiceAccountToken : true
## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
##
annotations : {}
## Redis® Pod Disruption Budget configuration
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
##
pdb :
## @param pdb.create Specifies whether a PodDisruptionBudget should be created
##
create : false
## @param pdb.minAvailable Min number of pods that must still be available after the eviction
##
minAvailable : 1
## @param pdb.maxUnavailable Max number of pods that can be unavailable after the eviction
##
maxUnavailable : ""
## TLS configuration
##
tls :
## @param tls.enabled Enable TLS traffic
##
enabled : false
## @param tls.authClients Require clients to authenticate
##
authClients : true
## @param tls.autoGenerated Enable autogenerated certificates
##
autoGenerated : false
## @param tls.existingSecret The name of the existing secret that contains the TLS certificates
##
existingSecret : ""
## @param tls.certificatesSecret DEPRECATED. Use existingSecret instead.
##
certificatesSecret : ""
## @param tls.certFilename Certificate filename
##
certFilename : ""
## @param tls.certKeyFilename Certificate Key filename
##
certKeyFilename : ""
## @param tls.certCAFilename CA Certificate filename
##
certCAFilename : ""
## @param tls.dhParamsFilename File containing DH params (in order to support DH based ciphers)
##
dhParamsFilename : ""
## @section Metrics Parameters
##
metrics :
## @param metrics.enabled Start a sidecar prometheus exporter to expose Redis® metrics
##
enabled : false
## Bitnami Redis® Exporter image
## ref: https://hub.docker.com/r/bitnami/redis-exporter/tags/
## @param metrics.image.registry Redis® Exporter image registry
## @param metrics.image.repository Redis® Exporter image repository
## @param metrics.image.tag Redis® Exporter image tag (immutable tags are recommended)
## @param metrics.image.digest Redis® Exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param metrics.image.pullPolicy Redis® Exporter image pull policy
## @param metrics.image.pullSecrets Redis® Exporter image pull secrets
##
image :
registry : docker.io
repository : bitnami/redis-exporter
2024-02-18 03:14:17 +00:00
tag : 1.57 .0 -debian-11-r13
2024-01-04 15:16:00 +00:00
digest : ""
pullPolicy : IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets : [ ]
## Configure extra options for Redis® containers' liveness, readiness & startup probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
## @param metrics.startupProbe.enabled Enable startupProbe on Redis® replicas nodes
## @param metrics.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
## @param metrics.startupProbe.periodSeconds Period seconds for startupProbe
## @param metrics.startupProbe.timeoutSeconds Timeout seconds for startupProbe
## @param metrics.startupProbe.failureThreshold Failure threshold for startupProbe
## @param metrics.startupProbe.successThreshold Success threshold for startupProbe
##
startupProbe :
enabled : false
initialDelaySeconds : 10
periodSeconds : 10
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 5
## @param metrics.livenessProbe.enabled Enable livenessProbe on Redis® replicas nodes
## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
## @param metrics.livenessProbe.periodSeconds Period seconds for livenessProbe
## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
## @param metrics.livenessProbe.failureThreshold Failure threshold for livenessProbe
## @param metrics.livenessProbe.successThreshold Success threshold for livenessProbe
##
livenessProbe :
enabled : true
initialDelaySeconds : 10
periodSeconds : 10
timeoutSeconds : 5
successThreshold : 1
failureThreshold : 5
## @param metrics.readinessProbe.enabled Enable readinessProbe on Redis® replicas nodes
## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
##
readinessProbe :
enabled : true
initialDelaySeconds : 5
periodSeconds : 10
timeoutSeconds : 1
successThreshold : 1
failureThreshold : 3
## @param metrics.customStartupProbe Custom startupProbe that overrides the default one
##
customStartupProbe : {}
## @param metrics.customLivenessProbe Custom livenessProbe that overrides the default one
##
customLivenessProbe : {}
## @param metrics.customReadinessProbe Custom readinessProbe that overrides the default one
##
customReadinessProbe : {}
## @param metrics.command Override default metrics container init command (useful when using custom images)
##
command : [ ]
## @param metrics.redisTargetHost A way to specify an alternative Redis® hostname
## Useful for certificate CN/SAN matching
##
redisTargetHost : "localhost"
## @param metrics.extraArgs Extra arguments for Redis® exporter, for example:
## e.g.:
## extraArgs:
## check-keys: myKey,myOtherKey
##
extraArgs : {}
## @param metrics.extraEnvVars Array with extra environment variables to add to Redis® exporter
## e.g:
## extraEnvVars:
## - name: FOO
## value: "bar"
##
extraEnvVars : [ ]
## Configure Container Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
## @param metrics.containerSecurityContext.enabled Enabled Redis® exporter containers' Security Context
## @param metrics.containerSecurityContext.runAsUser Set Redis® exporter containers' Security Context runAsUser
##
containerSecurityContext :
enabled : true
runAsUser : 1001
## @param metrics.extraVolumes Optionally specify extra list of additional volumes for the Redis® metrics sidecar
##
extraVolumes : [ ]
## @param metrics.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Redis® metrics sidecar
##
extraVolumeMounts : [ ]
## Redis® exporter resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## @param metrics.resources.limits The resources limits for the Redis® exporter container
## @param metrics.resources.requests The requested resources for the Redis® exporter container
##
resources :
limits : {}
requests : {}
## @param metrics.podLabels Extra labels for Redis® exporter pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels : {}
## @param metrics.podAnnotations [object] Annotations for Redis® exporter pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations :
prometheus.io/scrape : "true"
prometheus.io/port : "9121"
## Redis® exporter service parameters
##
service :
## @param metrics.service.type Redis® exporter service type
##
type : ClusterIP
## @param metrics.service.port Redis® exporter service port
##
port : 9121
## @param metrics.service.externalTrafficPolicy Redis® exporter service external traffic policy
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy : Cluster
## @param metrics.service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
##
extraPorts : [ ]
## @param metrics.service.loadBalancerIP Redis® exporter service Load Balancer IP
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
##
loadBalancerIP : ""
## @param metrics.service.loadBalancerSourceRanges Redis® exporter service Load Balancer sources
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## e.g.
## loadBalancerSourceRanges:
## - 10.10.10.0/24
##
loadBalancerSourceRanges : [ ]
## @param metrics.service.annotations Additional custom annotations for Redis® exporter service
##
annotations : {}
## @param metrics.service.clusterIP Redis® exporter service Cluster IP
##
clusterIP : ""
## Prometheus Service Monitor
## ref: https://github.com/coreos/prometheus-operator
## https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
##
serviceMonitor :
## @param metrics.serviceMonitor.enabled Create ServiceMonitor resource(s) for scraping metrics using PrometheusOperator
##
enabled : false
## @param metrics.serviceMonitor.namespace The namespace in which the ServiceMonitor will be created
##
namespace : ""
## @param metrics.serviceMonitor.interval The interval at which metrics should be scraped
##
interval : 30s
## @param metrics.serviceMonitor.scrapeTimeout The timeout after which the scrape is ended
##
scrapeTimeout : ""
## @param metrics.serviceMonitor.relabellings Metrics RelabelConfigs to apply to samples before scraping.
##
relabellings : [ ]
## @param metrics.serviceMonitor.metricRelabelings Metrics RelabelConfigs to apply to samples before ingestion.
##
metricRelabelings : [ ]
## @param metrics.serviceMonitor.honorLabels Specify honorLabels parameter to add the scrape endpoint
##
honorLabels : false
## @param metrics.serviceMonitor.additionalLabels Additional labels that can be used so ServiceMonitor resource(s) can be discovered by Prometheus
##
additionalLabels : {}
## @param metrics.serviceMonitor.podTargetLabels Labels from the Kubernetes pod to be transferred to the created metrics
##
podTargetLabels : [ ]
## Custom PrometheusRule to be defined
## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
##
prometheusRule :
## @param metrics.prometheusRule.enabled Create a custom prometheusRule Resource for scraping metrics using PrometheusOperator
##
enabled : false
## @param metrics.prometheusRule.namespace The namespace in which the prometheusRule will be created
##
namespace : ""
## @param metrics.prometheusRule.additionalLabels Additional labels for the prometheusRule
##
additionalLabels : {}
## @param metrics.prometheusRule.rules Custom Prometheus rules
## e.g:
## rules:
## - alert: RedisDown
## expr: redis_up{service="{{ template "common.names.fullname" . }}-metrics"} == 0
## for: 2m
## labels:
## severity: error
## annotations:
## summary: Redis® instance {{ "{{ $labels.instance }}" }} down
## description: Redis® instance {{ "{{ $labels.instance }}" }} is down
## - alert: RedisMemoryHigh
## expr: >
## redis_memory_used_bytes{service="{{ template "common.names.fullname" . }}-metrics"} * 100
## /
## redis_memory_max_bytes{service="{{ template "common.names.fullname" . }}-metrics"}
## > 90
## for: 2m
## labels:
## severity: error
## annotations:
## summary: Redis® instance {{ "{{ $labels.instance }}" }} is using too much memory
## description: |
## Redis® instance {{ "{{ $labels.instance }}" }} is using {{ "{{ $value }}" }}% of its available memory.
## - alert: RedisKeyEviction
## expr: |
## increase(redis_evicted_keys_total{service="{{ template "common.names.fullname" . }}-metrics"}[5m]) > 0
## for: 1s
## labels:
## severity: error
## annotations:
## summary: Redis® instance {{ "{{ $labels.instance }}" }} has evicted keys
## description: |
## Redis® instance {{ "{{ $labels.instance }}" }} has evicted {{ "{{ $value }}" }} keys in the last 5 minutes.
##
rules : [ ]
## @section Init Container Parameters
##
## 'volumePermissions' init container parameters
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
## based on the *podSecurityContext/*containerSecurityContext parameters
##
volumePermissions :
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
##
enabled : false
## Bitnami Shell image
## ref: https://hub.docker.com/r/bitnami/bitnami-shell/tags/
## @param volumePermissions.image.registry Bitnami Shell image registry
## @param volumePermissions.image.repository Bitnami Shell image repository
## @param volumePermissions.image.tag Bitnami Shell image tag (immutable tags are recommended)
## @param volumePermissions.image.digest Bitnami Shell image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param volumePermissions.image.pullPolicy Bitnami Shell image pull policy
## @param volumePermissions.image.pullSecrets Bitnami Shell image pull secrets
##
image :
registry : docker.io
repository : bitnami/bitnami-shell
tag : 11 -debian-11-r118
digest : ""
pullPolicy : IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets : [ ]
## Init container's resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## @param volumePermissions.resources.limits The resources limits for the init container
## @param volumePermissions.resources.requests The requested resources for the init container
##
resources :
limits : {}
requests : {}
## Init container Container Security Context
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
## data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
## "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
##
containerSecurityContext :
runAsUser : 0
## init-sysctl container parameters
## used to perform sysctl operation to modify Kernel settings (needed sometimes to avoid warnings)
##
sysctl :
## @param sysctl.enabled Enable init container to modify Kernel settings
##
enabled : false
## Bitnami Shell image
## ref: https://hub.docker.com/r/bitnami/bitnami-shell/tags/
## @param sysctl.image.registry Bitnami Shell image registry
## @param sysctl.image.repository Bitnami Shell image repository
## @param sysctl.image.tag Bitnami Shell image tag (immutable tags are recommended)
## @param sysctl.image.digest Bitnami Shell image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param sysctl.image.pullPolicy Bitnami Shell image pull policy
## @param sysctl.image.pullSecrets Bitnami Shell image pull secrets
##
image :
registry : docker.io
repository : bitnami/bitnami-shell
tag : 11 -debian-11-r118
digest : ""
pullPolicy : IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
##
pullSecrets : [ ]
## @param sysctl.command Override default init-sysctl container command (useful when using custom images)
##
command : [ ]
## @param sysctl.mountHostSys Mount the host `/sys` folder to `/host-sys`
##
mountHostSys : false
## Init container's resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
## @param sysctl.resources.limits The resources limits for the init container
## @param sysctl.resources.requests The requested resources for the init container
##
resources :
limits : {}
requests : {}
## @section useExternalDNS Parameters
##
## @param useExternalDNS.enabled Enable various syntax that would enable external-dns to work. Note this requires a working installation of `external-dns` to be usable.
## @param useExternalDNS.additionalAnnotations Extra annotations to be utilized when `external-dns` is enabled.
## @param useExternalDNS.annotationKey The annotation key utilized when `external-dns` is enabled. Setting this to `false` will disable annotations.
## @param useExternalDNS.suffix The DNS suffix utilized when `external-dns` is enabled. Note that we prepend the suffix with the full name of the release.
##
useExternalDNS :
enabled : false
suffix : ""
annotationKey : external-dns.alpha.kubernetes.io/
additionalAnnotations : {}
###################################
# External postgres
# - these configs are only used when `externalPostgres.enabled` is true
###################################
externalPostgres :
enabled : false
username : "postgres"
password : "difyai123456"
address : localhost
port : 5432
dbName : dify
maxOpenConns : 20
maxIdleConns : 5
###################################
# External S3
# - these configs are only used when `externalS3.enabled` is true
###################################
externalS3 :
enabled : false
endpoint : "https://xxx.r2.cloudflarestorage.com"
accessKey : "ak-difyai"
secretKey : "sk-difyai"
useSSL : false
bucketName : "difyai"
rootPath : ""
useIAM : false
iamEndpoint : ""
###################################
# External Redis
# - these configs are only used when `externalRedis.enabled` is true
###################################
externalRedis :
enabled : false
host : "redis.example"
port : 6379
username : ""
password : "difyai123456"
useSSL : false
###################################
# External Weaviate
# - these configs are only used when `externalWeaviate.enabled` is true
###################################
externalWeaviate :
enabled : false
endpoint : "http://weaviate:8080"
apiKey : "WVF5YThaHlkYwhGUSmCRgsX3tD5ngdN8pkih"
###################################
# External Qdrant
# - these configs are only used when `externalWeaviate.enabled` is false and `externalQdrant.enabled` is true
###################################
externalQdrant :
enabled : false
endpoint : "https://your-qdrant-cluster-url.qdrant.tech/"
apiKey : "ak-difyai"