apiVersion: v1
data:
  application-prod.yaml: |+
    spring:
      datasource:
        url: jdbc:mysql://hawk-mysql-headless:3306/{{ .Values.mysql.auth.database }}?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2B8
        username: root
        password: {{ .Values.mysql.auth.rootPassword }}
      redis:
        host: hawk-redis-headless
        password: {{ .Values.redis.password }}
    eureka:
      client:
        serviceUrl:
          defaultZone: http://default-eureka-server:8080/eureka
    trace:
        header-filter:
            requestKey: ":method,:path,:authority,x-envoy-peer-metadata-id,x-envoy-decorator-operation,x-request-id,x-envoy-attempt-count,x-forwarded-proto,:scheme,x-forwarded-client-cert,x-b3-sampled,:authority,x-ot-span-context,x-b3-flags,x-envoy-peer-metadata"
            responseKey: "date,x-envoy-peer-metadata,x-envoy-peer-metadata-id,x-envoy-upstream-service-time,x-envoy-decorator-operation"



kind: ConfigMap
metadata:
  name: hawk-traffic-config
