# =============================================
# Print Service Helm Values
# =============================================

replicaCount: 1

image:
  repository: erp-java-backend/print-service
  tag: "1.0.0"
  pullPolicy: IfNotPresent

service:
  type: ClusterIP
  port: 8089

ingress:
  enabled: true
  className: "nginx"
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
  hosts:
    - host: print-service.erp.local
      paths:
        - path: /
          pathType: Prefix

resources:
  limits:
    cpu: 1000m
    memory: 1Gi
  requests:
    cpu: 200m
    memory: 512Mi

env:
  SPRING_PROFILES_ACTIVE: dev
  DB_HOST: "111.229.80.149"
  DB_PORT: "3306"
  DB_NAME: "erp_db"
  DB_USER: "root"
  DB_PASSWORD: "nihao588+"
  REDIS_HOST: "111.229.80.149"
  REDIS_PORT: "6379"
  REDIS_PASSWORD: "Y(@r5tGk9$Lp2"
  NACOS_HOST: "111.229.80.149"
  NACOS_PORT: "8848"
  NACOS_NAMESPACE: "public"

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 3
  targetCPUUtilizationPercentage: 80

nodeSelector: {}

tolerations: []

affinity: {}
