Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flux-local command line tool #35

Closed
allenporter opened this issue Feb 11, 2023 · 2 comments
Closed

flux-local command line tool #35

allenporter opened this issue Feb 11, 2023 · 2 comments

Comments

@allenporter
Copy link
Owner

allenporter commented Feb 11, 2023

The flux-local command line till will run the various tests in the library with the goal of meeting these use cases:

  • Run kustomize build on the cluster resources as a test to run before committing code, either as a pre-commit or a manually run tests ( example ), or run in CI ( example This will support overlays and multi-cluster repos like the existing tests for my k8s-gitops repo.
  • Run the above, but also expanding HelmRelease for a specific chart version. The primary use case is to assist with HelmRelease version upgrades ( example ). This includes pulling in necessary HelmRepository objects from the cluster.
  • Run the above, but also run kyverno cli policies to verify that cluster resources confirm to spec ( example )
  • Support a diff command on HelmRelease objects to support upgrades (example cubic3d's diff-hr-on-pr )

You can do all of this today with the above references, so we're just pulling this together these various resources, but is complex to get to support all working together and supporting overlays, multi-cluster, or policies.

@allenporter
Copy link
Owner Author

allenporter commented Feb 11, 2023

Work Items:

@allenporter allenporter changed the title Flux-local command line tool flux-local command line tool Feb 11, 2023
allenporter added a commit that referenced this issue Feb 11, 2023
Add a flux-local command line tool

Issue #35
allenporter added a commit that referenced this issue Feb 11, 2023
allenporter added a commit that referenced this issue Feb 12, 2023
allenporter added a commit that referenced this issue Feb 12, 2023
@allenporter
Copy link
Owner Author

The remaining items will be tracked separately.

allenporter added a commit that referenced this issue Feb 12, 2023
Add a command `flux-local get` to support Kustomizations and
HelmReleases
Issue #35 
Rename submodule for exported APIs which happened in #40
allenporter added a commit that referenced this issue Feb 13, 2023
Improve flux-local diff for kustomizations

Issue #35
allenporter added a commit that referenced this issue Feb 18, 2023
Add flux-local hr diff command, and update the documentation.

This includes a breaking change to the path argument, making it an
optional flag rather than an optional positional.

Issue #35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant