Replies: 1 comment 3 replies
-
|
In this specific case it appears that flux operator patches in fields they use internally to track resources. A user will probably never set these fields so they should not be allowed for user supplied config |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good day!
Today I noticed a very weird thing. Flux Operator patches the CRDs on the fly:
https://github.com/controlplaneio-fluxcd/flux-operator/blob/feb4ccea6f0708585c720bbdce993a5e5421b562/internal/builder/profiles.go#L331
It means that in fact we are getting two variants of the same CRD.
The original one from FluxCD upstream distribution: https://github.com/controlplaneio-fluxcd/flux-operator/blob/main/config/data/flux/v2.6.4/notification-controller.yaml
And the one that appears in cluster after running Flux Operator...
The question is how we should handle this. Because obviously - there are two types of users - who uses operator and who uses bare Flux...
Beta Was this translation helpful? Give feedback.
All reactions