Grafana TankaFlexible, reusable and concise configuration for Kubernetes
Edit page
IntroductionInstallation
Tutorial
Writing Jsonnet
Libraries
Advanced features
References
Frequently asked questionsKnown issues

Import paths

When using import or importstr, Tanka considers the following directories to find a suitable file for that specific import:

RankPathPurpose
4<baseDir>The directory of your environment, e.g. /environments/default.
Put things that belong to this very environment here.
3/libProject-global libraries, that are used in multiple environments, but are specific to this project.
2<baseDir>/vendorPer-environment vendor, can be used for vendor overriding
1/vendorGlobal vendor, holds external libraries installed using jb.

Note:

  • If a file occurs in multiple paths, the one with the highest rank will be chosen.
  • / in above table means <rootDir>, which is your project root.