aboutsummaryrefslogtreecommitdiff
path: root/addon-cp/schemas.yml
diff options
context:
space:
mode:
Diffstat (limited to 'addon-cp/schemas.yml')
-rw-r--r--addon-cp/schemas.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/addon-cp/schemas.yml b/addon-cp/schemas.yml
new file mode 100644
index 0000000..f85d74c
--- /dev/null
+++ b/addon-cp/schemas.yml
@@ -0,0 +1,30 @@
+apiVersion: apps/v1beta1
+kind: Deployment
+metadata:
+ name: schemas
+ namespace: kafka
+spec:
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ app: schema-registry
+ spec:
+ containers:
+ - name: cp
+ image: solsson/kafka-cp@sha256:a22047b9e8bf4b8badfd2fbba47f2d1acdcbb84dfb03c61a15e1ac203036cedf
+ env:
+ - 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