Skip to content

Commit 5d9c558

Browse files
committed
Require jsonnet-bundler earlier, to fix tk init.
Without jsonnet-bundler installed, the `tk init` step fails trying to install k.libsonnet.
1 parent b9cc0f3 commit 5d9c558

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

prometheus-ksonnet/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
A set of extensible configs for running Prometheus on Kubernetes.
44

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

89
```bash
910
$ GO111MODULE=on go get github.com/grafana/tanka/cmd/tk
11+
$ GO111MODULE=on go get github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
1012
```
1113

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

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

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

0 commit comments

Comments
 (0)