From 29a3adc4e968f5fe401427167bcebc370c87644b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=A9o=20M=C3=A9vollon?= Date: Fri, 14 Jun 2024 19:02:35 +0200 Subject: [PATCH] fix: strapi prod --- .kontinuous/env/prod/values.yaml | 16 ++++++---------- .kontinuous/values.yaml | 2 +- package.json | 6 ++++++ 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 package.json diff --git a/.kontinuous/env/prod/values.yaml b/.kontinuous/env/prod/values.yaml index 9c8655c..b4db7ef 100644 --- a/.kontinuous/env/prod/values.yaml +++ b/.kontinuous/env/prod/values.yaml @@ -1,10 +1,6 @@ -app: - autoscale: - enabled: true - host: ozensemble.fabrique.social.gouv.fr - redirectFrom: - - www.ozensemble.fr - - ozensemble.fr - envFrom: - - secretRef: - name: "api" +api: + addVolumes: + - uploads + volumeMounts: + - mountPath: /app/public/uploads + name: uploads diff --git a/.kontinuous/values.yaml b/.kontinuous/values.yaml index 9ba499f..0b38795 100644 --- a/.kontinuous/values.yaml +++ b/.kontinuous/values.yaml @@ -3,7 +3,7 @@ next-app: ~needs: ["build-next-app"] imagePackage: next-app probesPath: / - host: "{{ .Values.global.host }}" + host: "ozensemble.fabrique.social.gouv.fr" envFrom: - secretRef: name: api diff --git a/package.json b/package.json new file mode 100644 index 0000000..1a960b8 --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "name": "ozensemble-site", + "version": "1.8.0", + "license": "MIT", + "private": true +}