-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* capx clusterclass support have kept the go/v3 kuberbuilder scffolding as is so reduce the code churn * updated yamls and their kustomize files. also review comments incorporated * made user-ca-bundle cluster specific and separated cluster and clusterclass * fixed typos * updated eviction policy and master merge template fixes * merged ccm related changed with the new yaml templates * added first jsonPatches in clusterclass template and cluster topology * added controlPlaneEnpoint variable in clusterclass * added pc endpoint details in patches and variables * fixed nct * added nmt patches for cp and md * reverted removal of ccm ca bundle config map and added test * fixed makefile and docs with correct commands * now using infrav1 instead of kubebuilder default for latest version * update the docs * e2e test fixes * removed sample file for nutanixclustertemplate * added cni-crs related patch * updated test to match the fields * separated dev test makefile commands into separate file this is done to improve maintainability * yaml location * updated name of cm to make the test pass This is required as currently ccm-update.yaml vars are not getting replaced thru code.
- Loading branch information
1 parent
ba2b194
commit d5cf036
Showing
72 changed files
with
3,123 additions
and
242 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
Copyright 2022 Nutanix | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
package v1beta1 | ||
|
||
import ( | ||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
) | ||
|
||
// NutanixClusterTemplateSpec defines the desired state of NutanixClusterTemplate | ||
type NutanixClusterTemplateSpec struct { | ||
Template NutanixClusterTemplateResource `json:"template"` | ||
} | ||
|
||
//+kubebuilder:object:root=true | ||
//+kubebuilder:resource:categories=cluster-api | ||
|
||
// NutanixClusterTemplate is the Schema for the nutanixclustertemplates API | ||
type NutanixClusterTemplate struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ObjectMeta `json:"metadata,omitempty"` | ||
|
||
Spec NutanixClusterTemplateSpec `json:"spec,omitempty"` | ||
} | ||
|
||
//+kubebuilder:object:root=true | ||
|
||
// NutanixClusterTemplateList contains a list of NutanixClusterTemplate | ||
type NutanixClusterTemplateList struct { | ||
metav1.TypeMeta `json:",inline"` | ||
metav1.ListMeta `json:"metadata,omitempty"` | ||
Items []NutanixClusterTemplate `json:"items"` | ||
} | ||
|
||
func init() { | ||
SchemeBuilder.Register(&NutanixClusterTemplate{}, &NutanixClusterTemplateList{}) | ||
} | ||
|
||
// NutanixClusterTemplateResource describes the data needed to create a NutanixCluster from a template. | ||
type NutanixClusterTemplateResource struct { | ||
Spec NutanixClusterSpec `json:"spec"` | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.