apiVersion: v1 kind: ConfigMap metadata: namespace: {{ .Release.Namespace }} name: {{ .Release.Name }}-wvp-config labels: app: wvp chart: {{ .Chart.Name }}-{{ .Chart.Version }} release: {{ .Release.Name }} data: application.yaml: | spring: cache: type: redis thymeleaf: cache: false mvc: async: request-timeout: 20000 servlet: multipart: max-file-size: 10MB max-request-size: 100MB data: redis: host: {{ .Values.external.redis.host }} port: {{ .Values.external.redis.port }} database: {{ .Values.redis.wvpDb }} password: {{ .Values.external.redis.password }} timeout: 10000 datasource: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://{{ .Values.external.database.host }}:{{ .Values.external.database.port }}/{{ .Values.databases.wvp }}?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true username: {{ .Values.external.database.username }} password: {{ .Values.external.database.password }} server: port: {{ .Values.wvp.ports.http }} ssl: enabled: false sip: ip: ${NODE_IP} show-ip: ${NODE_IP} port: {{ .Values.wvp.ports.sip }} domain: {{ .Values.wvp.sip.domain }} id: "{{ .Values.wvp.sip.id }}" password: {{ .Values.zlm.apiPasswd }} register-time-interval: 60 ptz-speed: 50 keepalliveToOnline: true alarm: true timeout: 1000 media: id: {{ .Values.zlm.nodeId }} ip: 127.0.0.1 http-port: {{ .Values.zlm.ports.http }} http-ssl-port: 0 flv-port: {{ .Values.zlm.ports.http }} flv-ssl-port: {{ .Values.zlm.ports.https }} ws-flv-port: {{ .Values.zlm.ports.http }} ws-flv-ssl-port: {{ .Values.zlm.ports.https }} rtp-proxy-port: {{ .Values.zlm.ports.http }} rtmp-port: {{ .Values.zlm.ports.https }} rtmp-ssl-port: 0 rtsp-port: {{ .Values.zlm.ports.rtsp }} rtsp-ssl-port: 0 auto-config: false secret: {{ .Values.zlm.apiPasswd }} rtp: enable: true port-range: {{ .Values.zlm.ports.rtpMin }},{{ .Values.zlm.ports.rtpMax }} send-port-range: 30800,30990 record-path: /opt/media/bin/www/record/ record-day: 7 record-assist-port: 0 user-settings: auto-apply-play: true play-timeout: 30000 wait-track: false record-push-live: false record-sip: true stream-on-demand: true interface-authentication: true broadcast-for-platform: TCP-PASSIVE push-stream-after-ack: true send-to-platforms-when-id-lost: true interface-authentication-excludes: - /api/** push-authority: true logging: config: classpath:logback-spring.xml