apiVersion: v1 kind: ConfigMap metadata: namespace: {{ .Release.Namespace }} name: {{ .Release.Name }}-live-op-config labels: app: live-op chart: {{ .Chart.Name }}-{{ .Chart.Version }} release: {{ .Release.Name }} data: application.yaml: | debug: false server: port: {{ .Values.liveOp.port }} spring: web: resources: static-locations: classpath:/static/ main: allow-bean-definition-overriding: true allow-circular-references: true application: name: cmii-live-operator thymeleaf: check-template-location: false cache: false platform: info: name: cmii-live-operator description: cmii-live-operator version: 5.8.0 scanPackage: com.cmii.live.op jackson: time-zone: GMT+8 mvc: pathmatch: matching-strategy: ANT_PATH_MATCHER datasource: driver-class-name: com.mysql.cj.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource url: jdbc:mysql://{{ .Values.external.database.host }}:{{ .Values.external.database.port }}/{{ .Values.databases.liveOp }}?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true username: {{ .Values.external.database.username }} password: {{ .Values.external.database.password }} druid: initial-size: 10 min-idle: 5 max-active: 20 max-wait: 60000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 validation-query: SELECT 1 test-while-idle: true test-on-borrow: false test-on-return: false use-ping-method: false keep-alive: true redis: host: {{ .Values.external.redis.host }} port: {{ .Values.external.redis.port }} database: {{ .Values.redis.liveOpDb }} password: {{ .Values.external.redis.password }} live: sync: pool: monitor: enabled: false core: 10 max: 20 queue: 1 keepalive: 20 logging: config: classpath:logback-operator.xml level: root: info com.cmii.live.op.mapper: info mybatis-plus: global-config: banner: false knife4j: enable: true