labeling
This extension allows you to label core kubernetes resources with useful labels.
Usage
To use this labeling function, edit your k.libsonnet
to look something like this
Afterwards, all resources created (provided they use
cloudflight-libsonnet/prelude.libsonnet
), will have the
cloudflight.io/project=some-project-name
label attached
If you need to set this on a per-environment basis, move the
k.libsonnet
file to your environment folder as described in the Tanka
documentation.