Skip to content

Commit 4771a9b

Browse files
authored
Merge pull request #5088 from cfpb/bankfilter-deployment-yaml
updates to allow bank filter list to be read from config map
2 parents 61734f9 + e42fca3 commit 4771a9b

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

hmda-data-publisher/src/main/scala/hmda/publisher/scheduler/CombinedMLarPublicScheduler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class CombinedMLarPublicScheduler(publishingReporter: ActorRef[PublishingReporte
7676

7777
val fileNameHeader = s"${year}_combined_mlar_header.txt"
7878
val zipNameHeader = s"${year}_combined_mlar_header.zip"
79-
val s3PathHeader = s"modified-lar/$year/"
79+
val s3PathHeader = s"modified-lar/combined-mlar/$year/"
8080
val fullFilePathHeader = SnapshotCheck.pathSelector(s3PathHeader, zipNameHeader)
8181

8282
val fileName = s"${year}_combined_mlar.txt"

kubernetes/hmda-analytics/templates/deployment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ spec:
100100
# secretKeyRef:
101101
# name: inst-postgres-credentials
102102
# key: url
103-
# - name: BANK_FILTER_LIST
104-
# valueFrom:
105-
# configMapKeyRef:
106-
# name: bank-filter-configmap
107-
# key: bank-filter-list
103+
- name: BANK_FILTER_LIST
104+
valueFrom:
105+
configMapKeyRef:
106+
name: bank-filter-configmap
107+
key: bank-filter-list
108108
- name: CASSANDRA_CLUSTER_HOSTS
109109
valueFrom:
110110
configMapKeyRef:

kubernetes/institutions-api/templates/deployment.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ spec:
6565
configMapKeyRef:
6666
name: timed-guards
6767
key: yearsAllowed
68-
# - name: BANK_FILTER_LIST
69-
# valueFrom:
70-
# configMapKeyRef:
71-
# key: bank-filter-list
72-
# name: bank-filter-configmap
68+
- name: BANK_FILTER_LIST
69+
valueFrom:
70+
configMapKeyRef:
71+
key: bank-filter-list
72+
name: bank-filter-configmap
7373
- name: RULES_QF_FILING_YEARS_ALLOWED
7474
valueFrom:
7575
configMapKeyRef:

0 commit comments

Comments
 (0)