apiVersion: v1
kind: ConfigMap
metadata:
  name: reservation-configs
  namespace: default
data:
  appsettings: |
    {      
      "ConnectionStrings": {
        "Redis": "{{ .Values.redis.svcName }}",
        "Reservation": "Server={{ .Values.mysql.svcName }};Database={{ .Values.mysql.db.name }};Uid={{ .Values.mysql.db.user }};Pwd={{ .Values.mysql.db.password }};"
      },
      "MpWechat":{
        "AppId": "xxxxxxxx",
        "AppSecret": "**********",
        "Token": "Reservation",
        "AESKey": "------------"
      },
      "AppSettings": {
        "DbType": "MySql",
        "WechatSubscribeReply": "",
        "SentryClientKey": "https://04ad3ad1e74b44a2a6fda72b517d1657:131cf95155564816bdbfcc2b7f7be62a@sentry.io/189603"
      },
      "Tencent": {
        "Captcha": {
          "AppId": "2062135016",
          "AppSecret": "0rmYRRJFzOfyUBi26ylSJjg**"
        }
      },
      "GoogleRecaptcha": {
        "SiteKey": "6Lc-vz0UAAAAAG38zeZKM7_pQL5k4Z7FpnrtU_3A",
        "Secret": "6Lc-vz0UAAAAAEOFBcj_2WeoGjnSBf5lmh4j5DH9"
      },
      "Logging": {
        "LogLevel": {
          "Default": "Warning",
          "OpenReservation": "Debug",
          "RequestLog": "Debug"
        }
      }
    }