Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

build: Use KinD for syncing helm chart resources #1518

Merged

Conversation

jimmidyson
Copy link
Contributor

@jimmidyson jimmidyson commented Aug 9, 2022

Previously this was using kubebuilder provided API server and etcd, but these were very out of date (k8s v1.16), leading to potentially out of date resources and difficulties upgrading to later APIs that were not available in v1.16 (e.g. networking.k8s.io/v1).

This commit fixes this by using KinD as the cluster to discover resources to
sync to the Helm chart.

Previously this was using kubebuilder provided API server and etcd, but these
were very out of date (k8s v1.16), leading to potentially out of date resources
and difficulties upgrading to later APIs that were not available in v1.16 (e.g.
`networking.k8s.io/v1`).

This commit fixes this by using KinD as the cluster to discover resources to
sync to the Helm chart.
@jimmidyson jimmidyson requested a review from makkes August 9, 2022 08:29
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 9, 2022
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 9, 2022
Copy link
Contributor

@makkes makkes left a comment

Choose a reason for hiding this comment

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

I'm not sure if any of the documentation is affected by this and I don't have the time to verify it. If you would mind checking this @jimmidyson, please? Otherwise lgtm.

@jimmidyson
Copy link
Contributor Author

Hi @makkes. This doesn't affect the docs but it reminds me that the next PR does so I'll update docs in there.

@makkes
Copy link
Contributor

makkes commented Aug 9, 2022

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jimmidyson, makkes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 9, 2022
@k8s-ci-robot k8s-ci-robot merged commit a7b98d1 into kubernetes-retired:master Aug 9, 2022
@jimmidyson jimmidyson deleted the use-kind-for-generation branch August 9, 2022 09:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants