Files
charts/bitnami/memcached/values.schema.json
Antonio Gámez, PhD a2c2090b5a Autogenerate schema files (#19194)
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
2023-09-11 11:23:08 +02:00

1116 lines
44 KiB
JSON

{
"title": "Chart Values",
"type": "object",
"properties": {
"global": {
"type": "object",
"properties": {
"imageRegistry": {
"type": "string",
"description": "Global Docker image registry",
"default": ""
},
"imagePullSecrets": {
"type": "array",
"description": "Global Docker registry secret names as an array",
"default": [],
"items": {}
},
"storageClass": {
"type": "string",
"description": "Global StorageClass for Persistent Volume(s)",
"default": ""
}
}
},
"kubeVersion": {
"type": "string",
"description": "Override Kubernetes version",
"default": ""
},
"nameOverride": {
"type": "string",
"description": "String to partially override common.names.fullname template (will maintain the release name)",
"default": ""
},
"fullnameOverride": {
"type": "string",
"description": "String to fully override common.names.fullname template",
"default": ""
},
"clusterDomain": {
"type": "string",
"description": "Kubernetes Cluster Domain",
"default": "cluster.local"
},
"extraDeploy": {
"type": "array",
"description": "Extra objects to deploy (evaluated as a template)",
"default": [],
"items": {}
},
"commonLabels": {
"type": "object",
"description": "Add labels to all the deployed resources",
"default": {}
},
"commonAnnotations": {
"type": "object",
"description": "Add annotations to all the deployed resources",
"default": {}
},
"diagnosticMode": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable diagnostic mode (all probes will be disabled and the command will be overridden)",
"default": false
},
"command": {
"type": "array",
"description": "Command to override all containers in the deployment/statefulset",
"default": [
"sleep"
],
"items": {
"type": "string"
}
},
"args": {
"type": "array",
"description": "Args to override all containers in the deployment/statefulset",
"default": [
"infinity"
],
"items": {
"type": "string"
}
}
}
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "Memcached image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "Memcached image repository",
"default": "bitnami/memcached"
},
"tag": {
"type": "string",
"description": "Memcached image tag (immutable tags are recommended)",
"default": "1.6.21-debian-11-r62"
},
"digest": {
"type": "string",
"description": "Memcached image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "Memcached image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
},
"debug": {
"type": "boolean",
"description": "Specify if debug values should be set",
"default": false
}
}
},
"architecture": {
"type": "string",
"description": "Memcached architecture. Allowed values: standalone or high-availability",
"default": "standalone"
},
"auth": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable Memcached authentication",
"default": false
},
"username": {
"type": "string",
"description": "Memcached admin user",
"default": ""
},
"password": {
"type": "string",
"description": "Memcached admin password",
"default": ""
},
"existingPasswordSecret": {
"type": "string",
"description": "Existing secret with Memcached credentials (must contain a value for `memcached-password` key)",
"default": ""
}
}
},
"command": {
"type": "array",
"description": "Override default container command (useful when using custom images)",
"default": [],
"items": {}
},
"args": {
"type": "array",
"description": "Override default container args (useful when using custom images)",
"default": [],
"items": {}
},
"extraEnvVars": {
"type": "array",
"description": "Array with extra environment variables to add to Memcached nodes",
"default": [],
"items": {}
},
"extraEnvVarsCM": {
"type": "string",
"description": "Name of existing ConfigMap containing extra env vars for Memcached nodes",
"default": ""
},
"extraEnvVarsSecret": {
"type": "string",
"description": "Name of existing Secret containing extra env vars for Memcached nodes",
"default": ""
},
"replicaCount": {
"type": "number",
"description": "Number of Memcached nodes",
"default": 1
},
"containerPorts": {
"type": "object",
"properties": {
"memcached": {
"type": "number",
"description": "Memcached container port",
"default": 11211
}
}
},
"livenessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable livenessProbe on Memcached containers",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for livenessProbe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for livenessProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for livenessProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for livenessProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for livenessProbe",
"default": 1
}
}
},
"readinessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable readinessProbe on Memcached containers",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for readinessProbe",
"default": 5
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for readinessProbe",
"default": 5
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for readinessProbe",
"default": 3
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for readinessProbe",
"default": 6
},
"successThreshold": {
"type": "number",
"description": "Success threshold for readinessProbe",
"default": 1
}
}
},
"startupProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable startupProbe on Memcached containers",
"default": false
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for startupProbe",
"default": 30
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for startupProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for startupProbe",
"default": 1
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for startupProbe",
"default": 15
},
"successThreshold": {
"type": "number",
"description": "Success threshold for startupProbe",
"default": 1
}
}
},
"customLivenessProbe": {
"type": "object",
"description": "Custom livenessProbe that overrides the default one",
"default": {}
},
"customReadinessProbe": {
"type": "object",
"description": "Custom readinessProbe that overrides the default one",
"default": {}
},
"customStartupProbe": {
"type": "object",
"description": "Custom startupProbe that overrides the default one",
"default": {}
},
"lifecycleHooks": {
"type": "object",
"description": "for the Memcached container(s) to automate configuration before or after startup",
"default": {}
},
"resources": {
"type": "object",
"properties": {
"limits": {
"type": "object",
"description": "The resources limits for the Memcached containers",
"default": {}
},
"requests": {
"type": "object",
"properties": {
"memory": {
"type": "string",
"description": "The requested memory for the Memcached containers",
"default": "256Mi"
},
"cpu": {
"type": "string",
"description": "The requested cpu for the Memcached containers",
"default": "250m"
}
}
}
}
},
"podSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled Memcached pods' Security Context",
"default": true
},
"fsGroup": {
"type": "number",
"description": "Set Memcached pod's Security Context fsGroup",
"default": 1001
}
}
},
"containerSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled Memcached containers' Security Context",
"default": true
},
"runAsUser": {
"type": "number",
"description": "Set Memcached containers' Security Context runAsUser",
"default": 1001
},
"runAsNonRoot": {
"type": "boolean",
"description": "Set Memcached containers' Security Context runAsNonRoot",
"default": true
}
}
},
"hostAliases": {
"type": "array",
"description": "Add deployment host aliases",
"default": [],
"items": {}
},
"podLabels": {
"type": "object",
"description": "Extra labels for Memcached pods",
"default": {}
},
"podAnnotations": {
"type": "object",
"description": "Annotations for Memcached pods",
"default": {}
},
"podAffinityPreset": {
"type": "string",
"description": "Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": ""
},
"podAntiAffinityPreset": {
"type": "string",
"description": "Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": "soft"
},
"nodeAffinityPreset": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`",
"default": ""
},
"key": {
"type": "string",
"description": "Node label key to match Ignored if `affinity` is set.",
"default": ""
},
"values": {
"type": "array",
"description": "Node label values to match. Ignored if `affinity` is set.",
"default": [],
"items": {}
}
}
},
"affinity": {
"type": "object",
"description": "Affinity for pod assignment",
"default": {}
},
"nodeSelector": {
"type": "object",
"description": "Node labels for pod assignment",
"default": {}
},
"tolerations": {
"type": "array",
"description": "Tolerations for pod assignment",
"default": [],
"items": {}
},
"topologySpreadConstraints": {
"type": "array",
"description": "Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template",
"default": [],
"items": {}
},
"podManagementPolicy": {
"type": "string",
"description": "StatefulSet controller supports relax its ordering guarantees while preserving its uniqueness and identity guarantees. There are two valid pod management policies: `OrderedReady` and `Parallel`",
"default": "Parallel"
},
"priorityClassName": {
"type": "string",
"description": "Name of the existing priority class to be used by Memcached pods, priority class needs to be created beforehand",
"default": ""
},
"schedulerName": {
"type": "string",
"description": "Kubernetes pod scheduler registry",
"default": ""
},
"terminationGracePeriodSeconds": {
"type": "string",
"description": "In seconds, time the given to the memcached pod needs to terminate gracefully",
"default": ""
},
"updateStrategy": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Memcached statefulset strategy type",
"default": "RollingUpdate"
},
"rollingUpdate": {
"type": "object",
"description": "Memcached statefulset rolling update configuration parameters",
"default": {}
}
}
},
"extraVolumes": {
"type": "array",
"description": "Optionally specify extra list of additional volumes for the Memcached pod(s)",
"default": [],
"items": {}
},
"extraVolumeMounts": {
"type": "array",
"description": "Optionally specify extra list of additional volumeMounts for the Memcached container(s)",
"default": [],
"items": {}
},
"sidecars": {
"type": "array",
"description": "Add additional sidecar containers to the Memcached pod(s)",
"default": [],
"items": {}
},
"initContainers": {
"type": "array",
"description": "Add additional init containers to the Memcached pod(s)",
"default": [],
"items": {}
},
"autoscaling": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable memcached statefulset autoscaling (requires architecture: \"high-availability\")",
"default": false
},
"minReplicas": {
"type": "number",
"description": "memcached statefulset autoscaling minimum number of replicas",
"default": 3
},
"maxReplicas": {
"type": "number",
"description": "memcached statefulset autoscaling maximum number of replicas",
"default": 6
},
"targetCPU": {
"type": "number",
"description": "memcached statefulset autoscaling target CPU percentage",
"default": 50
},
"targetMemory": {
"type": "number",
"description": "memcached statefulset autoscaling target CPU memory",
"default": 50
}
}
},
"pdb": {
"type": "object",
"properties": {
"create": {
"type": "boolean",
"description": "Deploy a pdb object for the Memcached pod",
"default": false
},
"minAvailable": {
"type": "string",
"description": "Minimum available Memcached replicas",
"default": ""
},
"maxUnavailable": {
"type": "number",
"description": "Maximum unavailable Memcached replicas",
"default": 1
}
}
},
"service": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Kubernetes Service type",
"default": "ClusterIP"
},
"ports": {
"type": "object",
"properties": {
"memcached": {
"type": "number",
"description": "Memcached service port",
"default": 11211
}
}
},
"nodePorts": {
"type": "object",
"properties": {
"memcached": {
"type": "string",
"description": "Node port for Memcached",
"default": ""
}
}
},
"sessionAffinity": {
"type": "string",
"description": "Control where client requests go, to the same pod or round-robin",
"default": ""
},
"sessionAffinityConfig": {
"type": "object",
"description": "Additional settings for the sessionAffinity",
"default": {}
},
"clusterIP": {
"type": "string",
"description": "Memcached service Cluster IP",
"default": ""
},
"loadBalancerIP": {
"type": "string",
"description": "Memcached service Load Balancer IP",
"default": ""
},
"loadBalancerSourceRanges": {
"type": "array",
"description": "Memcached service Load Balancer sources",
"default": [],
"items": {}
},
"externalTrafficPolicy": {
"type": "string",
"description": "Memcached service external traffic policy",
"default": "Cluster"
},
"annotations": {
"type": "object",
"description": "Additional custom annotations for Memcached service",
"default": {}
},
"extraPorts": {
"type": "array",
"description": "Extra ports to expose in the Memcached service (normally used with the `sidecar` value)",
"default": [],
"items": {}
}
}
},
"serviceAccount": {
"type": "object",
"properties": {
"create": {
"type": "boolean",
"description": "Enable creation of ServiceAccount for Memcached pod",
"default": false
},
"name": {
"type": "string",
"description": "The name of the ServiceAccount to use.",
"default": ""
},
"automountServiceAccountToken": {
"type": "boolean",
"description": "Allows auto mount of ServiceAccountToken on the serviceAccount created",
"default": true
},
"annotations": {
"type": "object",
"description": "Additional custom annotations for the ServiceAccount",
"default": {}
}
}
},
"persistence": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable Memcached data persistence using PVC. If false, use emptyDir",
"default": false
},
"storageClass": {
"type": "string",
"description": "PVC Storage Class for Memcached data volume",
"default": ""
},
"accessModes": {
"type": "array",
"description": "PVC Access modes",
"default": [
"ReadWriteOnce"
],
"items": {
"type": "string"
}
},
"size": {
"type": "string",
"description": "PVC Storage Request for Memcached data volume",
"default": "8Gi"
},
"annotations": {
"type": "object",
"description": "Annotations for the PVC",
"default": {}
},
"labels": {
"type": "object",
"description": "Labels for the PVC",
"default": {}
},
"selector": {
"type": "object",
"description": "Selector to match an existing Persistent Volume for Memcached's data PVC",
"default": {}
}
}
},
"volumePermissions": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable init container that changes the owner and group of the persistent volume",
"default": false
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "Init container volume-permissions image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "Init container volume-permissions image repository",
"default": "bitnami/os-shell"
},
"tag": {
"type": "string",
"description": "Init container volume-permissions image tag (immutable tags are recommended)",
"default": "11-debian-11-r43"
},
"digest": {
"type": "string",
"description": "Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "Init container volume-permissions image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Init container volume-permissions image pull secrets",
"default": [],
"items": {}
}
}
},
"resources": {
"type": "object",
"properties": {
"limits": {
"type": "object",
"description": "Init container volume-permissions resource limits",
"default": {}
},
"requests": {
"type": "object",
"description": "Init container volume-permissions resource requests",
"default": {}
}
}
},
"containerSecurityContext": {
"type": "object",
"properties": {
"runAsUser": {
"type": "number",
"description": "User ID for the init container",
"default": 0
}
}
}
}
},
"metrics": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Start a side-car prometheus exporter",
"default": false
},
"image": {
"type": "object",
"properties": {
"registry": {
"type": "string",
"description": "Memcached exporter image registry",
"default": "docker.io"
},
"repository": {
"type": "string",
"description": "Memcached exporter image repository",
"default": "bitnami/memcached-exporter"
},
"tag": {
"type": "string",
"description": "Memcached exporter image tag (immutable tags are recommended)",
"default": "0.13.0-debian-11-r75"
},
"digest": {
"type": "string",
"description": "Memcached exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag",
"default": ""
},
"pullPolicy": {
"type": "string",
"description": "Image pull policy",
"default": "IfNotPresent"
},
"pullSecrets": {
"type": "array",
"description": "Specify docker-registry secret names as an array",
"default": [],
"items": {}
}
}
},
"containerPorts": {
"type": "object",
"properties": {
"metrics": {
"type": "number",
"description": "Memcached Prometheus Exporter container port",
"default": 9150
}
}
},
"resources": {
"type": "object",
"properties": {
"limits": {
"type": "object",
"description": "Init container volume-permissions resource limits",
"default": {}
},
"requests": {
"type": "object",
"description": "Init container volume-permissions resource requests",
"default": {}
}
}
},
"containerSecurityContext": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled Metrics containers' Security Context",
"default": true
},
"runAsUser": {
"type": "number",
"description": "Set Metrics containers' Security Context runAsUser",
"default": 1001
},
"runAsNonRoot": {
"type": "boolean",
"description": "Set Metrics containers' Security Context runAsNonRoot",
"default": true
}
}
},
"livenessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable livenessProbe on Memcached Prometheus exporter containers",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for livenessProbe",
"default": 15
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for livenessProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for livenessProbe",
"default": 5
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for livenessProbe",
"default": 3
},
"successThreshold": {
"type": "number",
"description": "Success threshold for livenessProbe",
"default": 1
}
}
},
"readinessProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable readinessProbe on Memcached Prometheus exporter containers",
"default": true
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for readinessProbe",
"default": 5
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for readinessProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for readinessProbe",
"default": 3
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for readinessProbe",
"default": 3
},
"successThreshold": {
"type": "number",
"description": "Success threshold for readinessProbe",
"default": 1
}
}
},
"startupProbe": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable startupProbe on Memcached Prometheus exporter containers",
"default": false
},
"initialDelaySeconds": {
"type": "number",
"description": "Initial delay seconds for startupProbe",
"default": 10
},
"periodSeconds": {
"type": "number",
"description": "Period seconds for startupProbe",
"default": 10
},
"timeoutSeconds": {
"type": "number",
"description": "Timeout seconds for startupProbe",
"default": 1
},
"failureThreshold": {
"type": "number",
"description": "Failure threshold for startupProbe",
"default": 15
},
"successThreshold": {
"type": "number",
"description": "Success threshold for startupProbe",
"default": 1
}
}
},
"customLivenessProbe": {
"type": "object",
"description": "Custom livenessProbe that overrides the default one",
"default": {}
},
"customReadinessProbe": {
"type": "object",
"description": "Custom readinessProbe that overrides the default one",
"default": {}
},
"customStartupProbe": {
"type": "object",
"description": "Custom startupProbe that overrides the default one",
"default": {}
},
"podAnnotations": {
"type": "object",
"properties": {
"prometheus": {
"type": "object",
"properties": {
"io/scrape": {
"type": "string",
"description": "",
"default": "true"
},
"io/port": {
"type": "string",
"description": "",
"default": "{{ .Values.metrics.containerPorts.metrics }}"
}
}
}
}
},
"service": {
"type": "object",
"properties": {
"ports": {
"type": "object",
"properties": {
"metrics": {
"type": "number",
"description": "Prometheus metrics service port",
"default": 9150
}
}
},
"clusterIP": {
"type": "string",
"description": "Static clusterIP or None for headless services",
"default": ""
},
"sessionAffinity": {
"type": "string",
"description": "Control where client requests go, to the same pod or round-robin",
"default": "None"
},
"annotations": {
"type": "object",
"properties": {
"prometheus": {
"type": "object",
"properties": {
"io/scrape": {
"type": "string",
"description": "",
"default": "true"
},
"io/port": {
"type": "string",
"description": "",
"default": "{{ .Values.metrics.service.ports.metrics }}"
}
}
}
}
}
}
},
"serviceMonitor": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Create ServiceMonitor Resource for scraping metrics using Prometheus Operator",
"default": false
},
"namespace": {
"type": "string",
"description": "Namespace for the ServiceMonitor Resource (defaults to the Release Namespace)",
"default": ""
},
"interval": {
"type": "string",
"description": "Interval at which metrics should be scraped.",
"default": ""
},
"scrapeTimeout": {
"type": "string",
"description": "Timeout after which the scrape is ended",
"default": ""
},
"labels": {
"type": "object",
"description": "Additional labels that can be used so ServiceMonitor will be discovered by Prometheus",
"default": {}
},
"selector": {
"type": "object",
"description": "Prometheus instance selector labels",
"default": {}
},
"relabelings": {
"type": "array",
"description": "RelabelConfigs to apply to samples before scraping",
"default": [],
"items": {}
},
"metricRelabelings": {
"type": "array",
"description": "MetricRelabelConfigs to apply to samples before ingestion",
"default": [],
"items": {}
},
"honorLabels": {
"type": "boolean",
"description": "Specify honorLabels parameter to add the scrape endpoint",
"default": false
},
"jobLabel": {
"type": "string",
"description": "The name of the label on the target service to use as the job name in prometheus.",
"default": ""
}
}
}
}
}
}
}