diff --git a/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/data/api-definition.yml b/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/data/api-definition.yml index b970367..ead7ab9 100644 --- a/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/data/api-definition.yml +++ b/bk-plugin-framework/bk_plugin_framework/services/bpf_service/management/commands/data/api-definition.yml @@ -16,12 +16,12 @@ stage: plugin_configs: - type: bk-cors yaml: |- - allow_origins: {{ settings.BK_APIGW_CORS_ALLOW_ORIGINS }} - allow_methods: {{ settings.BK_APIGW_CORS_ALLOW_METHODS }} - allow_headers: {{ settings.BK_APIGW_CORS_ALLOW_HEADERS }} + allow_origins: '{{ settings.BK_APIGW_CORS_ALLOW_ORIGINS }}' + allow_methods: '{{ settings.BK_APIGW_CORS_ALLOW_METHODS }}' + allow_headers: '{{ settings.BK_APIGW_CORS_ALLOW_HEADERS }}' expose_headers: '' max_age: 86400 allow_credential: true release: - comment: "auto release by bk-plugin-runtime" \ No newline at end of file + comment: "auto release by bk-plugin-runtime"