elegant-australia-91422
09/18/2022, 11:05 PMflytectl diff
feature (or does a version of this functionality already exist somewhere)? We'd like to implement a custom controller for Flux CD to manage Flyte project/domain/tra/cra config in a declarative manner that's consistent w/ the rest of our gitops infra.
Based on this example, if diff
was supported this seems like it'd be fairly straightforward. Curious if anyone else has thoughts/if others are applying gitops patterns to managing Flyte resourcesthankful-minister-83577
thankful-minister-83577
elegant-australia-91422
09/20/2022, 12:26 AMkubectl diff -f ...
to diff a set of manifests against the current cluster state
• I could envision a similar feature in flytectl
where one could diff a resource (ie. a project configuration defined in yaml). For ex, if the description in a project yaml changed, running flytectl diff project -f project.yaml
would output the delta between the state currently reflected in the cluster & the local configuration
◦ If this were possible with flytectl, I could imagine this naturally slotting into a category of gitops workflows that use the diff
command for reconciliation (ie. a controller that runs <command> diff
on an interval and applies changes to the cluster if the diff is nonempty)
More broadly, we're interested in managing flyte primitives like projects/domains/tras/cras in a gitops-style wayelegant-australia-91422
09/20/2022, 12:27 AMfreezing-airport-6809
freezing-airport-6809