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

Helm 3.9.4 #1547

Merged
merged 15 commits into from
Sep 28, 2022
Merged

Helm 3.9.4 #1547

merged 15 commits into from
Sep 28, 2022

Conversation

jmurret
Copy link
Member

@jmurret jmurret commented Sep 28, 2022

Description:
This is to fix this kubeconfig apiVersion error we see in CI for AWS EKS. It started when aws-cli upgraded its stable version.

error: error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"

Changes proposed in this PR:

  • helm to 3.9.4 in cli and CI
  • update consul-helm-test image to use latest aws-iam-authenticator version 0.5.9 which matches aws-cli
  • update CI to use 0.13.0 version consul-helm-test image which has this fix
  • update terraform/aws/eks to use version 17.24.0 so we can set kubeconfig_api_version = "client.authentication.k8s.io/v1beta1".

How I've tested this PR:

  • ran EKS acceptance test on this branch to see the failures and then ultimately see it get fixed in this pipeline

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...)

@jmurret jmurret force-pushed the jm/helm-3.9.4 branch 3 times, most recently from 5211922 to 7b42745 Compare September 28, 2022 18:19
@jmurret jmurret marked this pull request as ready for review September 28, 2022 22:17
Copy link
Contributor

@kschoche kschoche left a comment

Choose a reason for hiding this comment

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

Most excellent!

@@ -54,7 +54,8 @@ module "eks" {
count = var.cluster_count

source = "terraform-aws-modules/eks/aws"
version = "17.20.0"
version = "17.24.0"
kubeconfig_api_version = "client.authentication.k8s.io/v1beta1"
Copy link
Contributor

Choose a reason for hiding this comment

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

Not blocking, but was curious what does this do? I see that it's related to the error that you mentioned but was wondering why this line fixes it?

@jmurret jmurret merged commit b7f834c into main Sep 28, 2022
@jmurret jmurret deleted the jm/helm-3.9.4 branch September 28, 2022 22:48
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.

3 participants