Skip to content

Commit

Permalink
Merge pull request #489 from k8s-infra-cherrypick-robot/cherry-pick-4…
Browse files Browse the repository at this point in the history
…87-to-release-1.5

[release-1.5] bumping CRD to v1beta1 and move scope into namespaced
  • Loading branch information
k8s-ci-robot authored Apr 24, 2023
2 parents 45531da + 3cafe98 commit 0f0046e
Show file tree
Hide file tree
Showing 38 changed files with 600 additions and 488 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ limitations under the License.
// +k8s:deepcopy-gen=package
// +groupName=multishare.filestore.csi.storage.gke.io

// Package v1alpha1 is the v1alpha1 version of the API.
package v1alpha1 // import "sigs.k8s.io/gcp-filestore-csi-driver/pkg/apis/multishare_filestore/v1alpha1"
// Package v1beta1 is the v1beta1 version of the API.
package v1beta1 // import "sigs.k8s.io/gcp-filestore-csi-driver/pkg/apis/multishare_filestore/v1beta1"
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1alpha1
package v1beta1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand All @@ -25,7 +25,7 @@ import (
)

// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: multishare.GroupName, Version: "v1alpha1"}
var SchemeGroupVersion = schema.GroupVersion{Group: multishare.GroupName, Version: "v1beta1"}

// Kind takes an unqualified kind and returns back a Group qualified GroupKind
func Kind(kind string) schema.GroupKind {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1alpha1
package v1beta1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ShareInfo is a specification for a Foo resource
Expand Down Expand Up @@ -72,7 +71,6 @@ type ShareInfoList struct {
}

// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

// ShareInfo is a specification for a Foo resource
Expand Down

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

16 changes: 8 additions & 8 deletions pkg/client/clientset/versioned/clientset.go

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

10 changes: 5 additions & 5 deletions pkg/client/clientset/versioned/fake/clientset_generated.go

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

4 changes: 2 additions & 2 deletions pkg/client/clientset/versioned/fake/register.go

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

4 changes: 2 additions & 2 deletions pkg/client/clientset/versioned/scheme/register.go

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

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

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

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

Loading

0 comments on commit 0f0046e

Please sign in to comment.