Fixes an issue with the old deprecated metrics-server not working
on recent Kubernetes versions.
Tested on K8s v1.23.4
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
The repo URL for openfaas-loki has changed, this updates to match the
currently working URL.
It was tested locally using
```sh
$ helm repo remove lucas
$ kind cluster create
$ ./bin/arkade install openfaas-loki
Using Kubeconfig: /home/lucas/.kube/config
[Warning] unable to create namespace default, may already exist: Error from server (AlreadyExists): namespaces "default" already exists
Client: x86_64, Linux
2022/03/08 16:24:48 User dir established as: /home/lucas/.arkade/
"lucas" has been added to your repositories
VALUES values.yaml
Command: /home/lucas/.arkade/bin/helm [upgrade --install openfaas-loki lucas/openfaas-loki --namespace default --values /tmp/charts/openfaas-loki/values.yaml --set lokiURL=http://loki-stack.default:3100]
Release "openfaas-loki" does not exist. Installing it now.
```
```sh
$ helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
openfaas-loki default 1 2022-03-08 16:24:50.223781038 +0100 CET deployed openfaas-loki-1.6.0 v1.6.0
```
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
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>
* Updates the pinned release to stable-2.11.1
* Validate that a value was given for the --version flag
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Fixes prometheus flag to read from correct flag name
Adds a Grafana flag
Defaults both to true, a per the helm chart.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Darwin passes in "arm64" as an architecture and not
aarch64 as assumed in the previous PR.
Also remove unwanted 386 arch given in the waypoint app.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
By default, the `arkade get` command will use the client
cpu architecture and os (using `uname` command).
The new flags will allow to override the default behavior, and download
different binaries for different platforms.
In case of an unsupported architecture or OS, an appropriate message
would be shown with all the options available.
Signed-off-by: Yuval Goldberg <yuvigoldi@gmail.com>
As part of 0.15.0, the flags for client images and server
versions have changed names. This commit sets them in the
new fields in the helm chart.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Tested on KinD v1.22 and Istio before tea-time blog post.
Known issue with cert-manager and ingress annotations on
HTTP solvers.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Also removes manual step for older cert-manager versions
which used a YAML file instead of the helm chart to add
CRDs.
Tested by running arkade install cert-manager on K8s 1.22
using KinD.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Downloads and executes the preflight command for
checking K10 availability in the current cluster.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>