|
| 1 | +# |
| 2 | +# This is the main configuration file for Deis object storage. The values in |
| 3 | +# this file are passed into the appropriate services so that they can configure |
| 4 | +# themselves for persisting data in object storage. |
| 5 | +# |
| 6 | +# In general, all object storage credentials must be able to read and write to |
| 7 | +# the container or bucket they are configured to use. |
| 8 | +# |
| 9 | + |
| 10 | +global: |
| 11 | + # Set the storage backend |
| 12 | + # |
| 13 | + # Valid values are: |
| 14 | + # - s3: Store persistent data in AWS S3 (configure in S3 section) |
| 15 | + # - azure: Store persistent data in Azure's object storage |
| 16 | + # - gcs: Store persistent data in Google Cloud Storage |
| 17 | + # - minio: Store persistent data on in-cluster Minio server |
| 18 | + storage: minio |
| 19 | + # Set the location of Workflow's PostgreSQL database |
| 20 | + # |
| 21 | + # Valid values are: |
| 22 | + # - on-cluster: Run PostgreSQL within the Kubernetes cluster (credentials are generated |
| 23 | + # automatically; backups are sent to object storage |
| 24 | + # configured above) |
| 25 | + # - off-cluster: Run PostgreSQL outside the Kubernetes cluster (configure in database section) |
| 26 | + database_location: "on-cluster" |
| 27 | + # Set the location of Workflow's logger-specific Redis instance |
| 28 | + # |
| 29 | + # Valid values are: |
| 30 | + # - on-cluster: Run Redis within the Kubernetes cluster |
| 31 | + # - off-cluster: Run Redis outside the Kubernetes cluster (configure in loggerRedis section) |
| 32 | + logger_redis_location: "on-cluster" |
| 33 | + |
| 34 | + # Set the location of Workflow's Registry |
| 35 | + # |
| 36 | + # Valid values are: |
| 37 | + # - on-cluster: Run registry within the Kubernetes cluster |
| 38 | + # - off-cluster: Use registry outside the Kubernetes cluster (example: dockerhub,quay.io,self-hosted) |
| 39 | + # - ecr: Use Amazon's ECR |
| 40 | + # - gcr: Use Google's GCR |
| 41 | + registry_location: "on-cluster" |
| 42 | + # The host port to which registry proxy binds to |
| 43 | + host_port: 5555 |
| 44 | + # Prefix for the imagepull secret created when using private registry |
| 45 | + secret_prefix: "private-registry" |
| 46 | + |
| 47 | + |
| 48 | +s3: |
| 49 | + # Your AWS access key. Leave it empty if you want to use IAM credentials. |
| 50 | + accesskey: "" |
| 51 | + # Your AWS secret key. Leave it empty if you want to use IAM credentials. |
| 52 | + secretkey: "" |
| 53 | + # Any S3 region |
| 54 | + region: "us-west-1" |
| 55 | + # Your buckets. |
| 56 | + registry_bucket: "your-registry-bucket-name" |
| 57 | + database_bucket: "your-database-bucket-name" |
| 58 | + builder_bucket: "your-builder-bucket-name" |
| 59 | + |
| 60 | +azure: |
| 61 | + accountname: "YOUR ACCOUNT NAME" |
| 62 | + accountkey: "YOUR ACCOUNT KEY" |
| 63 | + registry_container: "your-registry-container-name" |
| 64 | + database_container: "your-database-container-name" |
| 65 | + builder_container: "your-builder-container-name" |
| 66 | + |
| 67 | +gcs: |
| 68 | + # key_json is expanded into a JSON file on the remote server. It must be |
| 69 | + # well-formatted JSON data. |
| 70 | + key_json: '' |
| 71 | + registry_bucket: "your-registry-bucket-name" |
| 72 | + database_bucket: "your-database-bucket-name" |
| 73 | + builder_bucket: "your-builder-bucket-name" |
| 74 | + |
| 75 | +swift: |
| 76 | + username: "Your OpenStack Swift Username" |
| 77 | + password: "Your OpenStack Swift Password" |
| 78 | + authurl: "Swift auth URL for obtaining an auth token" |
| 79 | + # Your OpenStack tenant name if you are using auth version 2 or 3. |
| 80 | + tenant: "" |
| 81 | + authversion: "Your OpenStack swift auth version" |
| 82 | + registry_container: "your-registry-container-name" |
| 83 | + database_container: "your-database-container-name" |
| 84 | + builder_container: "your-builder-container-name" |
| 85 | + |
| 86 | +# Set the default (global) way of how Application (your own) images are |
| 87 | +# pulled from within the Controller. |
| 88 | +# This can be configured per Application as well in the Controller. |
| 89 | +# |
| 90 | +# This affects pull apps and git push (slugrunner images) apps |
| 91 | +# |
| 92 | +# Values values are: |
| 93 | +# - Always |
| 94 | +# - IfNotPresent |
| 95 | +controller: |
| 96 | + app_pull_policy: "IfNotPresent" |
| 97 | + |
| 98 | +database: |
| 99 | + # Configure the following ONLY if using an off-cluster PostgreSQL database |
| 100 | + postgres: |
| 101 | + name: "database name" |
| 102 | + username: "database username" |
| 103 | + password: "database password" |
| 104 | + host: "database host" |
| 105 | + port: "database port" |
| 106 | + |
| 107 | +logger: |
| 108 | + redis: |
| 109 | + # Configure the following ONLY if using an off-cluster Redis instance for logger |
| 110 | + db: "0" |
| 111 | + host: "redis host" |
| 112 | + port: "redis port" |
| 113 | + password: "redis password" # "" == no password |
| 114 | + |
| 115 | +monitor: |
| 116 | + grafana: |
| 117 | + user: "admin" |
| 118 | + password: "admin" |
| 119 | + |
| 120 | +registry-token-refresher: |
| 121 | + # Time in minutes after which the token should be refreshed. |
| 122 | + # Leave it empty to use the default provider time. |
| 123 | + token_refresh_time: "" |
| 124 | + off_cluster_registry: |
| 125 | + hostname: "" |
| 126 | + organization: "" |
| 127 | + username: "" |
| 128 | + password: "" |
| 129 | + ecr: |
| 130 | + # Your AWS access key. Leave it empty if you want to use IAM credentials. |
| 131 | + accesskey: "" |
| 132 | + # Your AWS secret key. Leave it empty if you want to use IAM credentials. |
| 133 | + secretkey: "" |
| 134 | + # Any S3 region |
| 135 | + region: "us-west-2" |
| 136 | + registryid: "" |
| 137 | + hostname: "" |
| 138 | + gcr: |
| 139 | + key_json: 'Paste JSON data here.' |
| 140 | + hostname: "" |
| 141 | + |
| 142 | +router: |
| 143 | + dhparam: "" |
0 commit comments