k8comp Docs

The dedicated folder where hiera will store the files hierarchy is called hieradata and is located in the same folder as the projects folder. Currently this folder name cannot be customised.

If hiera.yaml has been customised the files structure needs to match that configuration.

The variables use to query hiera are:

Variables

The variable format is %{VARIABLE default “DEFAULT_VALUE”} or %{VARIABLE}.
The variable priority order is:

The value before “default” (in the above example “VARIABLE”) will be retrieved from hiera. If no value is available in hiera the value after “default” (in the above example “DEFAULT_VALUE”) will be used as default.

There are few types of variables supported: