49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: console
|
|
name: console
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: console
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.network/redpanda-owl-shop-redpanda-network: "true"
|
|
io.kompose.service: console
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- -c
|
|
- echo "$(CONSOLE_CONFIG_FILE)" > /tmp/config.yml; /app/console
|
|
command:
|
|
- /bin/sh
|
|
env:
|
|
- name: CONFIG_FILEPATH
|
|
value: /tmp/config.yml
|
|
- name: CONSOLE_CONFIG_FILE
|
|
value: |
|
|
kafka:
|
|
brokers: ["redpanda:29092"]
|
|
schemaRegistry:
|
|
enabled: true
|
|
urls: ["http://redpanda:8081"]
|
|
redpanda:
|
|
adminApi:
|
|
enabled: true
|
|
urls: ["http://redpanda:9644"]
|
|
connect:
|
|
enabled: true
|
|
clusters:
|
|
- name: local-connect-cluster
|
|
url: http://connect:8083
|
|
image: docker.redpanda.com/redpandadata/console:v2.2.4
|
|
name: console
|
|
ports:
|
|
- containerPort: 8080
|
|
restartPolicy: Always
|