matrix-synapse: Fix notes
This commit is contained in:
parent
e5a973902e
commit
052ae7616d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ You can create a user in your new Synapse install by running the following
|
||||||
command; (replacing USERNAME and PASSWORD)
|
command; (replacing USERNAME and PASSWORD)
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "matrix-synapse" . }},app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/component=synapse" -o jsonpath="{.items[0].metadata.name}")
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }},app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/component=synapse" -o jsonpath="{.items[0].metadata.name}")
|
||||||
kubectl exec --namespace {{ .Release.Namespace }} $POD_NAME -- register_new_matrix_user -c /synapse/config/homeserver.yaml -c /synapse/config/conf.d/secrets.yaml -u USERNAME -p PASSWORD --admin http://localhost:8008
|
kubectl exec --namespace {{ .Release.Namespace }} $POD_NAME -- register_new_matrix_user -c /synapse/config/homeserver.yaml -c /synapse/config/conf.d/secrets.yaml -u USERNAME -p PASSWORD --admin http://localhost:8008
|
||||||
|
|
||||||
You can also specify --no-admin to create a non-admin user.
|
You can also specify --no-admin to create a non-admin user.
|
||||||
|
|
Loading…
Reference in a new issue