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

Multiversion CRDs & Conversion Webhooks #321

Merged
merged 11 commits into from
Jan 29, 2024

Commits on Jan 29, 2024

  1. Support for multiversion CRDs & conversion webhooks

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    41e83d8 View commit details
    Browse the repository at this point in the history
  2. Rename ConversionConvertable as ConversionSpoke

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    97359b8 View commit details
    Browse the repository at this point in the history
  3. Add round-trip version converter

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    3030fb0 View commit details
    Browse the repository at this point in the history
  4. Add webhook conversion registry

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    e58e4b8 View commit details
    Browse the repository at this point in the history
  5. Fix linter issues

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    584a442 View commit details
    Browse the repository at this point in the history
  6. Differentiate the names of the generated conversion hub and spoke files

    - Do not generate empty conversion hub or spoke files.
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    a5a315e View commit details
    Browse the repository at this point in the history
  7. Only start the conversion webhooks if they are enabled via the contro…

    …ller.Options.StartWebhooks
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    97ce3ac View commit details
    Browse the repository at this point in the history
  8. Add unit tests for the conversion package

    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    77fba47 View commit details
    Browse the repository at this point in the history
  9. Add customConverter struct for supporting the Custom Converters

    Signed-off-by: Sergen Yalçın <yalcinsergen97@gmail.com>
    sergenyalcin authored and ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b9d2b30 View commit details
    Browse the repository at this point in the history
  10. Rename conversion.TerraformedConversion to conversion.ManagedConversion

    - Add unit tests for conversion.RoundTrip
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    a85dded View commit details
    Browse the repository at this point in the history
  11. Do not set the latest version as the storage version for smoother dow…

    …ngrades
    
    Signed-off-by: Alper Rifat Ulucinar <ulucinar@users.noreply.github.com>
    ulucinar committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    fa398eb View commit details
    Browse the repository at this point in the history