Skip to content

Commit

Permalink
Fix users authentication error
Browse files Browse the repository at this point in the history
Signed-off-by: JeffMboya <[email protected]>
  • Loading branch information
JeffMboya committed Nov 28, 2024
1 parent 70b83ae commit ea26149
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions charts/magistrala/templates/users-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ spec:
value: {{ .Values.postgresqlusers.username | quote }}
- name: MG_USERS_DB_PASS
value: {{ .Values.postgresqlusers.password | quote }}
- name: MG_USERS_GRPC_HOST
value: "0.0.0.0"
- name : MG_USERS_GRPC_PORT
value: {{ .Values.users.grpcPort | quote }}
- name: MG_SPICEDB_HOST
value: {{ .Release.Name }}-spicedb
- name: MG_SPICEDB_PORT
value: {{ .Values.spicedb.grpc.port | quote }}
- name : MG_AUTH_GRPC_URL
value: {{ .Release.Name }}-envoy:{{ .Values.auth.grpcPort }}
ports:
Expand Down
6 changes: 3 additions & 3 deletions charts/magistrala/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ spicedb:
tag: latest
# pullPolicy: "IfNotPresent"
grpc:
presharedKey: "helloworld"
presharedKey: "12345678"
port: 50051
datastore:
## engine can be any one of the two options: postgres (default) , memory
Expand Down Expand Up @@ -542,7 +542,7 @@ timescaledb:
# sendTelemetry: true
# logLevel: "info"
enabled: true
http: {port: 9011}
http: { port: 9011 }
# nodeSelector: {}
# affinity: {}
# tolerations: {}
Expand All @@ -560,7 +560,7 @@ timescaledb:
# affinity: {}
# tolerations: {}
enabled: true
http: {port: 9012}
http: { port: 9012 }
## Configurations of Bitnami postgres
global:
postgresql:
Expand Down

0 comments on commit ea26149

Please sign in to comment.