@@ -24,20 +24,17 @@ modules:
2424 procCommand : celery-prometheus-exporter --broker amqp://$RABBITMQ_USER:$RABBITMQ_PASSWORD@$RABBITMQ_HOST:$RABBITMQ_PORT/$RABBITMQ_VHOST --addr 0.0.0.0:5001 --queue-list plugin_schedule plugin_callback schedule_delete
2525 configuration :
2626 env :
27- - name : PYTHONPATH
28- value : /app
29- description : 将项目根目录添加到Python路径,使Python能直接引用本地的bk_plugin_runtime和bk_plugin_framework
3027 - name : PIP_VERSION
3128 value : 21.2.2
3229 description : pip version control
3330 - name : BK_APIGW_MANAGER_URL_TMPL
34- value : http://{api_name}.apigw.o.woa.com
31+ value : {{cookiecutter.apigw_manager_url_tmpl}}
3532 description : pip version control
3633 - name : BK_APIGW_MANAGER_MAINTAINERS
37- value : simonyi
34+ value : {{cookiecutter.init_apigw_maintainer}}
3835 description : plugin apigw managers
3936 - name : BK_INIT_SUPERUSER
40- value : simonyi
37+ value : {{cookiecutter.init_admin}}
4138 description : plugin admin panel init superuser
4239 - name : BK_SOPS_APP_CODE
4340 value : bksops
@@ -49,14 +46,14 @@ modules:
4946 value : bk_plugin_runtime.config
5047 description : blueapps config path
5148 - name : BK_APIGW_CORS_ALLOW_ORIGINS
52- value : ' '
49+ value : {{cookiecutter.apigw_cors_allow_origins}}
5350 description : apigw cors strategie allow origins
5451 - name : BK_APIGW_CORS_ALLOW_METHODS
55- value : GET,POST,PUT,PATCH,HEAD,DELETE,OPTIONS
52+ value : {{cookiecutter.apigw_cors_allow_methods}}
5653 description : apigw cors strategie allow methods
5754 - name : BK_APIGW_CORS_ALLOW_HEADERS
58- value : Accept,Cache-Control,Content-Type,Keep-Alive,Origin,User-Agent,X-Requested-With
55+ value : {{cookiecutter.apigw_cors_allow_headers}}
5956 description : apigw cors strategie allow headers
6057 - name : BK_APIGW_DEFAULT_TIMEOUT
61- value : 60
62- description : apigw default timeout
58+ value : {{cookiecutter.bk_apigw_default_timeout}}
59+ description : apigw default timeout
0 commit comments