You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to this commit there was a circular import in our mod graph. The redpanda
chart imported the operator for access to cluster config types and the operator
imported the redpanda chart.
It appears that go's resolution module uses two different versions of a module
to avoid the cycle while performing dependency resolution. The makes it
difficult to impossible to resolve dependency conflicts as the historical
module is uncontrollable[^1].
This commit severs the charts/redpanda <-> operator cycle by moving the secrets
and clusterconfiguration package into pkg. It also enforces the usage of
replaces for local modules and a tree dependency structure via a linter.
[^1]: This is based on brute force and observation. I could be incorrect about
this behavior and simply not know the correct incantation to correct issues.
0 commit comments