forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.nix
50 lines (49 loc) · 1.66 KB
/
conf.nix
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
rec {
staticFiles = true;
version = "latest";
env = {
DEFAULT_REQUEUE_TIME = "1s";
SECURE = "false";
ALWAYS_OFFLOAD_NODE_STATUS = "false";
LOG_LEVEL = "debug";
UPPERIO_DB_DEBUG = "0";
IMAGE_NAMESPACE = "quay.io/pipekitdev";
VERSION = "${version}";
AUTH_MODE = "hybrid";
NAMESPACED = "true";
KUBE_NAMESPACE = "argo";
NAMESPACE = "${env.KUBE_NAMESPACE}";
MANAGED_NAMESPACE = "${env.KUBE_NAMESPACE}"; # same as kubeNamespace
CTRL = "true";
LOGS = "true"; # same as CTRL - not acted upon
UI = "true"; # same as CTRL
API = "true"; # same as CTRL
PLUGINS = "false";
};
controller = {
env = {
CTRL = "${env.CTRL}";
ARGO_EXECUTOR_PLUGINS = "${env.PLUGINS}";
ARGO_REMOVE_PVC_PROTECTION_FINALIZER = "true";
ARGO_PROGRESS_PATCH_TICK_DURATION = "7s";
DEFAULT_REQUEUE_TIME = "${env.DEFAULT_REQUEUE_TIME}";
LEADER_ELECTION_IDENTITY = "local";
ALWAYS_OFFLOAD_NODE_STATUS = "${env.ALWAYS_OFFLOAD_NODE_STATUS}";
OFFLOAD_NODE_STATUS_TTL = "30s";
WORKFLOW_GC_PERIOD = "30s";
UPPERIO_DB_DEBUG = "${env.UPPERIO_DB_DEBUG}";
ARCHIVED_WORKFLOW_GC_PERIOD = "30s";
};
args = "--executor-image ${env.IMAGE_NAMESPACE}/argoexec:${env.VERSION} --namespaced=${env.NAMESPACED} --managed-namespace=${env.MANAGED_NAMESPACE} --loglevel ${env.LOG_LEVEL}";
};
argoServer = {
env = {
UPPERIO_DB_DEBUG = "${env.UPPERIO_DB_DEBUG}";
};
args = "--loglevel ${env.LOG_LEVEL} server --namespaced=${env.NAMESPACED} --auth-mode ${env.AUTH_MODE} --secure=${env.SECURE} --x-frame-options=SAMEORIGIN";
};
ui = {
env = { };
args = "--cwd ui start";
};
}