35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
dockerPullSecret: docker-pull-secret
|
|
|
|
scwSecretKey: 59bcf27d-bee3-4d14-8b4d-03fd6a8be6cd
|
|
|
|
lecoffreFront:
|
|
serviceAccountName: lecoffre-front-sa
|
|
envSecrets: stg-env
|
|
command: "'sh', '-c', 'export $(xargs </etc/env/.env) && npm run start'"
|
|
imagePullSecrets:
|
|
- name: docker-pull-secret
|
|
image:
|
|
pullPolicy: Always
|
|
repository: "rg.fr-par.scw.cloud/lecoffre/front"
|
|
resources:
|
|
requests:
|
|
cpu: 200m
|
|
memory: 1Gi
|
|
limits:
|
|
memory: 2Gi
|
|
ingress:
|
|
host: app.stg.lecoffre.smart-chain.fr
|
|
tls:
|
|
hosts:
|
|
- app.stg.lecoffre.smart-chain.fr
|
|
secretName: front-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"
|
|
# key is name of the environment variable, scwID is the secret ID in SCW with "id:" in front
|
|
env:
|
|
- key: .env
|
|
scwID: "id:2be9510b-bb1f-4fbe-ab3e-3dc11fb49051"
|