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:
Add a UserProvidedLabels field (similar to the existing UserProvidedAnnotations
Let clients set labels and annotations on our CRs, and replicate those
The following fields in
eiriniv1.LRP
andeiriniv1.Tasl
act only as metadata (they get converted to labels):GUID
Version
Name
ProcessType
App/Space/OrgName/GUID
Fields like
GUID
,Name
andVersion
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 (
StatefulSet
s,Pod
s). In order to do so, we have two alternatives:UserProvidedLabels
field (similar to the existingUserProvidedAnnotations