aboutsummaryrefslogtreecommitdiff
path: root/61schemas.yml
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-08-01 07:35:06 +0200
committerStaffan Olsson <staffan@repos.se>2017-08-01 07:35:06 +0200
commit47910682edfadffccbf77b3f0b2722376dc37350 (patch)
tree7a2c12eb3d226fd6ee0997e19b214da68fed91aa /61schemas.yml
parent2d4401bc1fd90cc9af82599517d4a1df7a103ebb (diff)
downloadkubernetes-kafka-47910682edfadffccbf77b3f0b2722376dc37350.tar.gz
kubernetes-kafka-47910682edfadffccbf77b3f0b2722376dc37350.tar.bz2
kubernetes-kafka-47910682edfadffccbf77b3f0b2722376dc37350.zip
New image uses config files instead of env
Diffstat (limited to '61schemas.yml')
-rw-r--r--61schemas.yml19
1 files changed, 13 insertions, 6 deletions
diff --git a/61schemas.yml b/61schemas.yml
index 20d1868..8d098dd 100644
--- a/61schemas.yml
+++ b/61schemas.yml
@@ -11,14 +11,21 @@ spec:
app: schema-registry
spec:
containers:
- - name: cp-schema-registry
- image: confluentinc/cp-schema-registry@sha256:ac1eb34d9a60ce8904eb1bc01fd94bf1f6513924ca507734679d4b513133714c
+ - name: cp
+ image: solsson/kafka-cp@sha256:53075cf5877c1311516d5c78a4d52fd46d3d369514681e150f96bc06997fa0e4
env:
- - name: SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL
- value: zookeeper:2181
+ # what does this do?
- name: SCHEMA_REGISTRY_HOST_NAME
value: schemas
- - name: SCHEMA_REGISTRY_LISTENERS
- value: http://0.0.0.0:80
+ 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