Hey
@thankful-minister-83577, happy to provide some more details:
• For K8s resources, one can use
kubectl 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 way