apiVersion: v1
kind: ConfigMap
metadata:
  name: canal-admin-configmap
  namespace: canal
data:
  application.yml: |-
    server:
      port: 8089
    logging:
      level:
        org:
          springframework: debug
    spring:
      jackson:
        date-format: yyyy-MM-dd HH:mm:ss
        time-zone: GMT+8

    spring.datasource:
      address: mysql-server.dbaas:3306
      database: canal_manager
      username: root
      password: root_password
      driver-class-name: com.mysql.jdbc.Driver
      url: jdbc:mysql://${spring.datasource.address}/${spring.datasource.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false
      hikari:
        maximum-pool-size: 30
        minimum-idle: 1

    canal:
      adminUser: admin
      adminPasswd: admin
