| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- {{- 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: reactive
- application:
- name: shop-recycle-payment-service
- cloud:
- compatibility-verifier:
- enabled: false
- discovery:
- enabled: false
- service-registry:
- auto-registration:
- enabled: false
- eureka:
- client:
- enabled: false
- instance:
- prefer-ip-address: 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 }}
|