{{- if .Values.paymentService.enabled }} apiVersion: v1 kind: ConfigMap metadata: name: {{ include "shop-recycle.fullname" . }}-payment-service-config labels: app: {{ include "shop-recycle.fullname" . }}-payment-service {{- include "shop-recycle.labels" . | nindent 4 }} namespace: {{ .Release.Namespace }} data: application.yml: | spring: main: web-application-type: servlet application: name: shop-recycle-payment-service cloud: compatibility-verifier: enabled: false eureka: client: enabled: false server: port: {{ .Values.paymentService.service.port }} management: endpoints: web: exposure: include: health,info,metrics metrics: export: prometheus: enabled: true endpoint: health: show-details: when-authorized logging: level: root: INFO com.shop.recycle: DEBUG pattern: console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n" {{- end }}