aboutsummaryrefslogtreecommitdiff
path: root/61schemas.yml
diff options
context:
space:
mode:
authorsolsson <solsson@gmail.com>2017-08-01 14:39:30 +0200
committerGitHub <noreply@github.com>2017-08-01 14:39:30 +0200
commit7b4cfb48d0fe25a3c76d6d183a826ec8868d70b7 (patch)
tree05d684f8f601fee5f61ed0bace1c1433b9999cd3 /61schemas.yml
parent713743ec4469dd40b63344fe7b3d81f6dce5a643 (diff)
parentac5c75a977c796313dc5f84831aa50529457be38 (diff)
downloadkubernetes-kafka-7b4cfb48d0fe25a3c76d6d183a826ec8868d70b7.tar.gz
kubernetes-kafka-7b4cfb48d0fe25a3c76d6d183a826ec8868d70b7.tar.bz2
kubernetes-kafka-7b4cfb48d0fe25a3c76d6d183a826ec8868d70b7.zip
Merge pull request #54 from Yolean/addon-rest-new-build
Use config files and kafka-jre based build for Confluent Platform services
Diffstat (limited to '61schemas.yml')
-rw-r--r--61schemas.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/61schemas.yml b/61schemas.yml
index 20d1868..f85d74c 100644
--- a/61schemas.yml
+++ b/61schemas.yml
@@ -11,14 +11,20 @@ spec:
app: schema-registry
spec:
containers:
- - name: cp-schema-registry
- image: confluentinc/cp-schema-registry@sha256:ac1eb34d9a60ce8904eb1bc01fd94bf1f6513924ca507734679d4b513133714c
+ - name: cp
+ image: solsson/kafka-cp@sha256:a22047b9e8bf4b8badfd2fbba47f2d1acdcbb84dfb03c61a15e1ac203036cedf
env:
- - name: SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL
- value: zookeeper:2181
- - name: SCHEMA_REGISTRY_HOST_NAME
- value: schemas
- - name: SCHEMA_REGISTRY_LISTENERS
- value: http://0.0.0.0:80
+ - name: SCHEMA_REGISTRY_LOG4J_OPTS
+ value: -Dlog4j.configuration=file:/etc/schema-registry/log4j.properties
+ command:
+ - schema-registry-start
+ - /etc/schema-registry/schema-registry.properties
ports:
- containerPort: 80
+ volumeMounts:
+ - name: config
+ mountPath: /etc/schema-registry
+ volumes:
+ - name: config
+ configMap:
+ name: confluent-config