-
Notifications
You must be signed in to change notification settings - Fork 209
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
feat: add support for gke clusterclass #1442
base: main
Are you sure you want to change the base?
feat: add support for gke clusterclass #1442
Conversation
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: salasberryfin The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-cluster-api-gcp ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
29808fb
to
93c4e3d
Compare
833f5a4
to
8def4a9
Compare
7856476
to
36977fa
Compare
var _ webhook.Validator = &GCPManagedClusterTemplate{} | ||
|
||
// ValidateCreate implements webhook.Validator so a webhook will be registered for the type. | ||
func (r *GCPManagedClusterTemplate) ValidateCreate() (admission.Warnings, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need a webhook if it's empty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think GCPManagedClusterTemplate
needs to implement ValidateCreate
, ValidateUpdate
and ValidateDelete
to be used as Validator
.
36977fa
to
7e60a2b
Compare
Signed-off-by: Carlos Salas <[email protected]>
7e60a2b
to
f8cd86f
Compare
@salasberryfin: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Still work-in-progress but would appreciate any comments/reviews.
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds support for managed clusters (GKE) provisioning using ClusterClass, implementing the template types required to satisfy the CAPI contract.
Pending: adding e2e tests and sample templates
Which issue(s) this PR fixes:
Fixes #1387
Special notes for your reviewer:
Changes affect the experimental GKE feature which hopefully helps with publishing changes in the API.
Follow-ups:
TODOs:
Release note: