forked from RHEnVision/provisioning-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.env.example
211 lines (211 loc) · 9.5 KB
/
api.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
#
# Copy this file as config/api.env, the syntax is KEY=value.
#
# Values from config/{worker,migrate,typesctl,test} take precedence.
# This file was generated by 'make generate-example-config'.
#
# APP_CACHE_EXPIRATION int64
# expiration for Redis application cache (time interval syntax) (default "10m")
# APP_CACHE_MEM_CLEANUP_INTERVAL int64
# in-memory expiration interval (time interval syntax) (default "5m")
# APP_CACHE_REDIS_DB int
# redis database number (default "0")
# APP_CACHE_REDIS_HOST string
# redis hostname (default "localhost")
# APP_CACHE_REDIS_PASSWORD string
# redis password (default "")
# APP_CACHE_REDIS_PORT int
# redis port (default "6379")
# APP_CACHE_REDIS_USER string
# redis username (default "")
# APP_CACHE_TYPE string
# application cache (none, redis) (default "none")
# APP_INSTANCE_PREFIX string
# prefix for all VMs names (default "")
# APP_NOTIFICATIONS_ENABLED bool
# notifications enabled (default "false")
# APP_PORT int
# HTTP port of the API service (default "8000")
# APP_RBAC_ENABLED bool
# RBAC checking (REST_ENDPOINTS_RBAC_URL must be present) (default "false")
# AWS_AVAILABILITY_DELAY int64
# arbitrary delay between sources availability checks (time interval syntax) (default "1s")
# AWS_AVAILABILITY_RATE float32
# probability rate for availability checks (0.0 = all skipped, 1.0 = nothing skipped) (default "1.0")
# AWS_DEFAULT_REGION string
# AWS region when not provided (default "us-east-1")
# AWS_KEY string
# AWS service account key (default "")
# AWS_LOGGING bool
# AWS service account logging (verbose) (default "false")
# AWS_SECRET string
# AWS service account secret (default "")
# AWS_SESSION string
# AWS service account session (default "")
# AZURE_AVAILABILITY_DELAY int64
# arbitrary delay between sources availability checks (time interval syntax) (default "1s")
# AZURE_AVAILABILITY_RATE float32
# probability rate for availability checks (0.0 = all skipped, 1.0 = nothing skipped) (default "1.0")
# AZURE_CLIENT_ID string
# Azure service account client id (default "")
# AZURE_CLIENT_PRINCIPAL_ID string
# Azure Principal ID. It is used for lighthouse delegation. It can be object ID of the service principal or Group object id having the service principal as a member (default "")
# AZURE_CLIENT_PRINCIPAL_NAME string
# Azure display name for the offering principal (default "RH HCC")
# AZURE_CLIENT_SECRET string
# Azure service account client secret (default "")
# AZURE_DEFAULT_REGION string
# Azure region when not provided (default "eastus")
# AZURE_SUBSCRIPTION_ID string
# Azure service account subscription id (default "")
# AZURE_TENANT_ID string
# Azure service account tenant id (default "")
# CLOUDWATCH_ENABLED bool
# cloudwatch logging exporter (enabled in clowder) (default "false")
# CLOUDWATCH_GROUP string
# cloudwatch logging group (default "")
# CLOUDWATCH_KEY string
# cloudwatch logging key (default "")
# CLOUDWATCH_REGION string
# cloudwatch logging AWS region (default "")
# CLOUDWATCH_SECRET string
# cloudwatch logging secret (default "")
# CLOUDWATCH_SESSION string
# cloudwatch logging session (default "")
# CLOUDWATCH_STREAM string
# cloudwatch logging stream (default "")
# DATABASE_HOST string
# main database hostname (default "localhost")
# DATABASE_LOGGING_LEVEL string
# logging level of database logs (default "info")
# DATABASE_MAX_CONN int32
# connection pool maximum size (default "50")
# DATABASE_MAX_IDLE_TIME int64
# connection pool idle time (time interval syntax) (default "15m")
# DATABASE_MAX_LIFETIME int64
# connection pool total lifetime (time interval syntax) (default "2h")
# DATABASE_MIN_CONN int32
# connection pool minimum size (default "2")
# DATABASE_NAME string
# main database name (default "provisioning")
# DATABASE_PASSWORD string
# main database password (default "")
# DATABASE_PORT uint16
# main database port (default "5432")
# DATABASE_SEED_SCRIPT string
# database seed script (dev only) (default "")
# DATABASE_USER string
# main database username (default "postgres")
# GCP_AVAILABILITY_DELAY int64
# arbitrary delay between sources availability checks (time interval syntax) (default "1s")
# GCP_AVAILABILITY_RATE float32
# probability rate for availability checks (0.0 = all skipped, 1.0 = nothing skipped) (default "1.0")
# GCP_DEFAULT_ZONE string
# GCP region when not provided (default "us-east4")
# GCP_JSON string
# GCP service account credentials (base64 encoded) (default "e30K")
# GCP_PROJECT_ID string
# GCP service account project id (default "")
# KAFKA_AUTH_TYPE string
# kafka authentication type (MTLS, SASL or empty) (default "")
# KAFKA_BROKERS slice
# kafka hostname:port list of brokers (default "localhost:9092")
# KAFKA_CA_CERT string
# kafka TLS CA certificate path (use the OS cert store when blank) (default "")
# KAFKA_ENABLED bool
# kafka service enabled (default "false")
# KAFKA_PROTOCOL string
# kafka SASL security protocol (PLAINTEXT, SSL, SASL_PLAINTEXT, or SASL_SSL, empty means PLAINTEXT) (default "")
# KAFKA_SASL_MECHANISM string
# kafka SASL mechanism (scram-sha-512, scram-sha-256 or plain) (default "")
# KAFKA_SASL_PASSWORD string
# kafka SASL password (default "")
# KAFKA_SASL_USERNAME string
# kafka SASL username (default "")
# KAFKA_TLS_SKIP_VERIFY bool
# do not verify TLS server certificate (default "false")
# LOGGING_LEVEL string
# logger level (trace, debug, info, warn, error, fatal, panic) (default "info")
# LOGGING_MAX_FIELD int
# logger maximum field length (dev only) (default "0")
# LOGGING_STDOUT bool
# logger standard output, disabled in clowder by default, stdout is still used if there is no other writer (default "true")
# PROMETHEUS_PATH string
# prometheus metrics path (default "/metrics")
# PROMETHEUS_PORT int
# prometheus HTTP port (default "9000")
# RESERVATION_CLEANUP_ENABLED bool
# reservation cleanup enabled (default "false")
# RESERVATION_CLEANUP_INTERVAL int64
# how often to cleanup the reservation (default "1h")
# RESERVATION_LIFETIME int64
# how old reservation should be deleted, default equal to 365 days (default "8760h")
# REST_ENDPOINTS_IMAGE_BUILDER_CLIENT_ID string
# image builder credentials (dev only) (default "")
# REST_ENDPOINTS_IMAGE_BUILDER_CLIENT_SECRET string
# image builder credentials (dev only) (default "")
# REST_ENDPOINTS_IMAGE_BUILDER_ISSUER string
# sources issuer (default "https://sso.stage.redhat.com/auth/realms/redhat-external")
# REST_ENDPOINTS_IMAGE_BUILDER_PROXY_URL string
# proxy URL (dev only) (default "")
# REST_ENDPOINTS_IMAGE_BUILDER_URL string
# image builder URL (default "")
# REST_ENDPOINTS_RBAC_CLIENT_ID string
# RBAC credentials (dev only) (default "")
# REST_ENDPOINTS_RBAC_CLIENT_SECRET string
# RBAC credentials (dev only) (default "")
# REST_ENDPOINTS_RBAC_ISSUER string
# sources issuer (default "https://sso.stage.redhat.com/auth/realms/redhat-external")
# REST_ENDPOINTS_RBAC_PROXY_URL string
# proxy URL (dev only) (default "")
# REST_ENDPOINTS_RBAC_URL string
# RBAC URL (default "")
# REST_ENDPOINTS_SOURCES_CLIENT_ID string
# sources credentials (dev only) (default "")
# REST_ENDPOINTS_SOURCES_CLIENT_SECRET string
# sources credentials (dev only) (default "")
# REST_ENDPOINTS_SOURCES_ISSUER string
# sources issuer (default "https://sso.stage.redhat.com/auth/realms/redhat-external")
# REST_ENDPOINTS_SOURCES_PROXY_URL string
# proxy URL (dev only) (default "")
# REST_ENDPOINTS_SOURCES_URL string
# sources URL (default "")
# REST_ENDPOINTS_TRACE_DATA bool
# open telemetry HTTP context pass and trace (default "true")
# SENTRY_DSN string
# data source name (empty value disables Sentry) (default "")
# STATS_JOBQUEUE_INTERVAL int64
# how often to pull job queue statistics (default "1m")
# STATS_RESERVATIONS_INTERVAL int64
# how often to pull reservation statistics (default "10m")
# TELEMETRY_ENABLED bool
# open telemetry collecting via OTLP protocol (default "false")
# TELEMETRY_LOGGER_ENABLED bool
# open telemetry logger output (dev only) (default "false")
# TELEMETRY_OLTP_ENABLED bool
# open telemetry jaeger exporter (default "false")
# TELEMETRY_OLTP_HOSTNAME string
# OTLP hostname (localhost) (default "localhost")
# TELEMETRY_OLTP_INSECURE bool
# use HTTP connection instead of HTTPS' (default "false")
# TELEMETRY_OLTP_PORT int
# OTLP port (4318) (default "4318")
# UNLEASH_ENABLED bool
# unleash service (feature flags) (default "false")
# UNLEASH_ENVIRONMENT string
# unleash environment (default "")
# UNLEASH_PREFIX string
# unleash flag prefix (default "provisioning")
# UNLEASH_TOKEN string
# unleash service client access token (default "")
# UNLEASH_URL string
# unleash service URL (default "http://localhost:4242")
# WORKER_CONCURRENCY int
# amount of worker polling goroutines (effective concurrency) (default "33")
# WORKER_POLL_INTERVAL int64
# polling interval (network timeout) (default "5s")
# WORKER_QUEUE string
# job worker implementation (memory, redis, sqs, postgres) (default "memory")
# WORKER_TIMEOUT int64
# total timeout for a single job to complete (duration) (default "30m")
#