-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose RuntimeContainer.Labels #82
Conversation
@md5 nice! Been meaning to add this but haven't had time. Need to test it out but looks pretty straightforward. |
👍 |
Great! /me should suggest to add @md5 as maintainer to this and the nginx-proxy repos |
Is there a sample somewhere on how to use labels in a template? I somehow can not get it to work |
The problem is that the labels generated by compose are looking like
How do you access them in the template? |
I believe |
Sorry if this is the wrong place to ask. How would you use a label such as "com.docker.compose.service" in as part of a $fieldPath with a groupBy or where?
|
@trnubo I don't think it's going to be possible to do that right now. I also think it would be tricky to get right. Adding |
For the case you mentioned, you could do this:
|
Related: #81