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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

update kind to kubernetes-1.25 and mark Kubernetes-1.25 supported #1726

Merged
merged 4 commits into from Nov 17, 2022

Conversation

kschoche
Copy link
Contributor

@kschoche kschoche commented Nov 16, 2022

Changes proposed in this PR:

  • Update CI to test with Kubernetes-1.25 for acceptance tests.
  • Adds a fix to the webhook-cert-manager PSP so that it is not deployed unless PSP are enabled + bats tests.

How I've tested this PR:
acceptance tests still pass: https://app.circleci.com/pipelines/github/hashicorp/consul-k8s/9531/workflows/75acb13f-c9ea-4838-8f38-a994da93f860/jobs/66796

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

@kschoche kschoche changed the title [test] update kind to kubernetes-1.25 update kind to kubernetes-1.25 and mark Kubernetes-1.25 supported Nov 16, 2022
@kschoche kschoche marked this pull request as ready for review November 16, 2022 17:30
@kschoche kschoche requested review from a team, jmurret and wilkermichael and removed request for a team November 16, 2022 17:30
Copy link
Contributor

@jmurret jmurret left a comment

Choose a reason for hiding this comment

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

馃敟 馃帀 thank you!

@@ -573,7 +573,7 @@ jobs:
- checkout
- install-prereqs
- create-kind-clusters:
version: "v1.24.4"
version: "v1.25.3"
Copy link
Contributor

Choose a reason for hiding this comment

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

latest release is 1.25.4, just want to verify if that should be reflected here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh weird, I looked a couple hours ago and 1.25.3 was the latest! let me look..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

From the kind release page:
The default node image is a Kubernetes v1.25.3 .. so I guess it makes sense to stay with the defaults for the latest version of Kind?

CHANGELOG.md Outdated Show resolved Hide resolved
@@ -7,6 +7,16 @@ load _helpers
assert_empty helm template \
-s templates/webhook-cert-manager-podsecuritypolicy.yaml \
--set 'connectInject.enabled=false' \
--set 'global.enablePodSecurityPolicies=true' \
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be disabled as per the test case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be connect:false and psp: true, we're testing if turning off connect makes the PSP not template out.

Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
@kschoche kschoche merged commit 86e7f50 into main Nov 17, 2022
@kschoche kschoche deleted the test_kubernetes_125 branch November 17, 2022 15:13
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

5 participants