Move files to create config.webhook.cert-manager.io
Signed-off-by: James Munnelly <jmunnelly@apple.com>
This commit is contained in:
parent
553e1e0536
commit
9fce2ba5b0
@ -17,10 +17,9 @@ limitations under the License.
|
||||
package config
|
||||
|
||||
import (
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/webhook"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config"
|
||||
)
|
||||
|
||||
var (
|
||||
@ -29,7 +28,7 @@ var (
|
||||
)
|
||||
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
var SchemeGroupVersion = schema.GroupVersion{Group: config.GroupName, Version: runtime.APIVersionInternal}
|
||||
var SchemeGroupVersion = schema.GroupVersion{Group: webhook.GroupName, Version: runtime.APIVersionInternal}
|
||||
|
||||
// Resource takes an unqualified resource and returns a Group qualified GroupResource
|
||||
func Resource(resource string) schema.GroupResource {
|
||||
@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
package config
|
||||
package webhook
|
||||
|
||||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
|
||||
@ -17,7 +17,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/v1alpha1"
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/webhook/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/utils/pointer"
|
||||
)
|
||||
@ -17,14 +17,13 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/webhook"
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/webhook/v1alpha1"
|
||||
"k8s.io/apimachinery/pkg/runtime/schema"
|
||||
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config"
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/v1alpha1"
|
||||
)
|
||||
|
||||
// SchemeGroupVersion is group version used to register these objects
|
||||
var SchemeGroupVersion = schema.GroupVersion{Group: config.GroupName, Version: "v1alpha1"}
|
||||
var SchemeGroupVersion = schema.GroupVersion{Group: webhook.GroupName, Version: "v1alpha1"}
|
||||
|
||||
// Resource takes an unqualified resource and returns a Group qualified GroupResource
|
||||
func Resource(resource string) schema.GroupResource {
|
||||
@ -22,10 +22,10 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/webhook/v1alpha1"
|
||||
unsafe "unsafe"
|
||||
|
||||
config "github.com/jetstack/cert-manager/internal/apis/config"
|
||||
v1alpha1 "github.com/jetstack/cert-manager/pkg/apis/config/v1alpha1"
|
||||
conversion "k8s.io/apimachinery/pkg/conversion"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
@ -22,7 +22,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
v1alpha1 "github.com/jetstack/cert-manager/pkg/apis/config/v1alpha1"
|
||||
"github.com/jetstack/cert-manager/pkg/apis/config/webhook/v1alpha1"
|
||||
runtime "k8s.io/apimachinery/pkg/runtime"
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user