Skip to content

Commit

Permalink
fix: add needs and ssl for pg
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Mar 28, 2024
1 parent e846136 commit 56e0de8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .kontinuous/env/dev/templates/strapi.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ metadata:
name: strapi-env
data:
STORAGE_URL: https://fcedev.blob.core.windows.net
DATABASE_SSL: "true"
DATABASE_SSL_SELF: "true"
FCE_SERVER_URL: "http://server:80"
2 changes: 0 additions & 2 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ strapi:
secretKeyRef:
key: user
name: pg-strapi-superuser
- name: DATABASE_SSL
value: "true"

n8n:
env:
Expand Down
5 changes: 3 additions & 2 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
strapi:
~needs: [build-strapi, pg-strapi]
env:
- name: DATABASE_NAME
valueFrom:
Expand All @@ -25,10 +26,9 @@ strapi:
secretKeyRef:
key: user
name: pg-strapi-superuser
- name: DATABASE_SSL
value: "true"

n8n:
~needs: [build-n8n, pg-n8n]
env:
- name: DB_POSTGRESDB_DATABASE
valueFrom:
Expand Down Expand Up @@ -82,6 +82,7 @@ n8n:
name: pg-superuser

server:
~needs: [build-server, pg]
env:
- name: PG_DB
valueFrom:
Expand Down
1 change: 1 addition & 0 deletions .kontinuous/env/prod/templates/strapi.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ metadata:
data:
STORAGE_URL: https://fceprod2.blob.core.windows.net/strapi
DATABASE_SSL: "true"
DATABASE_SSL_SELF: "true"
FCE_SERVER_URL: "http://server:80"
5 changes: 3 additions & 2 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
n8n:
~needs: [build-n8n, pg-n8n]
resources:
limits:
cpu: "4"
Expand Down Expand Up @@ -62,6 +63,7 @@ redis:
memory: 1Gi

server:
~needs: [build-server, pg]
resources:
limits:
cpu: "500m"
Expand Down Expand Up @@ -96,6 +98,7 @@ server:
value: "true"

strapi:
~needs: [build-strapi, pg-strapi]
resources:
limits:
cpu: "500m"
Expand Down Expand Up @@ -126,8 +129,6 @@ strapi:
secretKeyRef:
key: user
name: pg-strapi-superuser
- name: DATABASE_SSL
value: "true"

pg:
~chart: pg
Expand Down

0 comments on commit 56e0de8

Please sign in to comment.