Skip to content

Commit

Permalink
fix: add env templates values
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Mar 27, 2024
1 parent a490c2c commit c1a7473
Show file tree
Hide file tree
Showing 4 changed files with 340 additions and 116 deletions.
103 changes: 103 additions & 0 deletions .kontinuous/env/dev/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
strapi:
env:
- name: DATABASE_NAME
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-strapi-app
- name: DATABASE_HOST
value: pg-strapi-rw.fce-preprod.svc
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-strapi-superuser
- name: DATABASE_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-strapi-superuser
- name: DATABASE_USERNAME
valueFrom:
secretKeyRef:
key: user
name: pg-strapi-superuser
- name: DATABASE_SSL
value: "true"

n8n:
env:
- name: DB_POSTGRESDB_DATABASE
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-n8n-app
- name: DB_POSTGRESDB_HOST
value: pg-n8n-rw.fce-preprod.svc
- name: DB_POSTGRESDB_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-n8n-superuser
- name: DB_POSTGRESDB_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-n8n-superuser
- name: DB_POSTGRESDB_USER
valueFrom:
secretKeyRef:
key: user
name: pg-n8n-superuser
- name: PG_DATABASE
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-app
- name: PG_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-superuser
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-superuser
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-superuser
- name: PG_USERNAME
valueFrom:
secretKeyRef:
key: user
name: pg-superuser

server:
env:
- name: PG_DB
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-app
- name: PG_HOST
value: pg-rw.fce-preprod.svc
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-superuser
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-superuser
- name: PG_USER
valueFrom:
secretKeyRef:
key: user
name: pg-superuser
- name: PG_SSL_SELF_SIGNED
value: "true"
121 changes: 121 additions & 0 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
strapi:
env:
- name: DATABASE_NAME
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-strapi-app
- name: DATABASE_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-strapi-superuser
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-strapi-superuser
- name: DATABASE_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-strapi-superuser
- name: DATABASE_USERNAME
valueFrom:
secretKeyRef:
key: user
name: pg-strapi-superuser
- name: DATABASE_SSL
value: "true"

n8n:
env:
- name: DB_POSTGRESDB_DATABASE
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-n8n-app
- name: DB_POSTGRESDB_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-n8n-superuser
- name: DB_POSTGRESDB_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-n8n-superuser
- name: DB_POSTGRESDB_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-n8n-superuser
- name: DB_POSTGRESDB_USER
valueFrom:
secretKeyRef:
key: user
name: pg-n8n-superuser
- name: PG_DATABASE
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-app
- name: PG_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-superuser
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-superuser
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-superuser
- name: PG_USERNAME
valueFrom:
secretKeyRef:
key: user
name: pg-superuser

server:
env:
- name: PG_DB
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-app
- name: PG_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-superuser
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-superuser
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-superuser
- name: PG_USER
valueFrom:
secretKeyRef:
key: user
name: pg-superuser
- name: PG_SSL_SELF_SIGNED
value: "true"

pg:
~chart: pg

pg-n8n:
~chart: pg

pg-strapi:
~chart: pg
116 changes: 116 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,57 @@ n8n:
limits:
cpu: "4"
memory: 1280Mi
env:
- name: DB_POSTGRESDB_DATABASE
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-n8n-app
- name: DB_POSTGRESDB_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-n8n-superuser
- name: DB_POSTGRESDB_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-n8n-superuser
- name: DB_POSTGRESDB_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-n8n-superuser
- name: DB_POSTGRESDB_USER
valueFrom:
secretKeyRef:
key: user
name: pg-n8n-superuser
- name: PG_DATABASE
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-app
- name: PG_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-superuser
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-superuser
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-superuser
- name: PG_USERNAME
valueFrom:
secretKeyRef:
key: user
name: pg-superuser

redis:
resources:
Expand All @@ -15,9 +66,74 @@ server:
limits:
cpu: "500m"
memory: 1280Mi
env:
- name: PG_DB
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-app
- name: PG_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-superuser
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-superuser
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-superuser
- name: PG_USER
valueFrom:
secretKeyRef:
key: user
name: pg-superuser
- name: PG_SSL_SELF_SIGNED
value: "true"

strapi:
resources:
limits:
cpu: "500m"
memory: 512Mi
env:
- name: DATABASE_NAME
valueFrom:
secretKeyRef:
key: PGDATABASE
name: pg-strapi-app
- name: DATABASE_HOST
valueFrom:
secretKeyRef:
key: host
name: pg-strapi-superuser
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: pg-strapi-superuser
- name: DATABASE_PORT
valueFrom:
secretKeyRef:
key: port
name: pg-strapi-superuser
- name: DATABASE_USERNAME
valueFrom:
secretKeyRef:
key: user
name: pg-strapi-superuser
- name: DATABASE_SSL
value: "true"

pg:
~chart: pg

pg-n8n:
~chart: pg

pg-strapi:
~chart: pg
Loading

0 comments on commit c1a7473

Please sign in to comment.