{{ define "bootstrap-success" }}

It's done!

Explore Packages
{{ template "bootstrap-footer" . }}
{{ end }} {{ define "bootstrap-failure" }}

You're almost there!

{{ template "bootstrap-button" "Try Bootstrapping Again" }} {{ template "bootstrap-footer" . }}
{{ end }} {{ define "bootstrap-footer" }}
For further information on bootstrapping, please consult the docs: Bootstrap.
If you want to test Glasskube locally, check out minikube.
If you have any questions or encounter bugs, don't hesitate to reach out via Github or Discord.
{{ end }} {{ define "bootstrap-button" }}
This will bootstrap Glasskube in your cluster using an all-in-one configuration. If your use-case requires a slim configuration or custom manifest, please use the CLI command. {{ end }} {{ define "content" }}

You're almost there!

{{ if eq .Err nil }}

Glasskube is not yet installed in your current context {{ .CurrentContext }}. You can do so now by clicking the Bootstrap button:

{{ template "bootstrap-button" "Bootstrap Glasskube" }} {{ else }}
If you have already successfully bootstrapped Glasskube previously, please check whether you have access to this cluster right now, e.g. with kubectl. For additional error information, please check the logs in the terminal!
{{ end }} {{ template "bootstrap-footer" . }}
{{ end }}