Skip to content

Commit

Permalink
Additional Kustomize patch env vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
ropable committed Oct 7, 2024
1 parent d690e60 commit 12e101a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kustomize/overlays/prod/deployment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,13 @@ spec:
secretKeyRef:
name: prs-env-prod
key: REDIS_CACHE_HOST
- name: API_RESPONSE_CACHE_SECONDS
valueFrom:
secretKeyRef:
name: prs-env-prod
key: API_RESPONSE_CACHE_SECONDS
- name: CACHE_MIDDLEWARE_SECONDS
valueFrom:
secretKeyRef:
name: prs-env-prod
key: CACHE_MIDDLEWARE_SECONDS
10 changes: 10 additions & 0 deletions kustomize/overlays/uat/deployment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,13 @@ spec:
secretKeyRef:
name: prs-env-uat
key: REDIS_CACHE_HOST
- name: API_RESPONSE_CACHE_SECONDS
valueFrom:
secretKeyRef:
name: prs-env-uat
key: API_RESPONSE_CACHE_SECONDS
- name: CACHE_MIDDLEWARE_SECONDS
valueFrom:
secretKeyRef:
name: prs-env-uat
key: CACHE_MIDDLEWARE_SECONDS

0 comments on commit 12e101a

Please sign in to comment.