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
refactor(config)!: extract config interfaces to pkg/api/config (#566)
Decouples the pkg/kubernetes module from pkg/config by introducing
interfaces for configuration access. This allows pkg/kubernetes to
depend on abstractions rather than the concrete StaticConfig type.
Changes:
- Add AuthProvider, ClusterProvider, DeniedResourcesProvider, and
ExtendedProvider interfaces in pkg/api/config
- Move cluster provider strategy constants to pkg/api/config
- Move GroupVersionKind struct to pkg/api/config
- Update pkg/kubernetes to use the new interfaces
- StaticConfig now implements the Config interface
Signed-off-by: Marc Nuri <[email protected]>
0 commit comments