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

Update Kubernetes support to Kubernetes v1.24.0 #1911

Merged
merged 3 commits into from
May 3, 2022
Merged

Conversation

viveklak
Copy link
Contributor

Proposed changes

Related issues (optional)

@viveklak viveklak marked this pull request as draft February 17, 2022 07:36
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@viveklak viveklak added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Mar 29, 2022
@github-actions
Copy link

Does the PR have any schema changes?

Found 4 breaking changes:
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing

New resources:

  • kubernetes:storage.k8s.io/v1:CSIStorageCapacity
  • kubernetes:storage.k8s.io/v1:CSIStorageCapacityList

@viveklak
Copy link
Contributor Author

@lblackstone looks like v1alpha1:CSIStorageCapacity and v1alpha1:CSIStorageCapacityList are no longer being served in 1.24 - kubernetes/kubernetes#109151 (comment). Do we need to add it to the deprecated.go file?

@@ -32,7 +32,7 @@ ensure::
cd tests && go mod tidy

k8sgen::
(cd provider && CGO_ENABLED=0 go build -o $(WORKING_DIR)/bin/${CODEGEN} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/$(CODEGEN))
(cd provider && CGO_ENABLED=1 go build -o $(WORKING_DIR)/bin/${CODEGEN} -ldflags "-X ${PROJECT}/${VERSION_PATH}=${VERSION}" ${PROJECT}/${PROVIDER_PATH}/cmd/$(CODEGEN))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks like the github.com/rjeczalik/notify CGO switch is also affecting us here.

Copy link
Contributor

Choose a reason for hiding this comment

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

We will need to update goreleaser 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.

Maybe we pull this out and make the fixes to the build system separately rather than getting stuck behind the 1.24.0 release?

@lblackstone
Copy link
Member

@lblackstone looks like v1alpha1:CSIStorageCapacity and v1alpha1:CSIStorageCapacityList are no longer being served in 1.24 - kubernetes/kubernetes#109151 (comment). Do we need to add it to the deprecated.go file?

Yeah, we should update the deprecation logic, and also want to make sure that thew v1alpha1 version is included in the list of aliases. It looks like it's not because the API was removed, so we'll need to patch that in.

@viveklak
Copy link
Contributor Author

@lblackstone looks like v1alpha1:CSIStorageCapacity and v1alpha1:CSIStorageCapacityList are no longer being served in 1.24 - kubernetes/kubernetes#109151 (comment). Do we need to add it to the deprecated.go file?

Yeah, we should update the deprecation logic, and also want to make sure that thew v1alpha1 version is included in the list of aliases. It looks like it's not because the API was removed, so we'll need to patch that in.

Yeah we should add the alias. Sounds good, will do! We still have time it seems for the 1.24.0 release (May 3rd)

@lblackstone lblackstone force-pushed the vl/WIP1.24.0 branch 2 times, most recently from 9e90714 to eec8cfc Compare April 21, 2022 20:34
@github-actions
Copy link

Does the PR have any schema changes?

Found 4 breaking changes:
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing

New resources:

  • kubernetes:storage.k8s.io/v1:CSIStorageCapacity
  • kubernetes:storage.k8s.io/v1:CSIStorageCapacityList

@github-actions
Copy link

Does the PR have any schema changes?

Found 4 breaking changes:
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing

New resources:

  • kubernetes:storage.k8s.io/v1:CSIStorageCapacity
  • kubernetes:storage.k8s.io/v1:CSIStorageCapacityList

@github-actions
Copy link

github-actions bot commented May 2, 2022

Does the PR have any schema changes?

Found 4 breaking changes:
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing
Resource "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacity" missing
Type "kubernetes:storage.k8s.io/v1alpha1:CSIStorageCapacityList" missing

New resources:

  • kubernetes:storage.k8s.io/v1:CSIStorageCapacity
  • kubernetes:storage.k8s.io/v1:CSIStorageCapacityList

@lblackstone lblackstone changed the title [WIP] Update Kubernetes support to Kubernetes 1.24.0 Update Kubernetes support to Kubernetes v1.24.0 May 3, 2022
@lblackstone lblackstone marked this pull request as ready for review May 3, 2022 21:31
@lblackstone lblackstone enabled auto-merge (squash) May 3, 2022 21:32
@lblackstone lblackstone merged commit 5afdd36 into master May 3, 2022
@pulumi-bot pulumi-bot deleted the vl/WIP1.24.0 branch May 3, 2022 21:33
@github-actions
Copy link

github-actions bot commented May 3, 2022

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants