-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: fix typos, fix k8s install guide for zsh and update Cilium SW demo #1965
Conversation
Declare `demo_app_url` as a parameter in hugo.toml so that its value becomes available in Hugo shortcodes [1]. In turn, this allows us to format markdown templates. See commit cca7655 that previously modified Hugo's configuration file. Also fix some typos and perform nits. [1] https://gohugo.io/content-management/shortcodes/#param Signed-off-by: Ioannis Androulidakis <androulidakis.ioannis@gmail.com>
When running the K8s installation guide with zsh the following commands: EXTRA_HELM_FLAGS="--set tetragon.hostProcPath=/procHost" helm install tetragon ${EXTRA_HELM_FLAGS} cilium/tetragon -n kube-system fail with: Error: unknown flag: --set tetragon.hostProcPath The reason for this is that zsh does not split into words when it expands parameters by default [2]. For example, in a zsh shell: EXTRA_FLAGS="--namespace kube-system"; strace -e trace=execve kubectl get pods ${EXTRA_FLAGS} 2>&1 | grep -m1 kubectl execve("/usr/bin/kubectl", ["kubectl", "get", "pods", "--namespace kube-system"], 0x7ffe5a984d38 /* 63 vars */) = 0 Fix this by using arrays to pass extra Helm flags which works in both bash and zsh shells. [1] https://linux.die.net/man/1/zshexpn Signed-off-by: Ioannis Androulidakis <androulidakis.ioannis@gmail.com>
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for creating a separate PR! Just a small thing to understand before we merge this :)!
This PR provides the following fixes for Tetragon's docs:
kubectl
commandszsh
andbash
shellsSigned-off-by: Ioannis Androulidakis androulidakis.ioannis@gmail.com