vcluster icon indicating copy to clipboard operation
vcluster copied to clipboard

Create sub-directories in config for versions

Open rmweir opened this issue 1 year ago • 1 comments

Some vcluster config logic is version specific. Splitting the config package into version specific sub-directories helps maintain backwards compatibility for package consumers. The subdirectories allow us to use version specific code as needed without carrying it forward to newer versions, creating unnecessary technical debt. Separate go module versions were proposed as an alternative but were rejected in favor of sub-directories for now, as sub-directories are simpler to implement and does not necessitate consumers to import multiple modules.

What issue type does this pull request address? (keep at least one, remove the others) /kind enhancement

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible) resolves #

Please provide a short message that should be published in the vcluster release notes

What else do we need to know?

rmweir avatar Sep 25 '24 22:09 rmweir

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
Latest commit 9485d98353b9818078b3bd18d336cdac7bdf59a2
Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/66f9660b64ee1200083d9390

netlify[bot] avatar Sep 25 '24 22:09 netlify[bot]

Moving to different solution: removing config dependence entirely entirely.

rmweir avatar Jan 31 '25 00:01 rmweir