/autolabel

Automatically add labels according to annotations, mainly for deployment, statefulset and other resources.

Primary LanguageGoApache License 2.0Apache-2.0

autolabel

background

Automatically add labels according to annotations, mainly for deployment, statefulset and other resources.

usage

Add annotations which like autolabel/<pod name>=<label value> to the resource, the label named autolabel with a value of <label value> will be added to the resource automatically.