weaveworks / gitopssets-controller

Manages the GitOpsSet CRDs.
Apache License 2.0
9 stars 5 forks source link

Bump matrix #76

Closed bigkevmcd closed 1 year ago

bigkevmcd commented 1 year ago

Allow Matrix to contain more than two generators.

This updates the cartesian mechanism to handle more than just two elements.

THIS IS BASED OFF #74

Fixes #75

bigkevmcd commented 1 year ago

We try and increment the index of the last slice, if it overflows, set it to 0 and try and again on the 2nd last slice etc.

I'm happy to add more to the comment to clarify it if you think it will help?