mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-10 04:31:50 +01:00
0227a1315a
append chart server related config options to the supporting list of adminserver provide chart server related config access method in the API layer update prepare script and ui env template file to enable cache driver config for chart server API append flag info in the systeminfo API to indicate if chart server is deployed with Harbor refactor the response rewriting logic to return structual error object add api init method to initilizing objects required in API handlers chage owner of the storage folder update offline/online package scripts in Harbor-Util.robot
42 lines
932 B
Plaintext
42 lines
932 B
Plaintext
## Settings should be set
|
|
PORT=9999
|
|
|
|
# Only support redis now. If redis is setup, then enable cache
|
|
CACHE=$cache_store
|
|
CACHE_REDIS_ADDR=$cache_redis_addr
|
|
CACHE_REDIS_PASSWORD=$cache_redis_password
|
|
CACHE_REDIS_DB=$cache_redis_db_index
|
|
|
|
# Credential for internal communication
|
|
BASIC_AUTH_USER=chart_controller
|
|
BASIC_AUTH_PASS=$ui_secret
|
|
|
|
# Multiple tenants
|
|
# Must be set with 1 to support project namespace
|
|
DEPTH=1
|
|
|
|
# Backend storage driver: e.g. "local", "amazon", "google" etc.
|
|
STORAGE=$storage_driver
|
|
|
|
# Storage driver settings
|
|
$all_storage_driver_configs
|
|
|
|
## Settings with default values. Just put here for future changes
|
|
DEBUG=false
|
|
LOG_JSON=true
|
|
DISABLE_METRICS=false
|
|
DISABLE_API=false
|
|
DISABLE_STATEFILES=false
|
|
ALLOW_OVERWRITE=false
|
|
CHART_URL=
|
|
AUTH_ANONYMOUS_GET=false
|
|
TLS_CERT=
|
|
TLS_KEY=
|
|
CONTEXT_PATH=
|
|
INDEX_LIMIT=0
|
|
MAX_STORAGE_OBJECTS=0
|
|
MAX_UPLOAD_SIZE=20971520
|
|
CHART_POST_FORM_FIELD_NAME=chart
|
|
PROV_POST_FORM_FIELD_NAME=prov
|
|
|