-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env-example
75 lines (53 loc) · 2.63 KB
/
.env-example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
######################################
#### COMMON ENVIRONMENT VARIABLES ####
######################################
LOG_LEVEL=DEBUG
SERVER_PORT=8080
IMAGE_REGISTRY_HOST=asia.gcr.io/kinto-development
## Enables friendly / clean non debug related logs from the build service
USER_FRIENDLY_BUILD_LOGS_ENABLED=false
## Kinto Core server hostname
## By default, tls is disabled
KINTO_CORE_HOST_NAME=kinto-core:8080
KINTO_CORE_OVER_TLS=false
## Proxless Fully Qualified Domain Name in Kubernetes
PROXLESS_FQDN=kinto-proxless.kintohub.svc.cluster.local
## Workflow timeout
WORKFLOW_TIMEOUT=600
## See KINTO_CORE_SECRET value on kinto core.
KINTO_CORE_SECRET=
####################################
#### ARGO ENVIRONMENT VARIABLES ####
####################################
## Leave empty if `kinto-build` run in a pod
ARGO_KUBE_CONFIG_PATH=/Users/benjaminapprederisse/.kube/config
## TTL in seconds for deleting the workflow from kubernetes after completion (success or failure)
ARGO_WORKFLOW_TTL_SECONDS=600
## Kubernetes namespace where all the workflows are gonna run
ARGO_WORKFLOW_NAMESPACE=kintohub
## Kubernetes secret used by kaniko to push the image into ${IMAGE_REGISTRY_HOST}
## Must be a docker secret - `kubernetes.io/dockerconfigjson`
## Must be in ${ARGO_WORKFLOW_NAMESPACE} namespace
ARGO_WORKFLOW_DOCKER_SECRET=kinto-builder-workflow-docker
## Kubernetes service account used by the workflow to interact with the kubernetes api
## Must be in ARGO_WORKFLOW_NAMESPACE namespace
ARGO_WORKFLOW_SERVICE_ACCOUNT=kinto-builder-workflow
## Hostname for minio which is used for logs storage. Mandatory when Argo Workflows are enabled
ARGO_WORKFLOW_MINIO_HOST=kinto-minio:9000
## Access Key for accessing Minio. Mandatory when Argo Workflows are enabled
ARGO_WORKFLOW_MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
## Secret key for accessing minio. Mandatory when Argo Workflows are enabled
ARGO_WORKFLOW_MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
## Bucket name in minio which the logs exists. Mandatory when Argo Workflows are enabled
ARGO_WORKFLOW_MINIO_BUCKET=argo-artifacts
## Kubernetes Container Pull Policy that every argo step will follow.
ARGO_WORKFLOW_IMAGE_PULL_POLICY=IfNotPresent
ARGO_WORKFLOW_MAIN_IMAGE=kintohub/kinto-workflow-main:latest
ARGO_WORKFLOW_CLI_IMAGE=kintohub/kinto-workflow-cli:latest
## Argo workflow use an `emptyDir` ephemeral storage. Be careful setting up this limit since it's gonna use the node volume.
ARGO_WORKFLOW_VOLUME_SIZE=1Gi
## Resources for the main step
ARGO_WORKFLOW_MEMORY_LIMIT=2Gi # must be > 2Gi
ARGO_WORKFLOW_CPU_LIMIT=1 # must be > 500m
ARGO_WORKFLOW_MEMORY_REQUEST=
ARGO_WORKFLOW_CPU_REQUEST=