Skip to content

Commit 17bbe35

Browse files
committed
fix bootstrap not starting
Signed-off-by: JeffMboya <[email protected]>
1 parent 70d79c0 commit 17bbe35

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

charts/magistrala/templates/bootstrap-deployment.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@ spec:
4242
value: {{ .Values.defaults.eventStreamURL | quote }}
4343
- name: MG_BOOTSTRAP_LOG_LEVEL
4444
value: {{ default .Values.defaults.logLevel .Values.bootstrap.logLevel | quote }}
45-
- name: MG_BOOTSTRAP_HOST
45+
- name: MG_BOOTSTRAP_HTTP_HOST
4646
value: "0.0.0.0"
47-
- name: MG_BOOTSTRAP_PORT
47+
- name: MG_BOOTSTRAP_HTTP_PORT
4848
value: {{ .Values.bootstrap.httpPort | quote }}
4949
- name: MG_THINGS_URL
5050
value: http://{{ .Release.Name }}-things:{{ .Values.things.httpPort }}
51+
- name: MG_THINGS_ES_URL
52+
value: {{ .Release.Name }}-redis-streams-master:{{ .Values.things.redisESPort }}
53+
- name: MG_BOOTSTRAP_ES_URL
54+
value: {{ .Release.Name }}-redis-streams-master:{{ .Values.bootstrap.redisESPort }}
55+
- name: MG_SDK_BASE_URL
56+
value: http://{{ .Release.Name }}-things:{{ .Values.things.httpPort }}
5157
- name: MG_AUTH_GRPC_URL
5258
value: {{ .Release.Name }}-envoy:{{ .Values.auth.grpcPort }}
5359
- name: MG_BOOTSTRAP_ENCRYPT_KEY
@@ -66,7 +72,7 @@ spec:
6672
value: {{ .Values.postgresqlbootstrap.username | quote }}
6773
- name: MG_BOOTSTRAP_DB_PASS
6874
value: {{ .Values.postgresqlbootstrap.password | quote }}
69-
- name: MG_BOOTSTRAP_NAME
75+
- name: MG_BOOTSTRAP_DB_NAME
7076
value: {{ .Values.postgresqlbootstrap.database | quote }}
7177

7278
ports:

charts/magistrala/templates/things-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ spec:
5656
value: {{ .Values.postgresqlthings.username | quote }}
5757
- name: MG_THINGS_DB_PASS
5858
value: {{ .Values.postgresqlthings.password | quote }}
59-
- name: MG_THINGS_DB
59+
- name: MG_THINGS_DB_NAME
6060
value: {{ .Values.postgresqlthings.database | quote }}
6161
- name: MG_ES_URL
6262
value: {{ .Values.defaults.eventStreamURL | quote }}

charts/magistrala/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,10 @@ bootstrap:
360360
pullSecrets: {}
361361
repository: "magistrala/bootstrap"
362362
tag: "latest"
363-
pullPolicy: "Always"
363+
pullPolicy: "IfNotPresent"
364364
jaegerTraceRatio: 10
365365
sendTelemetry: true
366-
logLevel: "debug"
366+
logLevel: "info"
367367
httpPort: 9013
368368
redisESPort: 6379
369369
encKey: "randomstring"

0 commit comments

Comments
 (0)