1
0
mirror of https://github.com/alexellis/arkade.git synced 2022-05-07 18:22:49 +03:00

fix: update loki helm chart repo

Grafana has deprecated their previous Helm chart repo and moved all of
their charts to https://grafana.github.io/helm-charts. The chart itself
has no breaking changes, therefore, this patch only requires changing
the Helm repo name and url.

It also updates the Loki docs URLs to link to the rendered Grafana docs
isntead of the doc source files on Github.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
This commit is contained in:
Lucas Roesler
2022-02-03 10:22:00 +01:00
committed by Alex Ellis
parent 5472495e81
commit 90e62ddcb8

View File

@@ -53,8 +53,8 @@ func MakeInstallLoki() *cobra.Command {
lokiOptions := types.DefaultInstallOptions().
WithNamespace(namespace).
WithHelmRepo("loki/loki-stack").
WithHelmURL("https://grafana.github.io/loki/charts").
WithHelmRepo("grafana/loki-stack").
WithHelmURL("https://grafana.github.io/helm-charts").
WithOverrides(overrides).
WithKubeconfigPath(kubeConfigPath)
@@ -71,10 +71,10 @@ func MakeInstallLoki() *cobra.Command {
}
const LokiInfoMsg = `# Get started with loki here:
# https://github.com/grafana/loki/blob/master/docs/README.md
# https://grafana.com/docs/loki/latest
# See how to integrate loki with Grafana here
# https://github.com/grafana/loki/blob/master/docs/getting-started/grafana.md
# https://grafana.com/docs/loki/latest/getting-started/grafana
# Check loki's logs with:
@@ -86,7 +86,7 @@ kubectl logs svc/loki-stack-headless
# If you installed with Grafana you can access the dashboard with the username "admin" and password shown below
# To get password
kubectl get secret loki-stack-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo
# Forward traffic to your localhost
kubectl port-forward service/loki-stack-grafana 3000:80