mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 06:47:28 +08:00
484 lines
16 KiB
YAML
484 lines
16 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
|
|
##
|
|
## @section Global parameters
|
|
## @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)
|
|
##
|
|
global:
|
|
imageRegistry: ""
|
|
imagePullSecrets: []
|
|
# - myRegistryKeySecretName
|
|
storageClass: ""
|
|
|
|
## Override Kubernetes version
|
|
## @param kubeVersion Override Kubernetes version
|
|
##
|
|
kubeVersion: ""
|
|
|
|
## String to partially override common.names.fullname template (will maintain the release name)
|
|
## @param nameOverride String to partially override common.names.fullname
|
|
##
|
|
nameOverride: ""
|
|
|
|
## String to fully override common.names.fullname template
|
|
## @param fullnameOverride String to fully override common.names.fullname
|
|
##
|
|
fullnameOverride: ""
|
|
|
|
## Add labels to all the deployed resources
|
|
## @param commonLabels Labels to add to all deployed objects
|
|
##
|
|
commonLabels: {}
|
|
|
|
## Add annotations to all the deployed resources
|
|
## @param commonAnnotations Annotations to add to all deployed objects
|
|
##
|
|
commonAnnotations: {}
|
|
|
|
## Kubernetes Cluster Domain
|
|
## @param clusterDomain Kubernetes cluster domain name
|
|
##
|
|
clusterDomain: cluster.local
|
|
|
|
## Extra objects to deploy (value evaluated as a template)
|
|
## @param extraDeploy Array of extra objects to deploy with the release
|
|
##
|
|
extraDeploy: []
|
|
|
|
## @section Wavefront HPA Adapter for Kubernetes deployment parameters
|
|
##
|
|
image:
|
|
## @param image.registry Adapter image registry
|
|
##
|
|
registry: docker.io
|
|
## @param image.repository Adapter image repository
|
|
##
|
|
repository: bitnami/wavefront-hpa-adapter
|
|
## @param image.tag Adapter image tag (immutabe tags are recommended)
|
|
##
|
|
tag: 0.9.8-scratch-r9
|
|
## 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
|
|
##
|
|
## @param image.pullPolicy Adapter image pull policy
|
|
##
|
|
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/
|
|
##
|
|
## @param image.pullSecrets Adapter image pull secrets
|
|
##
|
|
pullSecrets: []
|
|
# - myRegistryKeySecretName
|
|
## Enable debug mode
|
|
## @param image.debug Enable image debug mode
|
|
##
|
|
debug: false
|
|
|
|
## Configure extra options for liveness and readiness probes
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
|
## @param livenessProbe.enabled Enable livenessProbe
|
|
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
|
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
|
|
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
|
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
|
|
## @param livenessProbe.successThreshold Success threshold for livenessProbe
|
|
##
|
|
livenessProbe:
|
|
enabled: true
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
## @param readinessProbe.enabled Enable readinessProbe
|
|
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
|
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
|
|
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
|
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
|
|
## @param readinessProbe.successThreshold Success threshold for readinessProbe
|
|
##
|
|
readinessProbe:
|
|
enabled: true
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
## @param startupProbe.enabled Enable startupProbe
|
|
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
|
## @param startupProbe.periodSeconds Period seconds for startupProbe
|
|
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
|
## @param startupProbe.failureThreshold Failure threshold for startupProbe
|
|
## @param startupProbe.successThreshold Success threshold for startupProbe
|
|
##
|
|
startupProbe:
|
|
enabled: false
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
|
|
## Command and args for running the container (set to default if not set). Use array form
|
|
## @param command Override default container command (useful when using custom images)
|
|
##
|
|
command: []
|
|
## Args for running the container (set to default if not set). Use array form
|
|
## @param args Override default container args (useful when using custom images)
|
|
##
|
|
args: []
|
|
|
|
## Deployment pod host aliases
|
|
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
|
## @param hostAliases Add deployment host aliases
|
|
##
|
|
hostAliases: []
|
|
|
|
## wavefront-hpa-adapter resource requests and limits
|
|
## ref: https://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:'.
|
|
## @param resources.limits The resources limits for the Adapter container
|
|
##
|
|
limits: {}
|
|
# cpu: 200m
|
|
# memory: 256Mi
|
|
## @param resources.requests The requested resourcesc for the Adapter container
|
|
##
|
|
requests: {}
|
|
# cpu: 200m
|
|
# memory: 10Mi
|
|
|
|
## wavefront-hpa-adapter containers' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
|
|
## @param containerSecurityContext.enabled Enabled Adapter containers' Security Context
|
|
## @param containerSecurityContext.runAsUser Set Adapter container's Security Context runAsUser
|
|
## @param containerSecurityContext.runAsNonRoot Set Adapter container's Security Context runAsNonRoot
|
|
##
|
|
containerSecurityContext:
|
|
enabled: true
|
|
runAsUser: 1001
|
|
runAsNonRoot: true
|
|
|
|
## wavefront-hpa-adapter pods' Security Context
|
|
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
|
## @param podSecurityContext.enabled Enabled Adapter pods' Security Context
|
|
## @param podSecurityContext.fsGroup Set Adapter pod's Security Context fsGroup
|
|
##
|
|
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
|
|
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
##
|
|
podAffinityPreset: ""
|
|
|
|
## Pod anti-affinity preset
|
|
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
|
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## 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
|
|
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
|
|
## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set
|
|
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set
|
|
##
|
|
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
|
|
## @param affinity Affinity for pod assignment
|
|
##
|
|
affinity: {}
|
|
|
|
## Node labels for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
## @param nodeSelector Node labels for pod assignment
|
|
##
|
|
nodeSelector: {}
|
|
|
|
## Tolerations for pod assignment. Evaluated as a template.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
## @param tolerations Tolerations for pod assignment
|
|
##
|
|
tolerations: []
|
|
|
|
## Pod extra labels
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
|
##
|
|
## @param podLabels Extra labels for Adapter pods
|
|
##
|
|
podLabels: {}
|
|
|
|
## Annotations for server pods.
|
|
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
## @param podAnnotations Annotations for Adapter pods
|
|
##
|
|
podAnnotations: {}
|
|
|
|
## wavefront-hpa-adapter pods' priority.
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
|
## @param priorityClassName Adapter pod priority
|
|
##
|
|
priorityClassName: ""
|
|
|
|
## lifecycleHooks for the wavefront-hpa-adapter container to automate configuration before or after startup.
|
|
## @param lifecycleHooks Add lifecycle hooks to the Adapter deployment
|
|
##
|
|
lifecycleHooks: {}
|
|
|
|
## @param schedulerName Alternative scheduler
|
|
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
|
##
|
|
schedulerName: ""
|
|
|
|
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment
|
|
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
|
|
## The value is evaluated as a template
|
|
##
|
|
topologySpreadConstraints: []
|
|
|
|
## Custom Liveness probes for wavefront-hpa-adapter
|
|
## @param customLivenessProbe Override default liveness probe
|
|
##
|
|
customLivenessProbe: {}
|
|
|
|
## Custom Readiness probes wavefront-hpa-adapter
|
|
## @param customReadinessProbe Override default readiness probe
|
|
##
|
|
customReadinessProbe: {}
|
|
|
|
## Custom Startup probes wavefront-hpa-adapter
|
|
## @param customStartupProbe Override default startup probe
|
|
##
|
|
customStartupProbe: {}
|
|
|
|
## 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
|
|
## @param updateStrategy.type Adapter deployment update strategy
|
|
##
|
|
updateStrategy:
|
|
type: RollingUpdate
|
|
|
|
## Adapter Container port
|
|
## @param containerPorts.https Adapter container port
|
|
##
|
|
containerPorts:
|
|
https: 6443
|
|
## Additional environment variables to set
|
|
## Example:
|
|
## extraEnvVars:
|
|
## - name: FOO
|
|
## value: "bar"
|
|
## @param extraEnvVars Add extra environment variables to the Adapter container
|
|
##
|
|
extraEnvVars: []
|
|
|
|
## ConfigMap with extra environment variables
|
|
## @param extraEnvVarsCM Name of existing ConfigMap containing extra env vars
|
|
##
|
|
extraEnvVarsCM: ""
|
|
|
|
## Secret with extra environment variables
|
|
## @param extraEnvVarsSecret Name of existing Secret containing extra env vars
|
|
##
|
|
extraEnvVarsSecret: ""
|
|
|
|
## Extra volumes to add to the deployment
|
|
## @param extraVolumes Optionally specify extra list of additional volumes for Adapter pods
|
|
##
|
|
extraVolumes: []
|
|
|
|
## Extra volume mounts to add to the container
|
|
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for Adapter container(s)
|
|
##
|
|
extraVolumeMounts: []
|
|
|
|
## Add init containers to the wavefront-hpa-adapter pods.
|
|
## Example:
|
|
## initContainers:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
## @param initContainers Add additional init containers to the Adapter pods
|
|
##
|
|
initContainers: []
|
|
|
|
## Add sidecars to the wavefront-hpa-adapter pods.
|
|
## Example:
|
|
## sidecars:
|
|
## - name: your-image-name
|
|
## image: your-image
|
|
## imagePullPolicy: Always
|
|
## ports:
|
|
## - name: portname
|
|
## containerPort: 1234
|
|
##
|
|
## @param sidecars Add additional sidecar containers to the Adapter pod
|
|
##
|
|
sidecars: []
|
|
|
|
## Adapter prefix parameter
|
|
## @param adapterMetricPrefix Adapter metric `prefix` parameter
|
|
##
|
|
adapterMetricPrefix: kubernetes
|
|
|
|
## Adapter API Timeout
|
|
## @param adapterAPIClientTimeout Adapter API timeout
|
|
##
|
|
adapterAPIClientTimeout: 10s
|
|
|
|
## Adapter prefix parameter
|
|
## @param adapterMetricRelistInterval Adapter metric relist interval
|
|
##
|
|
adapterMetricRelistInterval: 10m
|
|
|
|
## Adapter tags parameter
|
|
## @param adapterLogLevel Adapter log level
|
|
##
|
|
adapterLogLevel: info
|
|
|
|
## Adapter rules
|
|
## @param adapterRules Adapter array of rules
|
|
##
|
|
adapterRules: []
|
|
|
|
## Adapter rules
|
|
## @param adapterSSLCertDir Adapter SSL Certs directory
|
|
##
|
|
adapterSSLCertDir: "/etc/ssl/certs"
|
|
|
|
## Adapter SSL certs secrets
|
|
## @param adapterSSLCertsSecret Adapter SSL Certs secret (will use autogenerated if empty)
|
|
##
|
|
adapterSSLCertsSecret: ""
|
|
|
|
## External wavefront settings
|
|
##
|
|
wavefront:
|
|
## @param wavefront.url External Wavefront URL
|
|
##
|
|
url: https://YOUR_CLUSTER.wavefront.com
|
|
## @param wavefront.token External Wavefront Token
|
|
##
|
|
token: YOUR_API_TOKEN
|
|
|
|
## @section Traffic Exposure Parameters
|
|
## Service parameters
|
|
##
|
|
service:
|
|
## @param service.type Adapter service type
|
|
##
|
|
type: ClusterIP
|
|
## HTTP Port
|
|
## @param service.ports.https Adapter service port
|
|
##
|
|
ports:
|
|
https: 443
|
|
## @param service.clusterIP WordPress service Cluster IP
|
|
## e.g.:
|
|
## clusterIP: None
|
|
##
|
|
clusterIP: ""
|
|
## @param service.annotations Additional custom annotations for WordPress service
|
|
##
|
|
annotations: {}
|
|
## @param service.extraPorts Extra port to expose on WordPress service
|
|
##
|
|
extraPorts: []
|
|
|
|
## loadBalancerIP for the Service (optional, cloud specific)
|
|
## ref: https://kubernetes.io/docs/user-guide/services/#type-loadbalancer
|
|
## @param service.loadBalancerIP Adapter service LoadBalancer IP
|
|
##
|
|
loadBalancerIP: ""
|
|
## loadBalancerIP source ranges for the Service
|
|
## @param service.loadBalancerSourceRanges loadBalancerIP source ranges for the Service
|
|
## 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: []
|
|
##
|
|
## nodePorts:
|
|
## http: <to set explicitly, choose port between 30000-32767>
|
|
## https: <to set explicitly, choose port between 30000-32767>
|
|
## @param service.nodePorts.http NodePort for the HTTP endpoint
|
|
##
|
|
nodePorts:
|
|
http: ""
|
|
## Enable client source IP preservation
|
|
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
|
## @param service.externalTrafficPolicy External traffic policy for the service
|
|
##
|
|
externalTrafficPolicy: Cluster
|
|
|
|
## @section RBAC parameters
|
|
## Specifies whether RBAC resources should be created
|
|
## @param rbac.create Weather to create & use RBAC resources or not
|
|
##
|
|
rbac:
|
|
create: true
|
|
|
|
## Specifies whether a ServiceAccount should be created
|
|
## @param serviceAccount.create Enable the creation of a ServiceAccount for Reconciler pods
|
|
## @param serviceAccount.name Name of the created ServiceAccount
|
|
##
|
|
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: ""
|
|
## @param serviceAccount.automountServiceAccountToken Automount API credentials for a service account.
|
|
##
|
|
automountServiceAccountToken: true
|
|
## @param serviceAccount.annotations Add annotations to the service account
|
|
##
|
|
annotations: {}
|
|
|
|
## Specifies if the API Services should be registered in the Kubernetes API
|
|
## @param apiService.create Create the APIService objects in Kubernetes API
|
|
##
|
|
apiService:
|
|
create: true
|