values.yaml 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. # Microservice Platform - Umbrella Chart Configuration
  2. # This file contains global configuration for all microservices
  3. # Global configuration shared across all services
  4. global:
  5. # Global image configuration
  6. image:
  7. registry: your-registry
  8. pullPolicy: IfNotPresent
  9. # Global labels applied to all resources
  10. labels:
  11. platform: microservice-platform
  12. version: "1.0"
  13. # Global annotations
  14. annotations: {}
  15. # Base chart configuration (common templates and utilities)
  16. base:
  17. enabled: true
  18. # User Service Configuration
  19. user-service:
  20. enabled: true
  21. app:
  22. name: user-service
  23. replicaCount: 1
  24. image:
  25. repository: your-registry/user-service
  26. tag: "1.0.0"
  27. pullPolicy: IfNotPresent
  28. service:
  29. type: ClusterIP
  30. port: 8080
  31. targetPort: 8080
  32. resources:
  33. requests:
  34. cpu: 250m
  35. memory: 256Mi
  36. limits:
  37. cpu: 500m
  38. memory: 512Mi
  39. config:
  40. properties:
  41. spring.application.name: user-service
  42. spring.jpa.hibernate.ddl-auto: update
  43. spring.datasource.url: jdbc:mysql://mysql-service:3306/userdb
  44. spring.datasource.username: root
  45. spring.datasource.password: password
  46. server.port: "8080"
  47. yml:
  48. logging:
  49. level:
  50. root: INFO
  51. management:
  52. endpoints:
  53. web:
  54. exposure:
  55. include: health,info,metrics
  56. # Order Service Configuration
  57. order-service:
  58. enabled: true
  59. app:
  60. name: order-service
  61. replicaCount: 1
  62. image:
  63. repository: your-registry/order-service
  64. tag: "1.0.0"
  65. pullPolicy: IfNotPresent
  66. service:
  67. type: ClusterIP
  68. port: 8081
  69. targetPort: 8081
  70. resources:
  71. requests:
  72. cpu: 250m
  73. memory: 256Mi
  74. limits:
  75. cpu: 500m
  76. memory: 512Mi
  77. config:
  78. properties:
  79. spring.application.name: order-service
  80. spring.jpa.hibernate.ddl-auto: update
  81. spring.datasource.url: jdbc:mysql://mysql-service:3306/orderdb
  82. spring.datasource.username: root
  83. spring.datasource.password: password
  84. server.port: "8081"
  85. yml:
  86. logging:
  87. level:
  88. root: INFO
  89. management:
  90. endpoints:
  91. web:
  92. exposure:
  93. include: health,info,metrics
  94. # Payment Service Configuration
  95. payment-service:
  96. enabled: true
  97. app:
  98. name: payment-service
  99. replicaCount: 1
  100. image:
  101. repository: your-registry/payment-service
  102. tag: "1.0.0"
  103. pullPolicy: IfNotPresent
  104. service:
  105. type: ClusterIP
  106. port: 8082
  107. targetPort: 8082
  108. resources:
  109. requests:
  110. cpu: 250m
  111. memory: 256Mi
  112. limits:
  113. cpu: 500m
  114. memory: 512Mi
  115. config:
  116. properties:
  117. spring.application.name: payment-service
  118. spring.jpa.hibernate.ddl-auto: update
  119. spring.datasource.url: jdbc:mysql://mysql-service:3306/paymentdb
  120. spring.datasource.username: root
  121. spring.datasource.password: password
  122. server.port: "8082"
  123. yml:
  124. logging:
  125. level:
  126. root: INFO
  127. management:
  128. endpoints:
  129. web:
  130. exposure:
  131. include: health,info,metrics