2021-09-24 17:02:43 +08:00
# Default values for kubevela.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
2022-02-28 10:03:23 +08:00
## @section KubeVela core parameters
## @param systemDefinitionNamespace System definition namespace, if unspecified, will use built-in variable `.Release.Namespace`.
systemDefinitionNamespace :
## @param applicationRevisionLimit Application revision limit
applicationRevisionLimit : 10
## @param definitionRevisionLimit Definition revision limit
definitionRevisionLimit : 20
2021-09-24 17:02:43 +08:00
2022-02-28 10:03:23 +08:00
## @param concurrentReconciles concurrentReconciles is the concurrent reconcile number of the controller
concurrentReconciles : 4
## @param controllerArgs.reSyncPeriod The period for resync the applications
controllerArgs :
reSyncPeriod : 5m
## @param OAMSpecVer OAMSpecVer is the oam spec version controller want to setup
OAMSpecVer : "minimal"
## @param disableCaps Disable capability
2022-09-14 16:28:09 +08:00
disableCaps : "envbinding,rollout"
2021-11-22 10:56:36 +08:00
2022-02-28 10:03:23 +08:00
## @param dependCheckWait dependCheckWait is the time to wait for ApplicationConfiguration's dependent-resource ready
dependCheckWait : 30s
2022-03-08 16:04:19 +08:00
## @section KubeVela workflow parameters
2022-05-27 22:01:14 +08:00
## @param workflow.enableSuspendOnFailure Enable suspend on workflow failure
2022-03-08 16:04:19 +08:00
## @param workflow.backoff.maxTime.waitState The max backoff time of workflow in a wait condition
## @param workflow.backoff.maxTime.failedState The max backoff time of workflow in a failed condition
## @param workflow.step.errorRetryTimes The max retry times of a failed workflow step
workflow :
2022-05-27 22:01:14 +08:00
enableSuspendOnFailure : false
2022-03-08 16:04:19 +08:00
backoff :
maxTime :
waitState : 60
failedState : 300
step :
errorRetryTimes : 10
2022-02-28 10:03:23 +08:00
## @section KubeVela controller parameters
## @param replicaCount KubeVela controller replica count
replicaCount : 1
## @param imageRegistry Image registry
2021-11-22 10:56:36 +08:00
imageRegistry : ""
2022-02-28 10:03:23 +08:00
## @param image.repository Image repository
## @param image.tag Image tag
## @param image.pullPolicy Image pull policy
2021-09-24 17:02:43 +08:00
image :
repository : oamdev/vela-core
tag : latest
pullPolicy : Always
2022-02-28 10:03:23 +08:00
## @param resources.limits.cpu KubeVela controller's cpu limit
## @param resources.limits.memory KubeVela controller's memory limit
## @param resources.requests.cpu KubeVela controller's cpu request
## @param resources.requests.memory KubeVela controller's memory request
resources :
limits :
cpu : 500m
memory : 1Gi
requests :
cpu : 50m
memory : 20Mi
## @param webhookService.type KubeVela webhook service type
## @param webhookService.port KubeVela webhook service port
webhookService :
type : ClusterIP
port : 9443
## @param healthCheck.port KubeVela health check port
healthCheck :
port : 9440
2023-03-24 11:28:35 +08:00
## @section KubeVela controller optimization parameters
##@param featureGates.applyOnce if enabled, the apply-once feature will be applied to all applications, no state-keep and no resource data storage in ResourceTracker
featureGates :
applyOnce : false
2022-02-28 10:03:23 +08:00
## @section MultiCluster parameters
## @param multicluster.enabled Whether to enable multi-cluster
## @param multicluster.clusterGateway.replicaCount ClusterGateway replica count
## @param multicluster.clusterGateway.port ClusterGateway port
## @param multicluster.clusterGateway.image.repository ClusterGateway image repository
## @param multicluster.clusterGateway.image.tag ClusterGateway image tag
## @param multicluster.clusterGateway.image.pullPolicy ClusterGateway image pull policy
2023-03-24 11:28:35 +08:00
## @param multicluster.clusterGateway.resources.requests.cpu ClusterGateway cpu request
## @param multicluster.clusterGateway.resources.requests.memory ClusterGateway memory request
2022-02-28 10:03:23 +08:00
## @param multicluster.clusterGateway.resources.limits.cpu ClusterGateway cpu limit
## @param multicluster.clusterGateway.resources.limits.memory ClusterGateway memory limit
## @param multicluster.clusterGateway.secureTLS.enabled Whether to enable secure TLS
## @param multicluster.clusterGateway.secureTLS.certPath Path to the certificate file
multicluster :
enabled : true
clusterGateway :
replicaCount : 1
port : 9443
image :
repository : oamdev/cluster-gateway
2023-03-24 11:28:35 +08:00
tag : v1.8.0-alpha.3
2022-02-28 10:03:23 +08:00
pullPolicy : IfNotPresent
resources :
2023-03-24 11:28:35 +08:00
requests :
cpu : 50m
memory : 20Mi
2022-02-28 10:03:23 +08:00
limits :
2023-03-24 11:28:35 +08:00
cpu : 500m
2022-02-28 10:03:23 +08:00
memory : 200Mi
secureTLS :
enabled : true
certPath : /etc/k8s-cluster-gateway-certs
## @section Test parameters
## @param test.app.repository Test app repository
## @param test.app.tag Test app tag
## @param test.k8s.repository Test k8s repository
## @param test.k8s.tag Test k8s tag
test :
app :
repository : oamdev/hello-world
tag : v1
k8s :
repository : oamdev/alpine-k8s
tag : 1.18 .2
## @section Common parameters
## @param imagePullSecrets Image pull secrets
2021-09-24 17:02:43 +08:00
imagePullSecrets : [ ]
2022-02-28 10:03:23 +08:00
## @param nameOverride Override name
2021-09-24 17:02:43 +08:00
nameOverride : ""
2022-02-28 10:03:23 +08:00
## @param fullnameOverride Fullname override
2021-09-24 17:02:43 +08:00
fullnameOverride : ""
2022-02-28 10:03:23 +08:00
## @param serviceAccount.create Specifies whether a service account should be created
## @param serviceAccount.annotations Annotations to add to the service account
## @param serviceAccount.name The name of the service account to use. If not set and create is true, a name is generated using the fullname template
2021-09-24 17:02:43 +08:00
serviceAccount :
# Specifies whether a service account should be created
create : true
# Annotations to add to the service account
annotations : {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name :
2022-02-28 10:03:23 +08:00
## @skip podSecurityContext
2021-09-24 17:02:43 +08:00
podSecurityContext : {}
# fsGroup: 2000
2022-02-28 10:03:23 +08:00
## @skip securityContext
2021-09-24 17:02:43 +08:00
securityContext : {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
2022-02-28 10:03:23 +08:00
## @param nodeSelector Node selector
2021-09-24 17:02:43 +08:00
nodeSelector : {}
2022-02-28 10:03:23 +08:00
## @param tolerations Tolerations
2021-09-24 17:02:43 +08:00
tolerations : [ ]
2022-02-28 10:03:23 +08:00
## @param affinity Affinity
2021-09-24 17:02:43 +08:00
affinity : {}
2022-02-28 10:03:23 +08:00
## @param rbac.create Specifies whether a RBAC role should be created
2021-09-24 17:02:43 +08:00
rbac :
create : true
2022-02-28 10:03:23 +08:00
## @param logDebug Enable debug logs for development purpose
logDebug : false
## @param logFilePath If non-empty, write log files in this path
logFilePath : ""
## @param logFileMaxSize Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited.
logFileMaxSize : 1024
## @skip admissionWebhooks
2021-09-24 17:02:43 +08:00
admissionWebhooks :
enabled : true
failurePolicy : Fail
certificate :
mountPath : /etc/k8s-webhook-certs
patch :
enabled : true
image :
repository : oamdev/kube-webhook-certgen
2022-06-05 14:16:31 +08:00
tag : v2.4.1
2021-09-24 17:02:43 +08:00
pullPolicy : IfNotPresent
2022-02-08 09:36:51 +08:00
nodeSelector : {}
2021-09-24 17:02:43 +08:00
affinity : {}
tolerations : [ ]
2022-05-21 22:57:38 +08:00
appConversion :
enabled : false
2021-09-24 17:02:43 +08:00
certManager :
enabled : false
2022-02-28 10:03:23 +08:00
revisionHistoryLimit : 3
2021-09-24 17:02:43 +08:00
2022-02-28 10:03:23 +08:00
## @param kubeClient.qps The qps for reconcile clients, default is 50
2022-03-09 11:18:46 +08:00
## @param kubeClient.burst The burst for reconcile clients, default is 100
2022-02-18 16:27:37 +08:00
kubeClient :
qps : 50
2022-03-09 11:18:46 +08:00
burst : 100
2022-04-24 14:48:26 +08:00
## @param authentication.enabled Enable authentication for application
## @param authentication.withUser Application authentication will impersonate as the request User
## @param authentication.defaultUser Application authentication will impersonate as the User if no user provided in Application
## @param authentication.groupPattern Application authentication will impersonate as the request Group that matches the pattern
authentication :
enabled : false
withUser : false
defaultUser : kubevela:vela-core
groupPattern : kubevela:*