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

Use flux build internally for building fluxtomizations #390

Closed
allenporter opened this issue Nov 20, 2023 · 0 comments
Closed

Use flux build internally for building fluxtomizations #390

allenporter opened this issue Nov 20, 2023 · 0 comments

Comments

@allenporter
Copy link
Owner

A command like this:
$ flux build ks cluster-apps-kubernetes-dashboard --path tests/testdata/cluster2/apps/monitoring/kubernetes-dashboard/app --dry-run --kustomization-file tests/testdata/cluster2/apps/monitoring/kubernetes-dashboard/ks.yaml

can be used to build fluxtomizations rather than having them home grown and can better support flux features.

allenporter added a commit that referenced this issue Nov 20, 2023
Add flux dependency in development environment to prepare for calling
`flux build`
Issue #390
allenporter added a commit that referenced this issue Nov 23, 2023
Remove support for multiple clusters in a single path
This is a breaking change that removes the `name` and `namespace` fields
from the `Cluster` object so they no longer act like fake
kustomizations.


Issue #390
allenporter added a commit that referenced this issue Dec 17, 2023
Use `flux build ks` when building fluxtomizations, and remove all use
`kustomize build` as well as implicit kustomization file generation. Add
additional test coverage for a couple clusters to verify the build
output is reasonable.

This requires setting up the flux CLI in github actions:

```
    - name: Setup Flux CLI
      uses: fluxcd/flux2/action@v2.1.2
```


Breaking change: The python APIs for using `kustomize build` have been
removed.

Issue #390
allenporter added a commit that referenced this issue Dec 17, 2023
Update documentation examples to include flux cli

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