cloudfoundry / eirini-release

Helm release for Project Eirini
Apache License 2.0
36 stars 34 forks source link

Provide a way to set custom labels on the `Pod`s Eirini deploys #222

Open gcapizzi opened 3 years ago

gcapizzi commented 3 years ago

The following fields in eiriniv1.LRP and eiriniv1.Tasl act only as metadata (they get converted to labels):

Fields like GUID, Name and Version should be replaced by Kubernetes' ways of identifying objects.

The other fields refer to higher-level concepts Eirini shouldn't be aware of. Instead, we should provide clients with a way to specify their own labels and annotations, which we should then apply to all the resources we create (StatefulSets, Pods). In order to do so, we have two alternatives: