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

[stable/aws-s3-proxy]: Support k8s 1.19 Ingress #481

Merged
merged 5 commits into from
Jun 13, 2023

Conversation

BlueHorn07
Copy link
Contributor

@BlueHorn07 BlueHorn07 commented Jun 13, 2023

Description

Ingress of aws-s3-proxy only support networking.k8s.io/v1beta1 and extensions/v1beta1, so it cannot be deployed over k8s 1.22 versions. (networking.k8s.io/v1 is supported starting with k8s 1.19.)

https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122

So, add if-else statements to support networking.k8s.io/v1 apiVersion. This change is compatible to k8s 1.19 under version, so don't worry :)

Checklist

  • Title of the PR starts with chart name (e.g. [stable/mychartname])
  • I have read the contribution instructions, bumped chart version and regenerated the docs
  • Github actions are passing

@BlueHorn07 BlueHorn07 requested a review from a team as a code owner June 13, 2023 10:50
Copy link
Member

@max-rocket-internet max-rocket-internet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say don't even bother with the conditional logic, a new version of the chart will be created so there's no need for backwards compatibilty but all good! Thanks @BlueHorn07 💙

@max-rocket-internet max-rocket-internet enabled auto-merge (squash) June 13, 2023 10:56
@BlueHorn07
Copy link
Contributor Author

Oh, I didn't bumped chart version! I will bump it to 0.1.4 🙏

auto-merge was automatically disabled June 13, 2023 10:58

Head branch was pushed to by a user without write access

@max-rocket-internet max-rocket-internet enabled auto-merge (squash) June 13, 2023 11:08
@max-rocket-internet max-rocket-internet merged commit e6d4120 into deliveryhero:master Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants