Skip to content

Commit

Permalink
fix: add prod cnpg (#243)
Browse files Browse the repository at this point in the history
* fix: use cnpg

* Update config.yaml
  • Loading branch information
Julien Bouquillon authored Nov 22, 2023
1 parent c280cb2 commit 7431719
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 20 deletions.
10 changes: 0 additions & 10 deletions .kontinuous/env/dev/values.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
pg:
~chart: pg

app:
host: "api-monsuivipsy-preprod.ovh.fabrique.social.gouv.fr"
needs: [build-app, pg]
envFrom:
- secretRef:
name: "pg-app"
- secretRef:
name: api
5 changes: 5 additions & 0 deletions .kontinuous/env/prod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
app:
host: "api-monsuivipsy.fabrique.social.gouv.fr"
envFrom:
- secretRef:
name: "{{ .Values.global.pgSecretName }}" # to replace after CNPG migration
- secretRef:
name: api
9 changes: 8 additions & 1 deletion .kontinuous/values.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
app:
~chart: app
probesPath: "/healthz"
~needs: [pg, build-app]
containerPort: 3000
envFrom:
- secretRef:
name: "{{ .Values.global.pgSecretName }}"
name: pg-app
- secretRef:
name: api

pg:
~chart: pg

jobs:
runs:
build-app:
use: build
with:
context: api

0 comments on commit 7431719

Please sign in to comment.