configmap-order-service.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {{- if .Values.orderService.enabled }}
  2. apiVersion: v1
  3. kind: ConfigMap
  4. metadata:
  5. name: {{ include "shop-recycle.fullname" . }}-order-service-config
  6. labels:
  7. app: {{ include "shop-recycle.fullname" . }}-order-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: reactive
  15. application:
  16. name: shop-recycle-order-service
  17. cloud:
  18. compatibility-verifier:
  19. enabled: false
  20. discovery:
  21. enabled: false
  22. service-registry:
  23. auto-registration:
  24. enabled: false
  25. eureka:
  26. client:
  27. enabled: false
  28. instance:
  29. prefer-ip-address: false
  30. server:
  31. port: {{ .Values.orderService.service.port }}
  32. management:
  33. endpoints:
  34. web:
  35. exposure:
  36. include: health,info,metrics
  37. metrics:
  38. export:
  39. prometheus:
  40. enabled: true
  41. endpoint:
  42. health:
  43. show-details: when-authorized
  44. logging:
  45. level:
  46. root: INFO
  47. com.shop.recycle: DEBUG
  48. pattern:
  49. console: "%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n"
  50. {{- end }}