From 90738cc4f125975794960295738be3e64614c87a Mon Sep 17 00:00:00 2001 From: Ben Banfield-Zanin Date: Thu, 15 May 2025 09:44:30 +0100 Subject: [PATCH] Minor quick setup docs fixes and improvements --- README.md | 5 +++++ .../matrix-stack/ci/fragments/quick-setup-certificates.yaml | 2 +- .../ci/quick-setup-certificates-pg-external-values.yaml | 2 +- .../ci/quick-setup-certificates-pg-with-helm-values.yaml | 2 +- newsfragments/448.changed.md | 1 + 5 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 newsfragments/448.changed.md diff --git a/README.md b/README.md index decdcbc4..912d8c74 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,7 @@ mkdir ~/.kube export KUBECONFIG=~/.kube/config sudo k3s kubectl config view --raw > "$KUBECONFIG" chmod 600 "$KUBECONFIG" +chown "$USER:$USER" "$KUBECONFIG" ``` 3. Add `export KUBECONFIG=~/.kube/config` to `~/.bashrc` to make it persistent @@ -264,6 +265,7 @@ kubectl create secret tls ess-certificate -n ess --cert=path/to/cert/file --key= kubectl create secret tls ess-chat-certificate -n ess --cert=path/to/cert/file --key=path/to/key/file kubectl create secret tls ess-matrix-certificate -n ess --cert=path/to/cert/file --key=path/to/key/file kubectl create secret tls ess-auth-certificate -n ess --cert=path/to/cert/file --key=path/to/key/file +kubectl create secret tls ess-mtrc-certificate -n ess --cert=path/to/cert/file --key=path/to/key/file kubectl create secret tls ess-well-known-certificate -n ess --cert=path/to/cert/file --key=path/to/key/file ``` @@ -439,4 +441,7 @@ rm -rf /usr/local/bin/helm $HOME/.cache/helm $HOME/.config/helm $HOME/.local/sha # Uninstall k3s /usr/local/bin/k3s-uninstall.sh + +# (Optional) Remove config +rm -rf ~/ess-config-values ~/.kube ``` diff --git a/charts/matrix-stack/ci/fragments/quick-setup-certificates.yaml b/charts/matrix-stack/ci/fragments/quick-setup-certificates.yaml index 2cdc92a3..af28e387 100644 --- a/charts/matrix-stack/ci/fragments/quick-setup-certificates.yaml +++ b/charts/matrix-stack/ci/fragments/quick-setup-certificates.yaml @@ -12,7 +12,7 @@ matrixAuthenticationService: matrixRTC: ingress: - tlsSecret: ess-auth-certificate + tlsSecret: ess-mrtc-certificate synapse: ingress: diff --git a/charts/matrix-stack/ci/quick-setup-certificates-pg-external-values.yaml b/charts/matrix-stack/ci/quick-setup-certificates-pg-external-values.yaml index d498c403..5c8d3220 100644 --- a/charts/matrix-stack/ci/quick-setup-certificates-pg-external-values.yaml +++ b/charts/matrix-stack/ci/quick-setup-certificates-pg-external-values.yaml @@ -25,7 +25,7 @@ matrixAuthenticationService: matrixRTC: ingress: host: mrtc.your.tld - tlsSecret: ess-auth-certificate + tlsSecret: ess-mrtc-certificate serverName: your.tld synapse: ingress: diff --git a/charts/matrix-stack/ci/quick-setup-certificates-pg-with-helm-values.yaml b/charts/matrix-stack/ci/quick-setup-certificates-pg-with-helm-values.yaml index 0558fb36..be4a387e 100644 --- a/charts/matrix-stack/ci/quick-setup-certificates-pg-with-helm-values.yaml +++ b/charts/matrix-stack/ci/quick-setup-certificates-pg-with-helm-values.yaml @@ -17,7 +17,7 @@ matrixAuthenticationService: matrixRTC: ingress: host: mrtc.your.tld - tlsSecret: ess-auth-certificate + tlsSecret: ess-mrtc-certificate serverName: your.tld synapse: ingress: diff --git a/newsfragments/448.changed.md b/newsfragments/448.changed.md new file mode 100644 index 00000000..a2864ec0 --- /dev/null +++ b/newsfragments/448.changed.md @@ -0,0 +1 @@ +Minor quick setup docs fixes and improvements.