timoth-y/kicksware-api

View on GitHub
services/products/products-chart/values.yaml

Summary

Maintainability
Test Coverage
project: kicksware
component: products
nameOverride: products-service
fullnameOverride: products-service

replicaCount: 1
image:
  registry: timothydockid
  repository: kicksware-product-service
  tag: latest
  pullPolicy: Always

service:
  type: ClusterIP
  port: 8080

ingress:
  enabled: true
  entrypoints:
    - web
    - websecure
  tls:
    enabled: true
    certResolver: le
    secretName: grpc-tls
  routes:
    - host: api.kicksware.com
      paths:
        - /products
      middlewares: []
      services:
        - name: products-service
          port: 8080
          scheme: http
    - host: api.kicksware.com
      paths:
        - /health/products
      middlewares:
        - name: health-stripprefix
          namespace: infra
      services:
        - name: products-service
          port: 8080
          scheme: http
    - host: rpc.kicksware.com
      grpc: true
      paths:
        - /proto.ProductService
      entrypoints:
        - web
        - websecure
      services:
        - name: products-service
          port: 8080
          scheme: h2c

resources:
  requests:
    cpu: 50m
    memory: 50Mi

autoscaling:
  enabled: true
  minReplicas: 1
  maxReplicas: 3
  targetCPUUtilization: 200

serviceAccount:
  create: true
  annotations: {}
  name: ""

secrets:
  dockerRegistry:
  mounts:
    - name: auth-keys
      mountPath: /root/keys/auth
    - name: grpc-tls
      mountPath: /root/certs/grpc

config:
  environment: PROD
  configMountPath: /root/env

environment:
  ENV: k8s
  CONFIG_PATH: env/config.yaml
  GODEBUG: x509ignoreCN=0
  ELASTIC_APM_SERVICE_NAME: apm-server
  ELASTIC_APM_SERVER_URL: http://apm.kicksware.com:80