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

Looking for Flux version compatibility information #77

Closed
marians opened this issue Mar 25, 2024 · 1 comment
Closed

Looking for Flux version compatibility information #77

marians opened this issue Mar 25, 2024 · 1 comment

Comments

@marians
Copy link

marians commented Mar 25, 2024

What Flux version is required for Capacitor? It would be great to find this information in the README.

I tried adding the OCIRepository resource described in the README to a cluster and got as a result:

error: error validating "capacitor.yaml": error validating data: ValidationError(OCIRepository.spec.verify): unknown field "matchOIDCIdentity" in io.fluxcd.toolkit.source.v1beta2.OCIRepository.spec.verify

The according key matchOIDCIdentity has been introduced to the OCIRepository CRD in https://github.com/fluxcd/flux2/releases/tag/v2.2.0

Apart from that identity verification, it would be nice to know if Capacitor relied on any Flux version specific features.

@marians marians changed the title Looking for Flux compatibility information Looking for Flux version compatibility information Mar 25, 2024
@laszlocph
Copy link
Contributor

Thanks for the report.

The field in question was introduced in Flux v2.2.0. (source-controller v1.2.0), but it is not a mandatory thing. Just if someone wants to enable cosign based signature verification.

In general Capacitor requires Flux v2.0.0.
Made #79 to:

  • display compatibility note
  • and making cosign optional

Hope this helps. Now I removed the cosign part from the yaml. You can retry.

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