File tree Expand file tree Collapse file tree 17 files changed +82
-13
lines changed
common/src/main/resources Expand file tree Collapse file tree 17 files changed +82
-13
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,16 @@ kafka {
99
99
idle-timeout = ${?KAFKA_IDLE_TIMEOUT}
100
100
security.protocol=""
101
101
security.protocol=${?KAFKA_SECURITY}
102
- ssl.truststore.location = ""
103
- ssl.truststore.location = ${?TRUSTSTORE_PATH}
104
- ssl.truststore.password = ""
105
- ssl.truststore.password = ${?TRUSTSTORE_PASSWORD}
106
- ssl.endpoint = ""
107
- ssl.endpoint = ${?KAFKA_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG}
102
+ # ssl.truststore.location = ""
103
+ # ssl.truststore.location = ${?TRUSTSTORE_PATH}
104
+ # ssl.truststore.password = ""
105
+ # ssl.truststore.password = ${?TRUSTSTORE_PASSWORD}
106
+ # ssl.endpoint = ""
107
+ # ssl.endpoint = ${?KAFKA_SSL_ENDPOINT_IDENTIFICATION_ALGORITHM_CONFIG}
108
+ sasl.mechanism="AWS_MSK_IAM"
109
+ # sasl.mechanism=${?KAFKA_SASL_MECHANISM}
110
+ sasl.jaas.config="software.amazon.msk.auth.iam.IAMLoginModule required;"
111
+ # sasl.jaas.config="{?KAFKA_SASL_JAAS_CONFIG}"
112
+ sasl.client.callback.handler.class="software.amazon.msk.auth.iam.IAMClientCallbackHandler"
113
+ #sasl.client.callback.handler.class="{?KAFKA_SASL_CLASS}"
108
114
}
Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ spec:
132
132
configMapKeyRef :
133
133
name : timed-guards
134
134
key : actionQ3End
135
+ {{- if .Values.kafka.security }}
136
+ - name : KAFKA_SECURITY
137
+ value : {{.Values.kafka.security}}
138
+ {{- end }}
135
139
- name : KAFKA_INSTITUTIONS_TOPIC
136
140
value : {{.Values.kafka.institutionsTopic}}
137
141
- name : KAFKA_SIGN_TOPIC
Original file line number Diff line number Diff line change 33
33
analyticsTopic : beta-hmda-analytics
34
34
signTopic : beta-hmda-sign
35
35
emailTopic : beta-hmda-email
36
+ security : " "
36
37
37
38
service :
38
39
type : ClusterIP
Original file line number Diff line number Diff line change @@ -83,11 +83,25 @@ spec:
83
83
key : postgres.ssl
84
84
- name : INSTITUTION_PG_CREATE_SCHEMA
85
85
value : " {{ .Values.postgresql.createSchema }}"
86
+ {{- if .Values.kafka.security }}
87
+ - name : KAFKA_SECURITY
88
+ value : {{.Values.kafka.security}}
89
+ {{- end }}
86
90
- name : KAFKA_CLUSTER_HOSTS
87
91
valueFrom :
88
92
configMapKeyRef :
89
93
name : kafka-configmap
90
94
key : kafka.hosts
95
+ - name : AWS_ACCESS_KEY_ID
96
+ valueFrom :
97
+ secretKeyRef :
98
+ name : aws-credentials
99
+ key : aws-access-key-id
100
+ - name : AWS_SECRET_ACCESS_KEY
101
+ valueFrom :
102
+ secretKeyRef :
103
+ name : aws-credentials
104
+ key : aws-secret-access-key
91
105
- name : JDBC_URL
92
106
valueFrom :
93
107
secretKeyRef :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ replicaCount: 1
6
6
7
7
image :
8
8
repository : hmda/institutions-api
9
- tag : v2.7.2
9
+ tag : latest
10
10
pullPolicy : IfNotPresent
11
11
12
12
service :
@@ -20,6 +20,7 @@ currentYear: 2018
20
20
kafka :
21
21
institutionsGroup : beta-institution-group
22
22
institutionsTopic : beta-institution
23
+ security : " "
23
24
24
25
# ambassador:
25
26
# name: institutions-api-ambassador
@@ -68,3 +69,6 @@ affinity: {}
68
69
postgresql :
69
70
enabled : false
70
71
createSchema : false
72
+
73
+ ambassador_id : ambassador-beta-2
74
+ # ambassador_host: hmda-public.cfpb.gov
Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ spec:
52
52
- name : AWS_ACCESS_KEY_ID
53
53
valueFrom :
54
54
secretKeyRef :
55
- name : aws-email- credentials
55
+ name : aws-credentials
56
56
key : aws-access-key-id
57
57
- name : AWS_SECRET_ACCESS_KEY
58
58
valueFrom :
59
59
secretKeyRef :
60
- name : aws-email- credentials
60
+ name : aws-credentials
61
61
key : aws-secret-access-key
62
62
- name : AWS_ENVIRONMENT
63
63
valueFrom :
75
75
value : {{.Values.kafka.emailTopic}}
76
76
- name : KAFKA_EMAIL_CONSUMER_GROUP_ID
77
77
value : {{.Values.kafka.emailGroup}}
78
+ {{- if .Values.kafka.security }}
79
+ - name : KAFKA_SECURITY
80
+ value : {{.Values.kafka.security}}
81
+ {{- end }}
78
82
- name : EMAIL_SUBJECT
79
83
valueFrom :
80
84
configMapKeyRef :
Original file line number Diff line number Diff line change 12
12
kafka :
13
13
emailTopic : hmda-email
14
14
emailGroup : email-consumer
15
-
15
+ security : " "
16
+
16
17
resources :
17
18
limits :
18
19
memory : " 2200Mi"
Original file line number Diff line number Diff line change 49
49
value : {{.Values.kafka.signTopic}}
50
50
- name : KAFKA_ANALYTICS_GROUP
51
51
value : {{.Values.kafka.analyticsGroup}}
52
+ {{- if .Values.kafka.security }}
53
+ - name : KAFKA_SECURITY
54
+ value : {{.Values.kafka.security}}
55
+ {{- end }}
52
56
- name : PG_HOST
53
57
valueFrom :
54
58
secretKeyRef :
Original file line number Diff line number Diff line change 16
16
analyticsGroup : analytics-group
17
17
analyticsTopic : hmda-analytics
18
18
signTopic : hmda-sign
19
-
19
+ security : " "
20
+
20
21
ingress :
21
22
enabled : false
22
23
annotations : {}
Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ spec:
132
132
configMapKeyRef :
133
133
name : timed-guards
134
134
key : actionQ3End
135
+ {{- if .Values.kafka.security }}
136
+ - name : KAFKA_SECURITY
137
+ value : {{.Values.kafka.security}}
138
+ {{- end }}
135
139
- name : KAFKA_INSTITUTIONS_TOPIC
136
140
value : {{.Values.kafka.institutionsTopic}}
137
141
- name : KAFKA_SIGN_TOPIC
You can’t perform that action at this time.
0 commit comments