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

Upgrade controller runtime 0.8.3 and K8s 1.20 #1207

Merged
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9ddf00d
Build docker image for juice, To #37688693
cheyang Nov 26, 2021
f1a694c
Update go mod, To #37688693
cheyang Nov 26, 2021
e95a7b5
Update go mod, To #37688693
cheyang Nov 26, 2021
f9a6117
Update go mod, To #37688693
cheyang Nov 26, 2021
a8bfdac
Adopt the interface of controller runtime, To #37688693
cheyang Nov 27, 2021
fb76b41
Adopt the interface of controller runtime, To #37688693
cheyang Nov 27, 2021
71a6d10
Generate openapi, To #37688693
cheyang Nov 27, 2021
d60d022
Adopt the interface of controller runtime, To #37688693
cheyang Nov 27, 2021
8c929d2
Adopt the interface of controller runtime, To #37688693
cheyang Nov 27, 2021
3dcd5a5
Generate openapi, To #37688693
cheyang Nov 27, 2021
a31ce2e
Update crds, To #37688693
cheyang Nov 27, 2021
c0f3c89
Adopt the interface of controller runtime, To #37688693
cheyang Nov 27, 2021
36ef59d
Adopt the testcase change of controller runtime, To #37688693
cheyang Nov 27, 2021
c3a0cf0
Adopt the logger change of controller runtime, To #37688693
cheyang Nov 27, 2021
4900651
Fix testcase failed, To #37688693
cheyang Nov 27, 2021
73cf425
Fix testcase failed, To #37688693
cheyang Nov 27, 2021
3381f1e
Support CSI driver both v1 and v1beta1, To #37688693
cheyang Nov 27, 2021
c528c99
Support CSI driver both v1 and v1beta1, To #37688693
cheyang Nov 27, 2021
6e5ebdb
Support CSI driver both v1 and v1beta1, To #37688693
cheyang Nov 27, 2021
69f686b
Support CSI driver both v1 and v1beta1, To #37688693
cheyang Nov 28, 2021
7cc69d2
Support CSI driver both v1 and v1beta1, To #37688693
cheyang Nov 28, 2021
ef5b119
Update klog to klog v2, To #37688693
cheyang Nov 28, 2021
2a49ba5
Update go.mod, To #37688693
cheyang Nov 28, 2021
8312dc8
Update for K8s version support, To #37688693
cheyang Nov 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
CRD_OPTIONS ?= "crd:trivialVersions=true"
CRD_OPTIONS ?= "crd"

# The Image URL to use in docker build and push
# IMG_REPO ?= registry.aliyuncs.com/fluid
Expand Down Expand Up @@ -188,7 +188,7 @@ ifeq (, $(shell which controller-gen))
cd $$CONTROLLER_GEN_TMP_DIR ;\
export GO111MODULE=on ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.3.0 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.7.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/alluxioruntime_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ type AlluxioRuntimeSpec struct {
// +kubebuilder:printcolumn:name="Fuse Phase",type="string",JSONPath=`.status.fusePhase`,priority=0
// +kubebuilder:printcolumn:name="API Gateway",type="string",JSONPath=`.status.apiGateway.endpoint`,priority=10
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`,priority=0
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=alluxio
// +genclient

// AlluxioRuntime is the Schema for the alluxioruntimes API
Expand All @@ -266,6 +268,7 @@ type AlluxioRuntime struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// AlluxioRuntimeList contains a list of AlluxioRuntime
type AlluxioRuntimeList struct {
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/databackup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ type DataBackupStatus struct {
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=backup
// +genclient

// DataBackup is the Schema for the backup API
Expand All @@ -73,6 +75,7 @@ type DataBackup struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// DataBackupList contains a list of DataBackup
type DataBackupList struct {
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/dataload_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ type DataLoadStatus struct {
// +kubebuilder:printcolumn:name="Duration",type="string",JSONPath=`.status.duration`
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=load
// +genclient

// DataLoad is the Schema for the dataloads API
Expand All @@ -85,6 +87,7 @@ type DataLoad struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// DataLoadList contains a list of DataLoad
type DataLoadList struct {
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/dataset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ type DatasetCondition struct {
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=dataset
// +genclient

// Dataset is the Schema for the datasets API
Expand All @@ -273,6 +275,7 @@ type Dataset struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// DatasetList contains a list of Dataset
type DatasetList struct {
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/goosefsruntime_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ type GooseFSRuntimeSpec struct {
// +kubebuilder:printcolumn:name="Fuse Phase",type="string",JSONPath=`.status.fusePhase`,priority=0
// +kubebuilder:printcolumn:name="API Gateway",type="string",JSONPath=`.status.apiGateway.endpoint`,priority=10
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`,priority=0
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=goose
// +genclient

// GooseFSRuntime is the Schema for the goosefsruntimes API
Expand All @@ -189,6 +191,7 @@ type GooseFSRuntime struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// GooseFSRuntimeList contains a list of GooseFSRuntime
type GooseFSRuntimeList struct {
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/jindoruntime_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ type JindoRuntimeSpec struct {
// +kubebuilder:printcolumn:name="Desired Fuses",type="integer",JSONPath=`.status.desiredFuseNumberScheduled`,priority=10
// +kubebuilder:printcolumn:name="Fuse Phase",type="string",JSONPath=`.status.fusePhase`,priority=0
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=`.metadata.creationTimestamp`,priority=0
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=jindo
// +genclient

// JindoRuntime is the Schema for the jindoruntimes API
Expand All @@ -180,6 +182,7 @@ type JindoRuntime struct {
}

// +kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// JindoRuntimeList contains a list of JindoRuntime
type JindoRuntimeList struct {
Expand Down
3 changes: 3 additions & 0 deletions api/v1alpha1/juicefsruntime_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ type JuiceFSFuseSpec struct {
// +kubebuilder:printcolumn:name="Ready Fuses",type="integer",JSONPath=`.status.fuseNumberReady`,priority=10
// +kubebuilder:printcolumn:name="Desired Fuses",type="integer",JSONPath=`.status.desiredFuseNumberScheduled`,priority=10
// +kubebuilder:printcolumn:name="Fuse Phase",type="string",JSONPath=`.status.fusePhase`,priority=0
// +kubebuilder:resource:scope=Namespaced
// +kubebuilder:resource:categories={fluid},shortName=juicefs
// +genclient

// JuiceFSRuntime is the Schema for the juicefsruntimes API
Expand All @@ -139,6 +141,7 @@ type JuiceFSRuntime struct {
}

//+kubebuilder:object:root=true
// +kubebuilder:resource:scope=Namespaced

// JuiceFSRuntimeList contains a list of JuiceFSRuntime
type JuiceFSRuntimeList struct {
Expand Down
1 change: 0 additions & 1 deletion api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion charts/fluid/fluid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ version: 0.7.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.7.0-2d63263
appVersion: 0.7.0-69f686b
home: https://github.com/fluid-cloudnative/fluid
keywords:
- category:data
Expand Down
Loading