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

Mw/net 4605 consul k8s pin cloud tests to latest supported kubernetes version for that release 1 0 #2464

Conversation

wilkermichael
Copy link
Contributor

@wilkermichael wilkermichael commented Jun 27, 2023

Changes proposed in this PR:

  • This backports 3c56558 and sets the kubernetes version for cloud tests to the latest supported by Consul-K8s 1.0 which is kubernetes 1.25

How I've tested this PR:
https://github.com/hashicorp/consul-k8s-workflows/actions/runs/5392938127/jobs/9793690720

  • I wanted to just verify that all terraform applies work, but the EKS apply is failing. This seems to be unrelated as it is also affecting the main branch.

How I expect reviewers to test this PR:
👀

Checklist:

  • Tests added
  • CHANGELOG entry added

    HashiCorp engineers only, community PRs should not add a changelog entry.
    Entries should use present tense (e.g. Add support for...)

@wilkermichael wilkermichael added pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry labels Jun 27, 2023
@wilkermichael wilkermichael force-pushed the mw/NET-4605-Consul-k8s-Pin-Cloud-tests-to-latest-supported-kubernetes-version-for-that-release-1-0 branch from 3744f16 to 6f828f0 Compare June 27, 2023 17:39
@@ -45,7 +55,7 @@ resource "azurerm_kubernetes_cluster" "default" {
location = azurerm_resource_group.default[count.index].location
resource_group_name = azurerm_resource_group.default[count.index].name
dns_prefix = "consul-k8s-${random_id.suffix[count.index].dec}"
kubernetes_version = "1.24.6"
kubernetes_version = "1.25"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only field modified from the cherrypick

@@ -58,7 +68,7 @@ module "eks" {
kubeconfig_api_version = "client.authentication.k8s.io/v1beta1"

cluster_name = "consul-k8s-${random_id.suffix[count.index].dec}"
cluster_version = "1.23"
cluster_version = "1.25"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only field modified from the cherrypick

@@ -18,7 +18,7 @@ jobs:
- uses: benc-uk/workflow-dispatch@v1.2.2
name: test
with:
workflow: test.yml
workflow: cloud.yml
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't forget to drop this

* update eks and aks to use latest kubernetes version

* updated the terraform provider as some fields were deprecated
@wilkermichael wilkermichael force-pushed the mw/NET-4605-Consul-k8s-Pin-Cloud-tests-to-latest-supported-kubernetes-version-for-that-release-1-0 branch from 6f828f0 to 5614f07 Compare June 27, 2023 19:43
Copy link
Contributor

@ndhanushkodi ndhanushkodi left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for updating the terraform versions too!

@wilkermichael wilkermichael merged commit 2b45e19 into release/1.0.x Jun 28, 2023
@wilkermichael wilkermichael deleted the mw/NET-4605-Consul-k8s-Pin-Cloud-tests-to-latest-supported-kubernetes-version-for-that-release-1-0 branch June 28, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants