Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Merge pull request #1214 from alphagov/update-redis_host-k8s
Browse files Browse the repository at this point in the history
Update redis host k8s
  • Loading branch information
kentsanggds authored Nov 21, 2023
2 parents 19e18e6 + 0e02f27 commit 388228a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ test:

integration:
<<: *default
url: '<%= JSON.parse(ENV["VCAP_SERVICES"] || "{}")
url: '<%= ENV["REDIS_HOST"] || JSON.parse(ENV["VCAP_SERVICES"] || "{}")
.dig("redis", 0, "credentials", "uri") %>'

staging:
<<: *default
url: '<%= JSON.parse(ENV["VCAP_SERVICES"] || "{}")
.dig("redis", 0, "credentials", "uri") %>'
url: '<%= ENV["REDIS_HOST"] || JSON.parse(ENV["VCAP_SERVICES"] || "{}")
.dig("redis", 0, "credentials", "uri")%>'

production:
<<: *default
url: '<%= JSON.parse(ENV["VCAP_SERVICES"] || "{}")
url: '<%= ENV["REDIS_HOST"] || JSON.parse(ENV["VCAP_SERVICES"] || "{}")
.dig("redis", 0, "credentials", "uri") %>'

0 comments on commit 388228a

Please sign in to comment.