TankaFlexible, reusable and concise configuration for Kubernetes
Edit page
IntroductionInstallation
Tutorial
Writing Jsonnet
Libraries
Command-line completionDirectory structureDiff strategiesOutput filteringFrequently asked questionsKnown issuesExporting as YAML

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.