Skip to content

Commit

Permalink
chore: clean preprod url management
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Nov 4, 2024
1 parent 1deb507 commit 81148b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .kontinuous/env/preprod/templates/obiz.cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
]
env:
- name: APP_API_URL
value: "https://cje-preprod.ovh.fabrique.social.gouv.fr/api/obizIntegration"
value: "https://{{ $.Values.global.host }}/api/obizIntegration"
envFrom:
- secretRef:
name: obiz-sealed-secret
Expand Down
6 changes: 4 additions & 2 deletions .kontinuous/env/preprod/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
app:
global:
host: "cje-preprod.ovh.fabrique.social.gouv.fr"

app:
envFrom:
- secretRef:
name: pg-app
Expand All @@ -19,7 +21,7 @@ jobs:
buildArgs:
NEXT_PUBLIC_JWT_NAME: cje-jwt-preprod
NEXT_PUBLIC_ENV_APP: preproduction
NEXT_PUBLIC_URL_APP: https://cje-preprod.ovh.fabrique.social.gouv.fr
NEXT_PUBLIC_URL_APP: https://{{ $.Values.global.host }}
NEXT_PUBLIC_CRISP_TOKEN: 53f1b086-7828-49de-abb4-0c6765d9ca13
NEXT_PUBLIC_MATOMO_TRACKING_ENABLED: "true"
NEXT_PUBLIC_MATOMO_URL: https://matomo.fabrique.social.gouv.fr/
Expand Down

0 comments on commit 81148b2

Please sign in to comment.