-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Tag pipeline with source information #4796
base: main
Are you sure you want to change the base?
Conversation
Indirectly adds labels to Kubernetes pods for use with NetworkPolicies and other integrations.
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
Add pipeline labels to Kubernetes Pods
@xoxys can you maybe take a look at this seconds attempt? It have been tested, linted, and confirmed running with the correct labels applied to Kubernetes pods |
delete(item.Labels, key) | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those labels should not be mixed with the existing labels as those are used for filtering etc. Can we not add a new struct field e.g. item.InternalLabels
or item.MetadataLabels
here already?
This is the seconds attempt trying to get this to work.
Indirectly adds labels to Kubernetes pods for use with NetworkPolicies and other integrations.
TODO:
woodpecker/server/grpc/filter.go
Line 32 in 00aa968