Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Require jsonnet-bundler earlier, to fix tk init.
Without jsonnet-bundler installed, the `tk init` step fails trying
to install k.libsonnet.
  • Loading branch information
robx committed Jun 2, 2020
commit 5d9c558517355b6d9436f1841747036d3c2d6905
7 changes: 4 additions & 3 deletions prometheus-ksonnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
A set of extensible configs for running Prometheus on Kubernetes.

Usage:
- Make sure you have [Tanka](https://tanka.dev/install) installed:
- Make sure you have [Tanka](https://tanka.dev/install) and
[jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler) installed:

```bash
$ GO111MODULE=on go get github.com/grafana/tanka/cmd/tk
$ GO111MODULE=on go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
```

- In your config repo, init Tanka and point it at your Kubernetes cluster:
Expand All @@ -19,10 +21,9 @@ $ export CONTEXT=$(kubectl current-context)
$ tk env set environments/default --server-from-context=$CONTEXT
```

- Vendor this package using [jsonnet-bundler](https://github.com/jsonnet-bundler/jsonnet-bundler)
- Vendor this package using jsonnet-bundler:

```bash
$ GO111MODULE=on go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
$ jb install github.com/grafana/jsonnet-libs/prometheus-ksonnet
```

Expand Down