-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add higher-level defaults for tag filters #1045
Comments
#1046 adds support for namespace tags however a good point @leth brought up is how this applies to third party containers. For example, consul with a One option would be to continue with namespace tag approach and override all containers which don't follow. Does this sound resonable? Does anyone have ideas of other options we could explore? cc @weaveworks/wolfrocketcyborgninja |
We could add batch tag filter changes onto the deploy-status table.
|
A tree of filters sounds like a reasonable idea. Two things to consider:
|
I note we lock all of our third-party containers, individually, so maybe this indicates the need for a separate higher-level setting? Some 3rd-party images use semver, which we should probably support directly. |
We could combine a tag filter with a repo filter: e.g. repo |
Related: #1054 |
This use of locking is an approximation to pinning the individual containers to specific images (which could be done by setting the filter to an exact image tag). I don't think this indicates a requirement for a more broad setting, so much as a more obvious way to automate some images/containers and not others.
Yeah, supporting semver would be nice: #706. |
Options (not alternatives):
|
Note that the incident triggering this issue was in the context of a manual "update all" operation, i.e. not the Flux automation feature per se. I expected tag filters to apply to that. FWIW I am thinking of the "update all" operation as similar to full automation, but with a little bit of human mediation. |
Hence #1054 |
This would be a new feature, so unlikely to be considered for merge, as: |
Suppose you build all your images with a tag pattern like
branch-commithash
, then you might want to set a cluster-wide default filter ofmaster-*
.Possibly you might want a per-namespace default.
The text was updated successfully, but these errors were encountered: