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

How would one be able to pass a setting file (with -Y) ? #197

Open
spastorclovr opened this issue Jan 14, 2025 · 1 comment
Open

How would one be able to pass a setting file (with -Y) ? #197

spastorclovr opened this issue Jan 14, 2025 · 1 comment

Comments

@spastorclovr
Copy link

General Question

I would need to be able to run the same KCL code but with a different set of options, provided in a setting files.
This would allow to target different environement (ic: kcl run -Y prod.yaml / kcl run -Y staging.yaml)

Is there a way to achieve this with the flux-kcl-controller?

Thanx!

@Peefy
Copy link
Contributor

Peefy commented Jan 14, 2025

May be we can set the spec.config.settings parameter.

But the configuration file needs to exist in the KCL code repository or be mounted on the cluster. I suggest writing the configuration in kcl.mod file or setting other fields in the spec.config, see details here.

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

2 participants