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: Allow policy checking #43

Closed
allenporter opened this issue Feb 12, 2023 · 1 comment
Closed

flux-local: Allow policy checking #43

allenporter opened this issue Feb 12, 2023 · 1 comment

Comments

@allenporter
Copy link
Owner

Broken out from #35

Update the flux-local cli to allow testing policies. The implementation will run kyverno cli against local policy files to verify that cluster resources confirm to spec ( example )

@allenporter
Copy link
Owner Author

Now that flux-local test has been improved in #71, this should be straight forward to connect with the existing policy and the validate library in

async def validate(self, policy_path: Path) -> None:

allenporter added a commit that referenced this issue Mar 6, 2023
Add ClusterPolicy objects to manifest for Issue #43 
Contains multiple performance improvements since we're adding another
object type to fetch, so now filtering will happen with fewer commands.
allenporter added a commit that referenced this issue Mar 7, 2023
Add kyverno policy checking e.g. 
```
flux-local test --enable-helm --enable-kyverno
```
Includes a breaking change for the `Kustomize.stash()` call.

Issue #43
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