# Platform
ENV_KEYS_PLATFORM_CONFIG = "POLYAXON_PLATFORM_CONFIG"

# Context path for Polyaxon's config files
ENV_KEYS_HOME = "POLYAXON_HOME"

# General
ENV_KEYS_NO_CONFIG = "POLYAXON_NO_CONFIG"
ENV_KEYS_SERVICE = "POLYAXON_SERVICE"
ENV_KEYS_ENVIRONMENT = "POLYAXON_ENVIRONMENT"
ENV_KEYS_HEADER = "POLYAXON_HEADER"
ENV_KEYS_HEADER_SERVICE = "POLYAXON_HEADER_SERVICE"
ENV_KEYS_AUTHENTICATION_TYPE = "POLYAXON_AUTHENTICATION_TYPE"
ENV_KEYS_DEBUG = "POLYAXON_DEBUG"
ENV_KEYS_TIMEOUT = "POLYAXON_TIMEOUT"
ENV_KEYS_TRACKING_TIMEOUT = "POLYAXON_TRACKING_TIMEOUT"
ENV_KEYS_TIME_ZONE = "POLYAXON_TIME_ZONE"
ENV_KEYS_WATCH_INTERVAL = "POLYAXON_WATCH_INTERVAL"
ENV_KEYS_INTERVAL = "POLYAXON_INTERVAL"
ENV_KEYS_LOG_LEVEL = "POLYAXON_LOG_LEVEL"
ENV_KEYS_K8S_NAMESPACE = "POLYAXON_K8S_NAMESPACE"
ENV_KEYS_K8S_NODE_NAME = "POLYAXON_K8S_NODE_NAME"
ENV_KEYS_K8S_POD_ID = "POLYAXON_K8S_POD_ID"
ENV_KEYS_PLATFORM_HOST = "POLYAXON_PLATFORM_HOST"
ENV_KEYS_HOST = "POLYAXON_HOST"
ENV_KEYS_API_VERSION = "POLYAXON_API_VERSION"
ENV_KEYS_VERIFY_SSL = "POLYAXON_VERIFY_SSL"
ENV_KEYS_SSL_CA_CERT = "POLYAXON_SSL_CA_CERT"
ENV_KEYS_CERT_FILE = "POLYAXON_CERT_FILE"
ENV_KEYS_KEY_FILE = "POLYAXON_KEY_FILE"
ENV_KEYS_ASSERT_HOSTNAME = "POLYAXON_ASSERT_HOSTNAME"
ENV_KEYS_CONNECTION_POOL_MAXSIZE = "POLYAXON_CONNECTION_POOL_MAXSIZE"
ENV_KEYS_LOGS_ROOT = "POLYAXON_LOG_ROOT"
ENV_KEYS_ARCHIVES_ROOT = "POLYAXON_ARCHIVES_ROOT"
ENV_KEYS_ARTIFACTS_ROOT = "POLYAXON_ARTIFACTS_ROOT"
ENV_KEYS_STATIC_ROOT = "POLYAXON_STATIC_ROOT"
ENV_KEYS_CONTEXT_ROOT = "POLYAXON_CONTEXT_ROOT"
ENV_KEYS_OFFLINE_ROOT = "POLYAXON_OFFLINE_ROOT"
ENV_KEYS_DISABLE_ERRORS_REPORTING = "POLYAXON_DISABLE_ERRORS_REPORTING"
ENV_KEYS_INTERVALS_COMPATIBILITY_CHECK = "POLYAXON_INTERVALS_COMPATIBILITY_CHECK"
ENV_KEYS_RETRIES = "POLYAXON_RETRIES"
ENV_KEYS_UPLOAD_SIZE = "POLYAXON_UPLOAD_SIZE"
ENV_KEYS_MAX_CONCURRENCY = "POLYAXON_MAX_CONCURRENCY"
ENV_KEYS_HAS_PROCESS_SIDECAR = "POLYAXON_HAS_PROCESS_SIDECAR"

# Secrets
ENV_KEYS_SECRET_KEY = "POLYAXON_SECRET_KEY"  # noqa
ENV_KEYS_SECRET_INTERNAL_TOKEN = "POLYAXON_SECRET_INTERNAL_TOKEN"  # noqa
ENV_KEYS_AUTH_TOKEN = "POLYAXON_AUTH_TOKEN"
ENV_KEYS_AUTH_USERNAME = "POLYAXON_AUTH_USERNAME"
ENV_KEYS_CUSTOM_ERRORS_OPTIONS = "POLYAXON_CUSTOM_ERRORS_OPTIONS"

# Containers
ENV_KEYS_AGENT_INSTANCE = "POLYAXON_AGENT_INSTANCE"
ENV_KEYS_RUN_INSTANCE = "POLYAXON_RUN_INSTANCE"
ENV_KEYS_CONTAINER_ID = "POLYAXON_CONTAINER_ID"
ENV_KEYS_HASH_LENGTH = "POLYAXON_HASH_LENGTH"

# Flags
ENV_KEYS_K8S_IN_CLUSTER = "POLYAXON_K8S_IN_CLUSTER"
ENV_KEYS_IS_MANAGED = "POLYAXON_IS_MANAGED"
ENV_KEYS_IS_OFFLINE = "POLYAXON_IS_OFFLINE"
ENV_KEYS_NO_OP = "POLYAXON_NO_OP"
ENV_KEYS_NO_API = "POLYAXON_NO_API"

# Registry
ENV_KEYS_USE_GIT_REGISTRY = "POLYAXON_USE_GIT_REGISTRY"
ENV_KEYS_PUBLIC_REGISTRY = "POLYAXON_PUBLIC_REGISTRY"

# Agent
ENV_KEYS_AGENT_SIDECAR = "POLYAXON_AGENT_SIDECAR"
ENV_KEYS_AGENT_INIT = "POLYAXON_AGENT_INIT"
ENV_KEYS_AGENT_CLEANER = "POLYAXON_AGENT_CLEANER"
ENV_KEYS_AGENT_NOTIFIER = "POLYAXON_AGENT_NOTIFIER"
ENV_KEYS_AGENT_DEFAULT_SCHEDULING = "POLYAXON_AGENT_DEFAULT_SCHEDULING"
ENV_KEYS_AGENT_DEFAULT_IMAGE_PULL_SECRETS = "POLYAXON_AGENT_DEFAULT_IMAGE_PULL_SECRETS"
ENV_KEYS_AGENT_ARTIFACTS_STORE = "POLYAXON_AGENT_ARTIFACTS_STORE"
ENV_KEYS_AGENT_CONNECTIONS = "POLYAXON_AGENT_CONNECTIONS"
ENV_KEYS_SET_AGENT = "POLYAXON_SET_AGENT"
ENV_KEYS_K8S_APP_SECRET_NAME = "POLYAXON_K8S_APP_SECRET_NAME"  # noqa
ENV_KEYS_WATCH_CLUSTER = "POLYAXON_WATCH_CLUSTER"
ENV_KEYS_SINGLE_NAMESPACE = "POLYAXON_SINGLE_NAMESPACE"
ENV_KEYS_ADDITIONAL_NAMESPACES = "POLYAXON_ADDITIONAL_NAMESPACES"
ENV_KEYS_AGENT_SECRET_NAME = "POLYAXON_AGENT_SECRET_NAME"  # noqa
ENV_KEYS_AGENT_RUNS_SA = "POLYAXON_AGENT_RUNS_SA"
ENV_KEYS_AGENT_ENABLE_HEALTH_CHECKS = "POLYAXON_AGENT_ENABLE_HEALTH_CHECKS"
ENV_KEYS_AGENT_EXECUTOR_REFRESH_INTERVAL = "POLYAXON_AGENT_EXECUTOR_REFRESH_INTERVAL"
ENV_KEYS_AGENT_IS_REPLICA = "POLYAXON_AGENT_IS_REPLICA"
ENV_KEYS_AGENT_USE_PROXY_ENV_VARS_IN_OPS = "POLYAXON_AGENT_USE_PROXY_ENV_VARS_IN_OPS"

# Connections
ENV_KEYS_COLLECT_ARTIFACTS = "POLYAXON_COLLECT_ARTIFACTS"
ENV_KEYS_COLLECT_RESOURCES = "POLYAXON_COLLECT_RESOURCES"
ENV_KEYS_ARTIFACTS_STORE_NAME = "POLYAXON_ARTIFACTS_STORE_NAME"
ENV_KEYS_GIT_CREDENTIALS = "POLYAXON_GIT_CREDENTIALS"
ENV_KEYS_GIT_CREDENTIALS_STORE = "POLYAXON_GIT_CREDENTIALS_STORE"
ENV_KEYS_SSH_PATH = "POLYAXON_SSH_PATH"
ENV_KEYS_SSH_PRIVATE_KEY = "POLYAXON_SSH_PRIVATE_KEY"

# Ops
ENV_KEYS_ISTIO_ENABLED = "POLYAXON_ISTIO_ENABLED"
ENV_KEYS_TFJOB_ENABLED = "POLYAXON_TFJOB_ENABLED"
ENV_KEYS_PYTORCH_JOB_ENABLED = "POLYAXON_PYTORCH_JOB_ENABLED"
ENV_KEYS_PADDLE_JOB_ENABLED = "POLYAXON_PADDLE_JOB_ENABLED"
ENV_KEYS_MXJOB_ENABLED = "POLYAXON_MXJOB_ENABLED"
ENV_KEYS_XGBOOST_JOB_ENABLED = "POLYAXON_XGBOOST_JOB_ENABLED"
ENV_KEYS_MPIJOB_ENABLED = "POLYAXON_MPIJOB_ENABLED"
ENV_KEYS_RAYJOB_ENABLED = "POLYAXON_RAYJOB_ENABLED"
ENV_KEYS_DASKJOB_ENABLED = "POLYAXON_DASKJOB_ENABLED"

