Skip to content

Commit

Permalink
Update go modules and depricated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
VaishnaviHire committed Dec 16, 2022
1 parent 66e04ca commit caf42ca
Show file tree
Hide file tree
Showing 88 changed files with 4,892 additions and 2,957 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ BUNDLE_METADATA_OPTS ?= $(BUNDLE_CHANNELS) $(BUNDLE_DEFAULT_CHANNEL)
#
# For example, running 'make bundle-build bundle-push catalog-build catalog-push' will build and push both
# my.domain/opendatahub-operator-bundle:$VERSION and my.domain/opendatahub-operator-catalog:$VERSION.
IMAGE_TAG_BASE ?= my.domain/opendatahub-operator
IMAGE_TAG_BASE ?= quay.io/opendatahub/opendatahub-operator

# BUNDLE_IMG defines the image:tag used for the bundle.
# You can use it as an arg. (E.g make bundle-build BUNDLE_IMG=<some-registry>/<project-name-bundle>:<tag>)
Expand Down
7 changes: 3 additions & 4 deletions PROJECT
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
domain: my.domain
domain: opendatahub.io
layout:
- go.kubebuilder.io/v3
multigroup: true
plugins:
manifests.sdk.operatorframework.io/v2: {}
scorecard.sdk.operatorframework.io/v2: {}
projectName: opendatahub-operator
repo: github.com/kubeflow/kfctl/v3
repo: github.com/opendatahub-io/opendatahub-operator
resources:
- api:
crdVersion: v1
namespaced: true
controller: true
domain: my.domain
group: kfdef.apps.kubeflow.org
kind: KfDef
path: github.com/kubeflow/kfctl/v3/api/v1
path: github.com/opendatahub-io/opendatahub-operator/apis/kfdef.apps.kubeflow.org/v1
version: v1
version: "3"
31 changes: 31 additions & 0 deletions apis/apps/apis.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Copyright 2018 The Kubeflow Authors
//
// 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.

// Generate deepcopy for apis
// go:generate deepcopy-gen -O zz_generated.deepcopy -i ./... -h ../../hack/boilerplate.go.txt

// Package apis contains Kubernetes API groups.
package apps

import (
"k8s.io/apimachinery/pkg/runtime"
)

// AddToSchemes may be used to add all resources defined in the project to a Scheme
var AddToSchemes runtime.SchemeBuilder

// AddToScheme adds all Resources to the Scheme
func AddToScheme(s *runtime.Scheme) error {
return AddToSchemes.AddToScheme(s)
}
Loading

0 comments on commit caf42ca

Please sign in to comment.