Files
charts/template/CHART_NAME/values.yaml
Carlos Rodríguez Hernández bc1f05b22c Add chart scaffolding to serve as a guide when creating new charts (#4074)
* Add chart scaffolding to serve as a guide when creating new charts

* Improve README

* Update template/CHART_NAME/templates/NOTES.txt

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>

* Update template/CHART_NAME/templates/deployment.yaml

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>

* Fix tolerations

* Add clusterDomain

* Replace foo: bar in secret

* Update template/CHART_NAME/templates/deployment.yaml

Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>

* Improve probes and extraEnvVars

* Add replicas to deployment and statefulset

* Improve securityContext

* Improve command

* Improve probes

* Add service type

* Update template/CHART_NAME/templates/deployment.yaml

Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>

* Add podAffinity, podAntiAffinity, and nodeAffinity

* Remove readOnly

Co-authored-by: Juan Ariza Toledano <juanariza@vmware.com>
Co-authored-by: Jose Antonio Carmona <jcarmona@bitnami.com>
2020-10-23 16:05:11 +02:00

323 lines
9.0 KiB
YAML

## 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 and imagePullSecrets
##
# global:
# imageRegistry: myRegistryName
# imagePullSecrets:
# - myRegistryKeySecretName
# storageClass: myStorageClass
## Add labels to all the deployed resources
##
commonLabels: {}
## Add annotations to all the deployed resources
##
commonAnnotations: {}
## Kubernetes Cluster Domain
##
clusterDomain: cluster.local
## Extra objects to deploy (value evaluated as a template)
##
extraDeploy: []
## Number of nodes
##
replicaCount: 1
service:
type: LoadBalancer
# HTTP Port
port: foo
# HTTPS Port
httpsPort: bar
## loadBalancerIP for the SuiteCRM Service (optional, cloud specific)
## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer
##
## loadBalancerIP:
##
## nodePorts:
## http: <to set explicitly, choose port between 30000-32767>
## https: <to set explicitly, choose port between 30000-32767>
nodePorts:
http: ""
https: ""
## Enable client source IP preservation
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy: Cluster
## %%MAIN_CONTAINER/POD_DESCRIPTION%%
##
%%MAIN_OBJECT_BLOCK%%:
enabled: true
image:
registry: docker.io
repository: bitnami/%%IMAGE_NAME%%
tag: %%IMAGE_TAG%%
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://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/
##
# pullSecrets:
# - myRegistryKeySecretName
## Configure extra options for liveness and readiness probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
livenessProbe:
enabled: true
path: "/path"
initialDelaySeconds: foo
periodSeconds: bar
timeoutSeconds: foo
failureThreshold: bar
successThreshold: foo
readinessProbe:
enabled: true
path: "/path"
initialDelaySeconds: foo
periodSeconds: bar
timeoutSeconds: foo
failureThreshold: bar
successThreshold: foo
%%OTHER_PARAMETERS_RELATED_TO_THIS_CONTAINER/POD%%
## ConfigMap with %%MAIN_CONTAINER_NAME%% Configuration
##
# existingConfigmap:
## Command and args for running the container (set to default if not set). Use array form
##
command: []
args: []
## %%MAIN_CONTAINER_NAME%% resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
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: 200m
# memory: 256Mi
requests: {}
# cpu: 200m
# memory: 10Mi
## SecurityContext configuration
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
##
containerSecurityContext:
enabled: true
runAsUser: 1001
runAsNonRoot: true
podSecurityContext:
enabled: true
fsGroup: 1001
## Pod affinity preset
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
podAffinityPreset: ""
## Pod anti-affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
## Allowed values: soft, hard
##
podAntiAffinityPreset: soft
## Node affinity preset
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
## Allowed values: soft, hard
##
nodeAffinityPreset:
## Node affinity type
## Allowed values: soft, hard
type: ""
## Node label key to match
## E.g.
## key: "kubernetes.io/e2e-az-name"
##
key: ""
## Node label values to match
## E.g.
## values:
## - e2e-az1
## - e2e-az2
##
values: []
## Affinity for pod assignment. Evaluated as a template.
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}
## Node labels for pod assignment. Evaluated as a template.
## ref: https://kubernetes.io/docs/user-guide/node-selection/
##
nodeSelector: {}
## Tolerations for pod assignment. Evaluated as a template.
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []
## Pod extra labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
##
podLabels: {}
## Annotations for server pods.
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
## %%MAIN_CONTAINER_NAME%% pods' priority.
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
# priorityClassName: ""
## lifecycleHooks for the %%MAIN_CONTAINER_NAME%% container to automate configuration before or after startup.
##
lifecycleHooks: {}
## Custom Liveness probes for %%MAIN_CONTAINER_NAME%%
##
customLivenessProbe: {}
## Custom Rediness probes %%MAIN_CONTAINER_NAME%%
##
customReadinessProbe: {}
## Update strategy - only really applicable for deployments with RWO PVs attached
## If replicas = 1, an update can get "stuck", as the previous pod remains attached to the
## PV, and the "incoming" pod can never start. Changing the strategy to "Recreate" will
## terminate the single previous pod, so that the new, incoming pod can attach to the PV
##
updateStrategy:
type: RollingUpdate
## An array to add extra env vars
## For example:
##
extraEnvVars: []
# - name: BEARER_AUTH
# value: true
## ConfigMap with extra environment variables
##
extraEnvVarsCM:
## Secret with extra environment variables
##
extraEnvVarsSecret:
## Extra volumes to add to the deployment
##
extraVolumes: []
## Extra volume mounts to add to the container
##
extraVolumeMounts: []
## Add init containers to the %%MAIN_CONTAINER_NAME%% pods.
## Example:
## initContainers:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
initContainers: {}
## Add sidecars to the %%MAIN_CONTAINER_NAME%% pods.
## Example:
## sidecars:
## - name: your-image-name
## image: your-image
## imagePullPolicy: Always
## ports:
## - name: portname
## containerPort: 1234
##
sidecars: {}
## %%SECONDARY_CONTAINER/POD_DESCRIPTION%%
##
%%SECONDARY_OBJECT_BLOCK%%:
%%SAME_STRUCTURE_AS_THE_MAIN_CONTAINER/POD%%
## %%OTHERS_CONTAINER/POD_DESCRIPTION%%
##
%%OTHER_OBJECT_BLOCK%%:
%%SAME_STRUCTURE_AS_THE_MAIN_CONTAINER/POD%%
## Init containers parameters:
## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
##
volumePermissions:
enabled: false
image:
registry: docker.io
repository: bitnami/minideb
tag: buster
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
## Init containers' resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
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
##
## Specifies whether RBAC resources should be created
##
rbac:
create: true
## Specifies whether a ServiceAccount should be created
##
serviceAccount:
create: true
## The name of the ServiceAccount to use.
## If not set and create is true, a name is generated using the fullname template
##
name:
## %%SUBCHART_CONTAINER/POD_DESCRIPTION%%
##
%%SUBCHART_NAME%%:
enabled: false
%%OTHER_PARAMETERS_RELATED_TO_THIS_SUBCHART%%