Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
add redis host (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kait Moreno authored Jun 18, 2020
1 parent da022be commit c54de5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
7 changes: 1 addition & 6 deletions apis/novelcovid/novelcovid.api.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ spec:
- name: NYT_INTERVAL
value: "864e5"
- name: REDIS_HOST
value: redis
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: redis
key: password
value: novelcovid-redis.dvd05s.0001.use1.cache.amazonaws.com
- name: REDIS_PORT
value: "6379"
- name: SERVER_PORT
Expand Down
7 changes: 1 addition & 6 deletions apis/novelcovid/novelcovid.scraper.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ spec:
- name: NYT_INTERVAL
value: "864e5"
- name: REDIS_HOST
value: redis
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: redis
key: password
value: novelcovid-redis.dvd05s.0001.use1.cache.amazonaws.com
- name: REDIS_PORT
value: "6379"
- name: SERVER_PORT
Expand Down
7 changes: 1 addition & 6 deletions apis/novelcovid/redis.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ spec:
- "$(REDIS_PORT)"
env:
- name: REDIS_HOST
value: redis
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: redis
key: password
value: novelcovid-redis.dvd05s.0001.use1.cache.amazonaws.com
- name: REDIS_PORT
value: "6379"
image: redis:5.0.8-buster
Expand Down

0 comments on commit c54de5a

Please sign in to comment.