enchant97 / note-mark

Note Mark is a lighting fast and minimal; web-based Markdown notes app.
https://notemark.docs.enchantedcode.co.uk/
GNU Affero General Public License v3.0
297 stars 6 forks source link

(feat) Add documentation for using CLI in docker/k8s with Distroless tools #180

Closed shadowbq closed 7 months ago

shadowbq commented 7 months ago

Does it fit the projects scope?

Why?

When you chose distro-less docker images gcr.io/distroless/static-debian11, please document how to use the CLI tools. There is no common way to access the shell via exec -it <shell>

Solution?

Document that you will need to exec directly to the init commands such as: kubectl exec -it --namespace= -- /note-mark

kubectl exec -it notemark-675c5fb966-tfk8c --namespace=notes -- /note-mark user -h

Alternatives?

No response

Extra Context

No response

enchant97 commented 7 months ago

Good idea, the recent demo video I made does show how to do this: https://youtu.be/rwL99Ac5g98