Skip to content

Commit e41bc8f

Browse files
author
Per Goncalves da Silva
committed
⚠️ Bump CatalogExtension API to v1
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent 02d2879 commit e41bc8f

File tree

51 files changed

+82
-82
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+82
-82
lines changed

PROJECT

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ resources:
2020
domain: operatorframework.io
2121
group: olm
2222
kind: Extension
23-
path: github.com/operator-framework/operator-controller/api/v1alpha1
24-
version: v1alpha1
23+
path: github.com/operator-framework/operator-controller/api/v1
24+
version: v1
2525
version: "3"

api/v1alpha1/clusterextension_types.go renamed to api/v1/clusterextension_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v1alpha1
17+
package v1
1818

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

api/v1alpha1/clusterextension_types_test.go renamed to api/v1/clusterextension_types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package v1alpha1_test
1+
package v1_test
22

33
import (
44
"fmt"

api/v1alpha1/groupversion_info.go renamed to api/v1/groupversion_info.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Package v1alpha1 contains API Schema definitions for the olm v1alpha1 API group
17+
// Package v1 contains API Schema definitions for the olm v1alpha1 API group
1818
// +kubebuilder:object:generate=true
1919
// +groupName=olm.operatorframework.io
20-
package v1alpha1
20+
package v1
2121

2222
import (
2323
"k8s.io/apimachinery/pkg/runtime/schema"
@@ -26,7 +26,7 @@ import (
2626

2727
var (
2828
// GroupVersion is group version used to register these objects
29-
GroupVersion = schema.GroupVersion{Group: "olm.operatorframework.io", Version: "v1alpha1"}
29+
GroupVersion = schema.GroupVersion{Group: "olm.operatorframework.io", Version: "v1"}
3030

3131
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
3232
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

api/v1alpha1/zz_generated.deepcopy.go renamed to api/v1/zz_generated.deepcopy.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/manager/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import (
4444
catalogd "github.com/operator-framework/catalogd/api/core/v1alpha1"
4545
helmclient "github.com/operator-framework/helm-operator-plugins/pkg/client"
4646

47-
ocv1alpha1 "github.com/operator-framework/operator-controller/api/v1alpha1"
47+
ocv1alpha1 "github.com/operator-framework/operator-controller/api/v1"
4848
"github.com/operator-framework/operator-controller/internal/action"
4949
"github.com/operator-framework/operator-controller/internal/applier"
5050
"github.com/operator-framework/operator-controller/internal/authentication"

config/base/crd/bases/olm.operatorframework.io_clusterextensions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
singular: clusterextension
1515
scope: Cluster
1616
versions:
17-
- name: v1alpha1
17+
- name: v1
1818
schema:
1919
openAPIV3Schema:
2020
description: ClusterExtension is the Schema for the clusterextensions API

config/components/ca/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: kustomize.config.k8s.io/v1alpha1
1+
apiVersion: kustomize.config.k8s.io/v1
22
kind: Component
33
# No namespace is specified here, otherwise, it will overwrite _all_ the other namespaces!
44
resources:

config/components/coverage/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: kustomize.config.k8s.io/v1alpha1
1+
apiVersion: kustomize.config.k8s.io/v1
22
kind: Component
33
namespace: olmv1-system
44
resources:

config/components/registries-conf/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: kustomize.config.k8s.io/v1alpha1
1+
apiVersion: kustomize.config.k8s.io/v1
22
kind: Component
33
namespace: olmv1-system
44
resources:

0 commit comments

Comments
 (0)