Update exec syntax in notes
This commit is contained in:
parent
83cc004c36
commit
e5a973902e
3 changed files with 5 additions and 4 deletions
|
@ -28,4 +28,4 @@ https://docs.funkwhale.audio/changelog.html#increased-quality-of-jpeg-thumbnails
|
||||||
|
|
||||||
To get a shell in the master pod, run the following commands;
|
To get a shell in the master pod, run the following commands;
|
||||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "funkwhale.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "funkwhale.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||||
kubectl exec --namespace {{ .Release.Namespace }} -c funkwhale -it $POD_NAME bash
|
kubectl exec --namespace {{ .Release.Namespace }} -c funkwhale -it $POD_NAME -- bash
|
||||||
|
|
|
@ -29,9 +29,10 @@ Matrix client - and register an account - as soon as final setup is done.
|
||||||
You can also create an admin user with the following command;
|
You can also create an admin user with the following command;
|
||||||
{{- else }}
|
{{- else }}
|
||||||
You can create a user in your new Synapse install by running the following
|
You can create a user in your new Synapse install by running the following
|
||||||
command;
|
command; (replacing USERNAME and PASSWORD)
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
kubectl exec --namespace {{ .Release.Namespace }} {{ template "matrix-synapse.fullname" . }} -- register_new_matrix_user -c /synapse/config/homeserver.yaml -c /synapse/config/conf.d/secrets.yaml -u USERNAME -p PASSWORD --admin http://localhost:8008
|
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}")
|
||||||
|
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.
|
||||||
|
|
|
@ -23,4 +23,4 @@
|
||||||
For administration purposes you can either open a shell in a RadosGW pod or connect to one of your mon hosts:
|
For administration purposes you can either open a shell in a RadosGW pod or connect to one of your mon hosts:
|
||||||
|
|
||||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "radosgw.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "radosgw.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||||
kubectl exec --namespace {{ .Release.Namespace }} $POD_NAME radosgw-admin --help
|
kubectl exec --namespace {{ .Release.Namespace }} $POD_NAME -- radosgw-admin --help
|
||||||
|
|
Loading…
Reference in a new issue