Skip to content

Commit

Permalink
Merge pull request #2789 from alphagov/add-env-vars-cs-routes
Browse files Browse the repository at this point in the history
Add env vars for loading routes from CS
  • Loading branch information
theseanything authored Dec 2, 2024
2 parents 43bb6cf + 77ed31b commit 591d81c
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 0 deletions.
26 changes: 26 additions & 0 deletions charts/app-config/values-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2297,6 +2297,19 @@ govukApplications:
value: "http://licensify-frontend.licensify"
- name: BACKEND_URL_search-api
value: "http://search-api"
- name: BACKEND_URL_info-frontend
value: 'http://info-frontend'
- name: BACKEND_URL_whitehall-frontend
value: 'http://whitehall-frontend'
- name: BACKEND_URL_manuals-frontend
value: 'http://manuals-frontend'
- name: CSMUX_SAMPLE_RATE
value: '0.0'
- name: CONTENT_STORE_DATABASE_URL
valueFrom:
secretKeyRef:
key: DATABASE_URL
name: content-store-postgres
- name: draft-router
repoName: router
helmValues:
Expand Down Expand Up @@ -2346,6 +2359,19 @@ govukApplications:
value: "http://licensify-frontend.licensify"
- name: BACKEND_URL_search-api
value: "http://search-api"
- name: BACKEND_URL_info-frontend
value: 'http://info-frontend'
- name: BACKEND_URL_whitehall-frontend
value: 'http://whitehall-frontend'
- name: BACKEND_URL_manuals-frontend
value: 'http://manuals-frontend'
- name: CSMUX_SAMPLE_RATE
value: '0.0'
- name: CONTENT_STORE_DATABASE_URL
valueFrom:
secretKeyRef:
name: draft-content-store-postgres
key: DATABASE_URL

- name: router-mongo
chartPath: charts/router-mongo
Expand Down
26 changes: 26 additions & 0 deletions charts/app-config/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2376,6 +2376,19 @@ govukApplications:
value: "http://licensify-frontend.licensify"
- name: BACKEND_URL_search-api
value: "http://search-api"
- name: BACKEND_URL_info-frontend
value: 'http://info-frontend'
- name: BACKEND_URL_whitehall-frontend
value: 'http://whitehall-frontend'
- name: BACKEND_URL_manuals-frontend
value: 'http://manuals-frontend'
- name: CSMUX_SAMPLE_RATE
value: '0.0'
- name: CONTENT_STORE_DATABASE_URL
valueFrom:
secretKeyRef:
key: DATABASE_URL
name: content-store-postgres

- name: draft-router
repoName: router
Expand Down Expand Up @@ -2425,6 +2438,19 @@ govukApplications:
value: "http://licensify-frontend.licensify"
- name: BACKEND_URL_search-api
value: "http://search-api"
- name: BACKEND_URL_info-frontend
value: 'http://info-frontend'
- name: BACKEND_URL_whitehall-frontend
value: 'http://whitehall-frontend'
- name: BACKEND_URL_manuals-frontend
value: 'http://manuals-frontend'
- name: CSMUX_SAMPLE_RATE
value: '0.0'
- name: CONTENT_STORE_DATABASE_URL
valueFrom:
secretKeyRef:
name: draft-content-store-postgres
key: DATABASE_URL

- name: router-mongo
chartPath: charts/router-mongo
Expand Down
26 changes: 26 additions & 0 deletions charts/app-config/values-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2342,6 +2342,19 @@ govukApplications:
value: "http://licensify-frontend.licensify"
- name: BACKEND_URL_search-api
value: "http://search-api"
- name: BACKEND_URL_info-frontend
value: 'http://info-frontend'
- name: BACKEND_URL_whitehall-frontend
value: 'http://whitehall-frontend'
- name: BACKEND_URL_manuals-frontend
value: 'http://manuals-frontend'
- name: CSMUX_SAMPLE_RATE
value: '0.0'
- name: CONTENT_STORE_DATABASE_URL
valueFrom:
secretKeyRef:
key: DATABASE_URL
name: content-store-postgres

- name: draft-router
repoName: router
Expand Down Expand Up @@ -2391,6 +2404,19 @@ govukApplications:
value: "http://licensify-frontend.licensify"
- name: BACKEND_URL_search-api
value: "http://search-api"
- name: BACKEND_URL_info-frontend
value: 'http://info-frontend'
- name: BACKEND_URL_whitehall-frontend
value: 'http://whitehall-frontend'
- name: BACKEND_URL_manuals-frontend
value: 'http://manuals-frontend'
- name: CSMUX_SAMPLE_RATE
value: '0.0'
- name: CONTENT_STORE_DATABASE_URL
valueFrom:
secretKeyRef:
name: draft-content-store-postgres
key: DATABASE_URL

- name: router-mongo
chartPath: charts/router-mongo
Expand Down

0 comments on commit 591d81c

Please sign in to comment.