45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
dockerPullSecret: secret/data/lecoffrefront-stg/config/dockerpullsecret
|
|
|
|
namespace: lecoffre
|
|
|
|
lecoffrefront:
|
|
serviceAccountName: lecoffre-front-sa
|
|
command: "'sh', '-c', '. /vault/secrets/envs && npm run start'"
|
|
vault:
|
|
role : custom_lecoffre-front_injector_rol
|
|
server: https://vault-stg.smart-chain.fr
|
|
annotations:
|
|
vault.hashicorp.com/agent-pre-populate-only: "true"
|
|
vault.hashicorp.com/agent-inject: "true"
|
|
vault.hashicorp.com/agent-inject-secret-envs: secret/data/lecoffre-front-stg/config/envs
|
|
vault.hashicorp.com/role: custom_lecoffre-front_injector_rol
|
|
vault.hashicorp.com/agent-inject-template-envs: |
|
|
{{ with secret "secret/data/lecoffre-front-stg/config/envs" }}
|
|
{{ range $k, $v := .Data.data }}
|
|
export {{ $k }}="{{ $v }}"
|
|
{{ end }}
|
|
{{ end }}
|
|
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: app-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"
|
|
|