configmap-payment-service.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {{- if .Values.paymentService.enabled }}
  2. apiVersion: v1
  3. kind: ConfigMap
  4. metadata:
  5. name: {{ include "shop-recycle.fullname" . }}-payment-service-config
  6. labels:
  7. app: {{ include "shop-recycle.fullname" . }}-payment-service
  8. {{- include "shop-recycle.labels" . | nindent 4 }}
  9. namespace: {{ .Release.Namespace }}
  10. data:
  11. application.yml: |
  12. spring:
  13. main:
  14. web-application-type: servlet
  15. application:
  16. name: shop-recycle-payment-service
  17. cloud:
  18. compatibility-verifier:
  19. enabled: false
  20. eureka:
  21. client:
  22. enabled: false
  23. server:
  24. port: {{ .Values.paymentService.service.port }}
  25. management:
  26. endpoints:
  27. web:
  28. exposure:
  29. include: health,info,metrics
  30. metrics:
  31. export:
  32. prometheus:
  33. enabled: true
  34. endpoint:
  35. health:
  36. show-details: when-authorized
  37. logging:
  38. level:
  39. root: INFO
  40. com.shop.recycle: DEBUG
  41. pattern:
  42. console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
  43. {{- end }}