summaryrefslogtreecommitdiff
path: root/f3s
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-02 09:07:51 +0300
committerPaul Buetow <paul@buetow.org>2025-08-02 09:07:51 +0300
commit74aa07113510c90d202ed95de2eb342f53347ac8 (patch)
tree45ac123da28e803db89a554aca9a80ff257657cf /f3s
parentefa37ef7165db4a3378fe8588644b3b22c2679c3 (diff)
add readme
Diffstat (limited to 'f3s')
-rw-r--r--f3s/anki-sync-server/README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/f3s/anki-sync-server/README.md b/f3s/anki-sync-server/README.md
new file mode 100644
index 0000000..e3aee07
--- /dev/null
+++ b/f3s/anki-sync-server/README.md
@@ -0,0 +1,34 @@
+
+# Anki Sync Server Kubernetes Deployment
+
+This directory contains the Kubernetes configuration for deploying the Anki Sync Server.
+
+## Deployment
+
+To deploy the Anki Sync Server, apply the Kubernetes manifests in this directory:
+
+```bash
+make apply
+```
+
+## Secret Management
+
+The deployment uses a Kubernetes secret to manage the `SYNC_USER1` environment variable. This secret is not included in the repository for security reasons. You must create it manually in the `services` namespace.
+
+### Creating the Secret
+
+To create the secret, use the following `kubectl` command:
+
+```bash
+kubectl create secret generic anki-sync-server-secret --from-literal=SYNC_USER1='paul:SECRETPASSWORD' -n services
+```
+
+Replace `paul:SECRETPASSWORD` with your desired username and password.
+
+### Updating the Secret
+
+To update the secret, you can delete and recreate it, or use `kubectl edit`:
+
+```bash
+kubectl edit secret anki-sync-server-secret -n services
+```