Improve bootstrap token instructions for all container types
Updated FirstRunSetup to show generic container commands that work across different orchestration platforms: - Use <container-name> placeholder instead of hardcoded "pulse" - Add kubectl exec example for Kubernetes/Helm deployments - Clarify "From container host" applies to Docker, Podman, etc. This ensures the instructions work for Docker Compose, Swarm, Helm, and any other container orchestrator where the container might have a different name.
This commit is contained in:
parent
b29a830046
commit
999e598e44
1 changed files with 5 additions and 3 deletions
|
|
@ -320,9 +320,11 @@ IMPORTANT: Keep these credentials secure!
|
||||||
>
|
>
|
||||||
<div class="bg-white dark:bg-gray-800 rounded p-3 font-mono text-xs text-gray-800 dark:text-gray-200">
|
<div class="bg-white dark:bg-gray-800 rounded p-3 font-mono text-xs text-gray-800 dark:text-gray-200">
|
||||||
<Show when={isDocker()}>
|
<Show when={isDocker()}>
|
||||||
<div class="text-blue-600 dark:text-blue-400 mb-1"># From Docker host:</div>
|
<div class="text-blue-600 dark:text-blue-400 mb-1"># From container host:</div>
|
||||||
docker exec pulse cat {bootstrapTokenPath()}
|
docker exec <container-name> cat {bootstrapTokenPath()}
|
||||||
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or from inside container:</div>
|
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or kubectl for Kubernetes:</div>
|
||||||
|
kubectl exec <pod-name> -- cat {bootstrapTokenPath()}
|
||||||
|
<div class="text-gray-500 dark:text-gray-400 mt-2 mb-1"># Or exec into the container:</div>
|
||||||
</Show>
|
</Show>
|
||||||
cat {bootstrapTokenPath()}
|
cat {bootstrapTokenPath()}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue