Skip to content

Commit

Permalink
try to use correct URL for label in preprod (#52)
Browse files Browse the repository at this point in the history
* use correct host

* change label to lbl

---------

Co-authored-by: Antoine Jeanneney <[email protected]>
  • Loading branch information
ajeanneney and Antoine Jeanneney authored Nov 28, 2023
1 parent 38f8bcd commit 26a7c03
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .deploys/deploy_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ spec:
# port: label-backend-port
# middlewares:
# - name: label-backend-stripprefix
- match: Host(`juritj.judilibre-prive.local`) && PathPrefix(`/label`)
- match: Host(`lbl.judilibre-prive.local`) && PathPrefix(`/label`)
kind: Rule
services:
- name: label-client-service
port: label-client-port
- match: Host(`juritj.judilibre-prive.local`) && PathPrefix(`/label/api`)
- match: Host(`lbl.judilibre-prive.local`) && PathPrefix(`/label/api`)
kind: Rule
services:
- name: label-backend-service
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-publish-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
APP_ID: label-* # specific to backend or client
APP_GROUP: judilibre-prive
APP_HOST: label.judilibre-prive.local
APP_HOST: lbl.judilibre-prive.local
APP_PORT: 443
APP_SCHEME: https
APP_SELF_SIGNED: "true"
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
env:
APP_ID: label-* # specific to backend or client
APP_GROUP: judilibre-prive
APP_HOST: label.judilibre-prive.local
APP_HOST: lbl.judilibre-prive.local
APP_PORT: 443
APP_SCHEME: https
APP_SELF_SIGNED: "true"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
APP_ID: label-* # specific to backend or client
APP_GROUP: judilibre-prive
APP_HOST: label.judilibre-prive.local
APP_HOST: lbl.judilibre-prive.local
APP_PORT: 443
APP_SCHEME: https
APP_SELF_SIGNED: "true"
Expand Down
2 changes: 1 addition & 1 deletion ansible/group_vars/all/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ansible_python_interpreter: "/home/{{ ansible_user }}/ansible_venv/bin/python"


label_api_port: "55432"
label_app_host: "label.judilibre-prive.local"
label_app_host: "lbl.judilibre-prive.local"
label_app_group: "judilibre-prive"
label_client_app_id: "label-client"
label_back_app_id: "label-backend"
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/deploy_backend/tasks/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- web

routes:
- match: Host(`juritj.judilibre-prive.local`) && PathPrefix(`/label/api`)
- match: Host(`lbl.judilibre-prive.local`) && PathPrefix(`/label/api`)
kind: Rule
services:
- name: label-backend-service
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/deploy_client/tasks/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- web

routes:
- match: Host(`juritj.judilibre-prive.local`) && PathPrefix(`/label`)
- match: Host(`lbl.judilibre-prive.local`) && PathPrefix(`/label`)
kind: Rule
services:
- name: label-client-service
Expand Down

0 comments on commit 26a7c03

Please sign in to comment.