2023-04-03 17:18:56 +02:00

59 lines
1.3 KiB
YAML

global:
nameOverride: ""
fullnameOverride: ""
namespaceOverride: ""
api:
replicas: 1
image:
repository: rg.fr-par.scw.cloud/lecoffre/api
tag: 0.1.0
pullPolicy: Always
service:
ports:
http: 8000
ingress:
host: api.lecoffre.smart-chain.fr
tls:
hosts:
- api.stg.lecoffre.smart-chain.fr
secretName: api-tls
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/from-to-www-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
env:
DATABASE_HOSTNAME: "localhost"
DATABASE_PORT: "59445"
DATABASE_USER: "postgres"
DATABASE_PASSWORD: "0000"
DATABASE_NAME: "postgres"
POSTGRES_PASSWORD: "0000"
APP_LABEL: "lecoffre"
APP_PORT: 3001
API_ROOT_URL: /api
resources:
limits: {}
requests:
cpu: 100m
memory: 256Mi
livenessProbe:
enabled: true
path: /health
port: 8001
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
readinessProbe:
enabled: true
path: /health
port: 8001
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1