timoth-y/kicksware-api

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

Summary

Maintainability
Test Coverage
project: kicksware
component: users
nameOverride: users-service
fullnameOverride: users-service
replicaCount: 2

image:
  registry: timothydockid
  repository: kicksware-user-service
  tag: latest
  pullPolicy: IfNotPresent

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:
        - /users
        - /auth
        - /mail
        - /interact
      middlewares: []
      services:
        - name: users-service
          port: 8080
          scheme: http
    - host: api.kicksware.com
      paths:
        - /health/users
      middlewares:
        - name: health-stripprefix
          namespace: infra
      services:
        - name: users-service
          port: 8080
          scheme: http
    - host: rpc.kicksware.com
      grpc: true
      paths:
        - /proto.UserService
        - /proto.AuthService
        - /proto.MailService
        - /proto.InteractService
      entrypoints:
        - web
        - websecure
      services:
        - name: users-service
          port: 8080
          scheme: h2c

volumes:
  - name: templates
    config:
      name: mail-service.templates
    mountPath: /root/templates

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

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

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

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

config:
  environment: k8s
  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