dockerPullSecret: secret/data/minteed-stg/config/dockerpullsecret namespace: lecoffre lecoffreBack: serviceAccountName: lecoffre-back-sa command: "'sh', '-c', '. /vault/secrets/envs-api && npm start'" vault: role : custom_lecoffre-back_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-api: secret/data/lecoffre-back-stg/config/envs-api vault.hashicorp.com/role: custom_lecoffre-back_injector_rol vault.hashicorp.com/agent-inject-template-envs-api: | {{ with secret "secret/data/lecoffre-back-stg/config/envs-api" }} {{ 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/back" tag: 0.1.0 resources: requests: cpu: 200m memory: 1Gi limits: memory: 2Gi 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 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