# Sandbox
ENV_KEYS_SANDBOX_PORT = "POLYAXON_SANDBOX_PORT"
ENV_KEYS_SANDBOX_HOST = "POLYAXON_SANDBOX_HOST"
ENV_KEYS_SANDBOX_DEBUG = "POLYAXON_SANDBOX_DEBUG"
ENV_KEYS_SANDBOX_SSL_ENABLED = "POLYAXON_SANDBOX_SSL_ENABLED"
ENV_KEYS_SANDBOX_WORKERS = "POLYAXON_SANDBOX_WORKERS"
ENV_KEYS_SANDBOX_PER_CORE = "POLYAXON_SANDBOX_PER_CORE"
ENV_KEYS_SANDBOX_ROOT = "POLYAXON_SANDBOX_ROOT"
ENV_KEYS_SERVICE_MODE = "POLYAXON_SERVICE_MODE"

# Proxies
ENV_KEYS_PROXY_NAMESPACES = "POLYAXON_PROXY_NAMESPACES"
ENV_KEYS_PROXY_GATEWAY_PORT = "POLYAXON_PROXY_GATEWAY_PORT"
ENV_KEYS_PROXY_GATEWAY_TARGET_PORT = "POLYAXON_PROXY_GATEWAY_TARGET_PORT"
ENV_KEYS_PROXY_GATEWAY_HOST = "POLYAXON_PROXY_GATEWAY_HOST"
ENV_KEYS_PROXY_GATEWAY_CONCURRENCY = "POLYAXON_PROXY_GATEWAY_CONCURRENCY"
ENV_KEYS_PROXY_GATEWAY_PER_CORE = "POLYAXON_PROXY_GATEWAY_PER_CORE"
ENV_KEYS_PROXY_STREAMS_PORT = "POLYAXON_PROXY_STREAMS_PORT"
ENV_KEYS_PROXY_STREAMS_TARGET_PORT = "POLYAXON_PROXY_STREAMS_TARGET_PORT"
ENV_KEYS_PROXY_STREAMS_HOST = "POLYAXON_PROXY_STREAMS_HOST"
ENV_KEYS_PROXY_API_PORT = "POLYAXON_PROXY_API_PORT"
ENV_KEYS_PROXY_API_TARGET_PORT = "POLYAXON_PROXY_API_TARGET_PORT"
ENV_KEYS_PROXY_API_HOST = "POLYAXON_PROXY_API_HOST"
ENV_KEYS_PROXY_LOCAL_PORT = "POLYAXON_PROXY_LOCAL_PORT"
ENV_KEYS_PROXY_API_USE_RESOLVER = "POLYAXON_PROXY_API_USE_RESOLVER"
ENV_KEYS_PROXY_SSL_PATH = "POLYAXON_PROXY_SSL_PATH"
ENV_KEYS_PROXY_SSL_ENABLED = "POLYAXON_PROXY_SSL_ENABLED"
ENV_KEYS_PROXY_AUTH_ENABLED = "POLYAXON_PROXY_AUTH_ENABLED"
ENV_KEYS_PROXY_AUTH_EXTERNAL = "POLYAXON_PROXY_AUTH_EXTERNAL"
ENV_KEYS_PROXY_AUTH_USE_RESOLVER = "POLYAXON_PROXY_AUTH_USE_RESOLVER"
ENV_KEYS_PROXY_HAS_FORWARD_PROXY = "POLYAXON_PROXY_HAS_FORWARD_PROXY"
ENV_KEYS_PROXY_FORWARD_PROXY_PORT = "POLYAXON_PROXY_FORWARD_PROXY_PORT"
ENV_KEYS_PROXY_FORWARD_PROXY_HOST = "POLYAXON_PROXY_FORWARD_PROXY_HOST"
ENV_KEYS_PROXY_FORWARD_PROXY_KIND = "POLYAXON_PROXY_FORWARD_PROXY_KIND"
ENV_KEYS_UI_IN_SANDBOX = "POLYAXON_UI_IN_SANDBOX"
ENV_KEYS_UI_ADMIN_ENABLED = "POLYAXON_UI_ADMIN_ENABLED"
ENV_KEYS_UI_ASSETS_VERSION = "POLYAXON_UI_ASSETS_VERSION"
ENV_KEYS_UI_ENABLED = "POLYAXON_UI_ENABLED"
ENV_KEYS_UI_OFFLINE = "POLYAXON_UI_OFFLINE"
ENV_KEYS_UI_BASE_URL = "POLYAXON_UI_BASE_URL"
ENV_KEYS_STATIC_URL = "POLYAXON_STATIC_URL"
ENV_KEYS_DNS_USE_RESOLVER = "POLYAXON_DNS_USE_RESOLVER"
ENV_KEYS_DNS_CUSTOM_CLUSTER = "POLYAXON_DNS_CUSTOM_CLUSTER"
ENV_KEYS_DNS_BACKEND = "POLYAXON_DNS_BACKEND"
ENV_KEYS_DNS_PREFIX = "POLYAXON_DNS_PREFIX"
ENV_KEYS_NGINX_TIMEOUT = "POLYAXON_NGINX_TIMEOUT"
ENV_KEYS_NGINX_INDENT_CHAR = "POLYAXON_NGINX_INDENT_CHAR"
ENV_KEYS_NGINX_INDENT_WIDTH = "POLYAXON_NGINX_INDENT_WIDTH"
