# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: apps/v1
kind: Deployment
metadata:
  name: mysql-debezium
spec:
  replicas: 1
  selector:
    matchLabels:
      app: mysql-debezium
  template:
    metadata:
      labels:
        app: mysql-debezium
    spec:
      containers:
      - env:
        - name: MYSQL_ROOT_PASSWORD
          value: "debezium"
        - name: MYSQL_PASSWORD
          value: "mysqlpw"
        - name: MYSQL_USER
          value: "mysqluser"
        image: debezium/example-mysql:1.0
        imagePullPolicy: IfNotPresent
        name: mysql-debezium
        ports:
        - containerPort: 3306
          protocol: TCP
