Align antecedent annotation in flux and helm-operator #3296
Conversation
Good spot! Would be it sensible to make this backward compatible, do you think? In other words, to look for either the new or the old annotation. Also: can the const in the helm API package be used for the new annotation, or does that cause dependence problems? |
Hi! Regarding helm-operator dependency. Flux imports and I will give it a try and see if tests are still passing. |
Had to force-push to branch for the DCO check. |
Well, tests has passed. |
I have rebased this and ran |
I didn't understand fully whether this change represents breaking something, or is still needed. @alex-shpak do you still want to have this included in a forthcoming release of Flux v1? |
Hi! Yes, would be great to include it in order to be able to connect created workloads to helm release. I will rebase. |
go.mod - reset k8s machinery to 1.17.17 This is the latest release that we can update to -- see fluxcd#3378 Try to remove when distribution/distribution#2905 is out docker/distribution patch still needed for now (Put it back for now.) On 2021-02-25 this has been merged, 2.7.2 of docker/distribution should include it hopefully relatively soon! Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Signed-off-by: Matt Willsher <matt@monki.org.uk> Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Signed-off-by: Herman Banken <hermanbanken@gmail.com> Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Signed-off-by: Alaa Qutaish <alaa.qutaish@gmail.com> Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Signed-off-by: Alex Shpak <alex-shpak@users.noreply.github.com> Signed-off-by: Kingdon Barrett <kingdon@weave.works>
Signed-off-by: Alex Shpak <alex-shpak@users.noreply.github.com> Signed-off-by: Kingdon Barrett <kingdon@weave.works>
OK, I have rebased this for inclusion in the next release. It is included in #3442, the Omnibus Branch for 1.22.0. |
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.
LGTM 👍
Great! |
Hi!
I noticed that
Antecedent
field in fluxcd API is not showing resource ID that created by HelmOperator. Apparently annotation name is different in flux and helm-operator. This pull request will align them.flux/pkg/cluster/kubernetes/resourcekinds.go
Line 26 in edadbf4
https://github.com/fluxcd/helm-operator/blob/master/pkg/apis/helm.fluxcd.io/v1/types_helmrelease.go#L18