11# This is the global configuration file for Workflow
22
3+ # If the service is used by a component alone, it needs to be configured inside the component.
4+ # Refer to rabbitmqUrl and databaseUrl of the controller component.
5+ # If the service is dependent on multiple components and there is state synchronization,
6+ # it needs to be configured separately, such as minio and influxdb.
7+
38global :
49 # Admin email, used for each component to send email to administrator
510 email : " drycc@drycc.cc"
6- # Set the storage backend
11+
12+ # Set the location of Workflow's Object Storage
713 #
814 # Valid values are:
9- # - s3: Store persistent data in AWS S3 (configure in S3 section)
10- # - azure: Store persistent data in Azure's object storage
11- # - gcs: Store persistent data in Google Cloud Storage
12- # - oss: Store persistent data in Aliyun OSS
13- # - minio: Store persistent data on in-cluster Minio server
14- storage : minio
15+ # - on-cluster: Run minio within the Kubernetes cluster
16+ # - off-cluster: Run Object Storage outside the Kubernetes cluster (Compatible with s3 API)
17+ minioLocation : " on-cluster"
1518
1619 # Set the location of Workflow's PostgreSQL database
1720 #
1821 # Valid values are:
1922 # - on-cluster: Run PostgreSQL within the Kubernetes cluster (credentials are generated
2023 # automatically; backups are sent to object storage
2124 # configured above)
22- # - off-cluster: Run PostgreSQL outside the Kubernetes cluster (configure in database section)
25+ # - off-cluster: Run PostgreSQL outside the Kubernetes cluster
2326 databaseLocation : " on-cluster"
2427
2528 # Set the location of Workflow's Redis instance
@@ -88,51 +91,23 @@ global:
8891 # - off-cluster: Use passport outside the Kubernetes cluster
8992 passportLocation : " on-cluster"
9093
91- s3 :
92- # Your AWS access key. Leave it empty if you want to use IAM credentials.
93- accesskey : " "
94- # Your AWS secret key. Leave it empty if you want to use IAM credentials.
95- secretkey : " "
96- # Any S3 region
97- endpoint : " your-s3-endpoint"
98- # Your buckets.
99- builderBucket : " your-builder-bucket-name"
100- registryBucket : " your-registry-bucket-name"
101- databaseBucket : " your-database-bucket-name"
102-
103- oss :
94+ minio :
95+ # bucket lookup supported by the server.
96+ # Valid options are '[dns, path]'
97+ # When the minio is off-cluster, this value can be set
98+ # Otherwise, Hard coded as `path`
99+ lookup : " path"
100+ # endpoint configuration is only available in off-cluster minio database
101+ endpoint : " "
102+ # If minio is off-cluster, accesskey and secretkey must be specified
103+ # Otherwise, they are generated randomly, if they are empty
104104 accesskey : " "
105105 secretkey : " "
106- endpoint : " your-oos-endpoint"
107- builderBucket : " your-builder-bucket-name"
108- registryBucket : " your-registry-bucket-name"
109- databaseBucket : " your-database-bucket-name"
110-
111- azure :
112- accesskey : " YOUR ACCOUNT NAME"
113- secretkey : " YOUR ACCOUNT KEY"
114- endpoint : " your-azure-endpoint"
115- builderBucket : " your-builder-container-name"
116- registryBucket : " your-registry-container-name"
117- databaseBucket : " your-database-container-name"
118-
119- gcs :
120- # keyJson is expanded into a JSON file on the remote server. It must be
121- # well-formatted JSON data.
122- accesskey : " your accessKey for minio gateway"
123- secretkey : " your secretkey for minio gateway"
124- keyJson : <base64-encoded JSON data>
125- projectid : " your-gcs-projectid"
126- builderBucket : " your-builder-bucket-name"
127- registryBucket : " your-registry-bucket-name"
128- databaseBucket : " your-database-bucket-name"
129-
130- minio :
131- accesskey : " 8TZRY2JRWMPT6UMXR6I5"
132- secretkey : " gbstrOvotMMcg2sMfGUhA5a6Et/EI5ALtIHsobYk"
133- builderBucket : " 0fad60517a9e4225a07d77d7b9b58629"
134- registryBucket : " c2da53f11c7a455db35797c3ba625d80"
135- databaseBucket : " e95eb5c54c3a4047abe5269a68fa9a67"
106+ # The following three bucket name parameters are valid only in cluster-off
107+ # In the case of cluster-on, they are hard coded and named: builder, registry, database
108+ builderBucket : " drycc-builder-bucket"
109+ registryBucket : " drycc-registry-bucket"
110+ databaseBucket : " drycc-database-bucket"
136111 # Configure the following ONLY if you want persistence for on-cluster minio
137112 persistence :
138113 enabled : false # Set to true to enable persistence
@@ -181,9 +156,11 @@ controller:
181156 celeryReplicas : 1
182157 # Configuring this will no longer use the built-in database component
183158 databaseUrl : " "
159+ # Configuring this will no longer use the built-in rabbitmq component
160+ rabbitmqUrl : " "
184161
185162database :
186- # The username and password to be used by the on-cluster database.
163+ # The following parameters are configured only when using an on-cluster Database instance
187164 # If left empty they will be generated using randAlphaNum
188165 username : " "
189166 password : " "
@@ -204,20 +181,18 @@ database:
204181 volumeName : " "
205182
206183redis :
207- # The following parameters are configured only when using an on-cluster Redis instance
208- replicas : 1
209184 # The following parameters are configured only when using an off-cluster Redis instance
210185 addrs : " " # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"
211186 password : " redis password" # "" == no password
187+ # The following parameters are configured only when using an on-cluster Redis instance
188+ replicas : 1
212189 persistence :
213190 enabled : false # Set to true to enable persistence
214191 size : 5Gi
215192 storageClass : " "
216193
217194rabbitmq :
218- # Configure the following ONLY if using an off-cluster rabbitmq
219- url : " amqp://myuser:mypassword@localhost:5672/myvhost"
220- # The username and password to be used by the on-cluster database.
195+ # The following parameters are configured only when using an on-cluster Rabbitmq instance
221196 # If left empty they will be generated using randAlphaNum
222197 username : " "
223198 password : " "
@@ -241,7 +216,7 @@ influxdb:
241216 url : " http://my.influx.url:8086"
242217 bucket : " kubernetes"
243218 org : " org"
244- # If it is off-cluster, it must be specified
219+ # If influxdb is off-cluster, it must be specified
245220 # Otherwise, it is generated randomly, if it is empty
246221 token : " "
247222 # Configure the following is only available in on-cluster Influx database
@@ -295,12 +270,14 @@ monitor:
295270 volumeName : " "
296271
297272registry :
273+ # The following parameters are configured only when using an off-cluster Registry instance
298274 hostname : " "
299275 organization : " "
300276 username : " "
301277 password : " "
302278
303279passport :
280+ # The following parameters are configured only when using an on-cluster passport
304281 # Set passport deployment replicas
305282 replicas : 1
306283 # Configuring this will no longer use the built-in database component
0 commit comments