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

Preparation for k8s 1.22 update #512

Merged
merged 4 commits into from
Oct 25, 2022
Merged

Preparation for k8s 1.22 update #512

merged 4 commits into from
Oct 25, 2022

Conversation

heronrs
Copy link
Contributor

@heronrs heronrs commented Oct 21, 2022

What is the feature/fix?

This will update some k8s deprecated ingress resources we use in terraform and also update the metrics server deployment.
I also made some tweaks on the nginx deployment as the current config has some known bugs.

Add screenshot or video (optional)

** Any screenshot or video capture using the feature **

Does it has a breaking change?

Nope

How to use/test it?

The current e2e tests should cover it, as it communicated with the API server.

Checklist

  • New coverage tests - not needed, it's a simple tf change
  • Unit tests passing
  • E2E tests passing
  • E2E downgrade/update test passing
  • Documentation updated
  • No warnings or errors on Deepsource/Codecov

@@ -268,7 +268,7 @@ resource "kubernetes_service" "api" {
}
}

resource "kubernetes_ingress" "api" {
resource "kubernetes_ingress_v1" "api" {
Copy link
Contributor Author

@heronrs heronrs Oct 21, 2022

Choose a reason for hiding this comment

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

If we do this type of change while also updating to k8s 1.22, terraform will fail to delete the previous ingress resource bc the resource spec was removed in 1.22

Copy link
Contributor Author

@heronrs heronrs left a comment

Choose a reason for hiding this comment

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

Clarification

Copy link
Contributor

@Twsouza Twsouza left a comment

Choose a reason for hiding this comment

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

🔥

@heronrs heronrs merged commit 486b628 into master Oct 25, 2022
@heronrs heronrs deleted the k8s-deprecated-resources branch October 25, 2022 13:41
@heronrs heronrs mentioned this pull request Oct 25, 2022
6 tasks
heronrs added a commit that referenced this pull request Oct 29, 2022
heronrs added a commit that referenced this pull request Oct 29, 2022
* Revert "Update csi terraform module and specify custom tolerations for the manifests (#514)"

This reverts commit 33c61df.

* Revert "Preparation for k8s 1.22 update (#512)"

This reverts commit 486b628.
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.

None yet

4 participants