diff --git a/charts/strapi/Chart.yaml b/charts/strapi/Chart.yaml index a354ee4..a0be03d 100644 --- a/charts/strapi/Chart.yaml +++ b/charts/strapi/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.4 +version: 0.2.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/strapi/templates/deployment.yaml b/charts/strapi/templates/deployment.yaml index b472c39..041c7da 100644 --- a/charts/strapi/templates/deployment.yaml +++ b/charts/strapi/templates/deployment.yaml @@ -140,6 +140,8 @@ spec: resources: {{- toYaml .Values.resources | nindent 12 }} env: + - name: DATABASE_URL + value: {{ include "strapi.internalDatabaseUrlReplica" . | quote }} - name: STRAPI_API_URL value: {{ lower .Values.strapiApiUrl | quote }} - name: DATABASE_RUN_MIGRATIONS