Skip to content

Commit

Permalink
migrate to kubebuilder v3
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
  • Loading branch information
MUzairS15 committed Mar 15, 2024
1 parent 993910a commit 3c673c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ endif
# Image URL to use all building/pushing image targets
IMG ?= layer5/meshery-operator:stable-latest

# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
CRD_OPTIONS ?= "crd:trivialVersions=true"
CRD_OPTIONS ?= "crd"


# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
Expand Down
27 changes: 16 additions & 11 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
domain: layer5.io
layout: go.kubebuilder.io/v2
layout: go.kubebuilder.io/v3
projectName: meshery-operator
repo: github.com/layer5io/meshery-operator
resources:
-
# TODO(user): Uncomment the below line if this resource implements a controller, else delete it.
# controller: true
domain: layer5.io
group: meshery
kind: MeshSync
# TODO(user): Update the package path for your API if the below value is incorrect.
path: github.com/layer5io/meshery-operator/api/v1alpha1
version: v1alpha1
- # TODO(user): Uncomment the below line if this resource implements a controller, else delete it.
# controller: true
domain: layer5.io
group: meshery
kind: MeshSync
# TODO(user): Update the package path for your API if the below value is incorrect.
path: github.com/layer5io/meshery-operator/api/v1alpha1
version: v1alpha1
- domain: layer5.io
group: meshery
kind: Broker
# TODO(user): Update the package path for your API if the below value is incorrect.
path: github.com/layer5io/meshery-operator/api/v1alpha1
version: v1alpha1
version: "3"
plugins:
go.sdk.operatorframework.io/v2-alpha: {}
go.sdk.operatorframework.io/v3-alpha: {}

0 comments on commit 3c673c0

Please sign in to comment.