values.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. # Default values for java-microservice
  2. # This is a YAML-formatted file with configuration values
  3. # Application configuration
  4. app:
  5. name: java-microservice
  6. replicaCount: 1
  7. # Docker image configuration
  8. image:
  9. repository: your-registry/java-app
  10. tag: "1.0.0"
  11. pullPolicy: IfNotPresent
  12. # Service configuration
  13. service:
  14. type: ClusterIP
  15. port: 8080
  16. targetPort: 8080
  17. # Application properties configuration
  18. config:
  19. # application.properties variables
  20. properties:
  21. spring.application.name: java-microservice
  22. spring.jpa.hibernate.ddl-auto: update
  23. spring.datasource.url: jdbc:mysql://localhost:3306/mydb
  24. spring.datasource.username: root
  25. spring.datasource.password: password
  26. server.port: "8080"
  27. # application.yml variables (as key-value pairs)
  28. yml:
  29. logging:
  30. level:
  31. root: INFO
  32. com:
  33. example: DEBUG
  34. management:
  35. endpoints:
  36. web:
  37. exposure:
  38. include: health,info,metrics
  39. endpoint:
  40. health:
  41. show-details: when-authorized
  42. # Resources configuration
  43. resources:
  44. limits:
  45. cpu: 500m
  46. memory: 512Mi
  47. requests:
  48. cpu: 250m
  49. memory: 256Mi
  50. # Pod configuration
  51. podAnnotations: {}
  52. # Security context
  53. securityContext: {}
  54. # Node selector
  55. nodeSelector: {}
  56. # Tolerations
  57. tolerations: []
  58. # Affinity
  59. affinity: {}