You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.
I am trying to kedgify the configurations which consists of lot of annotations and labels which are same. So it is really hard/redundant to copy those config parts to each and every type of object defined in one kedge app file. I would like to see a simple and easy way to define annotations and label which is populated across all the configs that are generated.
If I use that kedge file the annotations and labels are only added to deploymentconfig and rest all the objects get a generic app: appName label. Please add a way to define global annotations and labels.
The text was updated successfully, but these errors were encountered:
How you propose to do that?
We can't use Deployments annotations/labels, as that will make it impossible to add Deployment specific labels without adding them to other objects.
One way we could do that would be adding something like globalLabels and globalAnnotations
Can't we make labels and annotations a global field like name field is. If you think about it name does a global setting unless someone wants to set anything else in some specific resource they still have way of doing it using respective name field.
But yeah not sure how do we enable controller/deployment only labels or annotations with this approach.
name is a bit different case, as it is a required field, it has to be set for every object, and it is just single value.
labels and annotations are lists, there is a lot of complications when handling this if we try to use annotations and labels from controller object. For example, how would kedge handle cases where different labels are set in for the controller and for service? Should service labels be a combination of both, or should it be just what is specified for service? How it will be handled if I want one global label for every object, but I have also some object-specific labels?
labels:
- aaa:aaa
service:
- labels:
- bbb:bbb
Global annotations/labels make sense and they are useful, but we have to use a separate key for it.
Type:
/kind RFE
Description:
I am trying to kedgify the configurations which consists of lot of annotations and labels which are same. So it is really hard/redundant to copy those config parts to each and every type of object defined in one kedge app file. I would like to see a simple and easy way to define annotations and label which is populated across all the configs that are generated.
I have kegified this configuration
Which comes from following configuration.
The complete one is available in: http://central.maven.org/maven2/io/fabric8/platform/packages/fabric8-system/4.0.208/fabric8-system-4.0.208-openshift.json
If I use that kedge file the annotations and labels are only added to deploymentconfig and rest all the objects get a generic
app: appName
label. Please add a way to define global annotations and labels.The text was updated successfully, but these errors were encountered: