From fe57b06cde1b411776af4085eff7855d9674d299 Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Tue, 5 Dec 2017 08:11:17 +0100 Subject: Maybe the CORS headers aren't necessary with PROXY=true ... env added to Landoop's services. However, I don't want to add these services in production because I don't understand the license, hence no manifests for them. --- confluent-rest/confluent-config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confluent-rest/confluent-config.yml b/confluent-rest/confluent-config.yml index 96e211c..1b4acbf 100644 --- a/confluent-rest/confluent-config.yml +++ b/confluent-rest/confluent-config.yml @@ -10,6 +10,10 @@ data: kafkastore.topic=_schemas debug=false + # https://github.com/Landoop/schema-registry-ui#prerequisites + access.control.allow.methods=GET,POST,PUT,OPTIONS + access.control.allow.origin=* + kafka-rest.properties: |- #id=kafka-rest-test-server listeners=http://0.0.0.0:80 -- cgit v1.2.3