That's my logoGrafana TankaFlexible, reusable and concise configuration for Kubernetes
Edit page
IntroductionInstallation
Tutorial
Writing Jsonnet
Libraries
Import pathsInstalling and publishingInstall a libraryPublish to Git(Hub)Overriding
Advanced features
References
Frequently asked questionsKnown issues

Installing and publishing

The tool for dealing with libraries is jsonnet-bundler. It can install packages from any git source using ssh and GitHub over https.

Install a library

To install a library from GitHub, use one of the following:

$ jb install github.com/<user>/<repo>
$ jb install github.com/<user>/<repo>/<subdir>
$ jb install github.com/<user>/<repo>/<subdir>@<version>

Otherwise, use the ssh syntax:

$ jb install git+ssh://git@mycode.server:<path-to-repo>.git
$ jb install git+ssh://git@mycode.server:<path-to-repo>.git/<subdir>
$ jb install git+ssh://git@mycode.server:<path-to-repo>.git/<subdir>@<version>

Note: version may be any git ref, such as commits, tags or branches

Publish to Git(Hub)

Publishing is as easy as committing and pushing to a git remote. GitHub is recommended, as it is most common and supports faster installing using http archives.