| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- # Default values for java-microservice
- # This is a YAML-formatted file with configuration values
- # Application configuration
- app:
- name: java-microservice
- replicaCount: 1
- # Docker image configuration
- image:
- repository: your-registry/java-app
- tag: "1.0.0"
- pullPolicy: IfNotPresent
- # Service configuration
- service:
- type: ClusterIP
- port: 8080
- targetPort: 8080
- # Application properties configuration
- config:
- # application.properties variables
- properties:
- spring.application.name: java-microservice
- spring.jpa.hibernate.ddl-auto: update
- spring.datasource.url: jdbc:mysql://localhost:3306/mydb
- spring.datasource.username: root
- spring.datasource.password: password
- server.port: "8080"
-
- # application.yml variables (as key-value pairs)
- yml:
- logging:
- level:
- root: INFO
- com:
- example: DEBUG
- management:
- endpoints:
- web:
- exposure:
- include: health,info,metrics
- endpoint:
- health:
- show-details: when-authorized
- # Resources configuration
- resources:
- limits:
- cpu: 500m
- memory: 512Mi
- requests:
- cpu: 250m
- memory: 256Mi
- # Pod configuration
- podAnnotations: {}
- # Security context
- securityContext: {}
- # Node selector
- nodeSelector: {}
- # Tolerations
- tolerations: []
- # Affinity
- affinity: {}
|