Skip to content

Commit

Permalink
fix: use cnpg
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Nov 1, 2023
1 parent c280cb2 commit 8091e3d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 28 deletions.
8 changes: 0 additions & 8 deletions .kontinuous/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,3 @@ dependencies:
- name: ovh
ifEnv: [dev, preprod]
- name: buildkit-service
dependencies:
contrib:
preDeploy:
importSecrets:
options:
secrets:
monsuivipsy-dev-backups-access-key:
monsuivipsy-prod-backups-access-key:
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 8091e3d

Please sign in to comment.