Skip to content

Commit eb31f2b

Browse files
authored
chore(charon): use argoCD charon (#575)
1 parent 4534928 commit eb31f2b

File tree

4 files changed

+2
-41
lines changed

4 files changed

+2
-41
lines changed

.kontinuous/env/preprod/templates/charon.configmap.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.kontinuous/env/preprod/templates/charon.sealed-secret.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
11
app:
22
vars:
33
ENV: preprod
4-
5-
charon:
6-
~chart: app
7-
image: lsagetlethias/charon:latest
8-
probesPath: /healthz
9-
host: "charon-{{ .Values.global.host }}"
10-
envFrom:
11-
- secretRef:
12-
name: "charon"
13-
- configMapRef:
14-
name: "charon-config"
15-
vars:
16-
CHARON_PUBLIC_HOST: "https://charon-{{ .Values.global.host }}"
17-
DEBUG: "charon:*"
18-
CHARON_PORT: "3000"

src/pages/api/auth/[...nextauth].ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ const providers =
6262
clientSecret: GITHUB_SECRET,
6363
...(ENV !== "prod" && {
6464
authorization: {
65-
url: "https://charon-secretariat-preprod.ovh.fabrique.social.gouv.fr/github/login/oauth/authorize",
65+
url: "https://charon-secretariat.ovh.fabrique.social.gouv.fr/github/login/oauth/authorize",
6666
},
6767
token:
68-
"https://charon-secretariat-preprod.ovh.fabrique.social.gouv.fr/github/login/oauth/access_token",
68+
"https://charon-secretariat.ovh.fabrique.social.gouv.fr/github/login/oauth/access_token",
6969
}),
7070
profile: (profile) => {
7171
return {

0 commit comments

Comments
 (0)