Skip to content

Commit

Permalink
Fix discrepancies between fv URLs across deployments and ingress (#122)
Browse files Browse the repository at this point in the history
rebasing the branch
  • Loading branch information
jamiecarterHO authored and JHoldergov committed Feb 1, 2024
1 parent 02647a7 commit bc41d40
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
6 changes: 0 additions & 6 deletions apps/paf/models/file-upload.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<<<<<<< HEAD
/* eslint-disable node/no-deprecated-api */
'use strict';
/* eslint-disable */
=======
'use strict';

>>>>>>> 84527e4 (PAF-11: create attachments)
const url = require('url');
const Model = require('hof').model;
const uuid = require('uuid').v4;
Expand Down
16 changes: 16 additions & 0 deletions kube/file-vault/file-vault-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,19 @@ spec:
value: "0"
- name: FILE_VAULT_URL
{{ if eq .KUBE_NAMESPACE .PROD_ENV }}
<<<<<<< HEAD
value: https://fv-paf.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .STG_ENV }}
value: https://fv-paf.stg.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .UAT_ENV }}
value: https://fv-paf.uat.sas-notprod.homeoffice.gov.uk
=======
value: fv-paf.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .STG_ENV }}
value: fv-paf.stg.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .UAT_ENV }}
value: fv-paf.uat.sas-notprod.homeoffice.gov.uk
>>>>>>> ce4244b (Fix discrepancies between fv URLs across deployments and ingress (#122))
{{ else if eq .KUBE_NAMESPACE .BRANCH_ENV }}
value: https://fv-{{ .DRONE_SOURCE_BRANCH }}.{{ .BRANCH_ENV }}.homeoffice.gov.uk
- name: DEBUG
Expand Down Expand Up @@ -119,11 +127,19 @@ spec:
key: id
- name: PROXY_REDIRECTION_URL
{{ if eq .KUBE_NAMESPACE .PROD_ENV }}
<<<<<<< HEAD
value: https://fv-paf.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .STG_ENV }}
value: https://fv-paf.stg.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .UAT_ENV }}
value: https://fv-paf.uat.sas-notprod.homeoffice.gov.uk
=======
value: fv-paf.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .STG_ENV }}
value: fv-paf.stg.sas.homeoffice.gov.uk
{{ else if eq .KUBE_NAMESPACE .UAT_ENV }}
value: fv-paf.uat.sas-notprod.homeoffice.gov.uk
>>>>>>> ce4244b (Fix discrepancies between fv URLs across deployments and ingress (#122))
{{ else if eq .KUBE_NAMESPACE .BRANCH_ENV }}
value: https://fv-{{ .DRONE_SOURCE_BRANCH }}.{{ .BRANCH_ENV }}.homeoffice.gov.uk
{{ end }}
Expand Down

0 comments on commit bc41d40

Please sign in to comment.