diff --git a/PROJECT b/PROJECT index 5fadf64..ab4fc31 100644 --- a/PROJECT +++ b/PROJECT @@ -10,6 +10,6 @@ controller: true domain: onprem.cluster.gke.io kind: Certificate - path: gitbucket.jerxie.com/yangyangxie/AnthosCertManager/api/v1 + path: gitbucket.jerxie.com/yangyangxie/AnthosCertManager/apis/anthoscertmanager/v1 version: v1 version: "3" diff --git a/controllers/suite_test.go b/controllers/suite_test.go index e9a72c2..d90f9d2 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -30,7 +30,7 @@ logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - onpremclustergkeiov1 "gitbucket.jerxie.com/yangyangxie/AnthosCertManager/api/v1" + onpremclustergkeiov1 "gitbucket.jerxie.com/yangyangxie/AnthosCertManager/pkg/apis/anthoscertmanager/v1" //+kubebuilder:scaffold:imports ) diff --git a/main.go b/main.go index 0d3fd74..3c1bb09 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,7 @@ "sigs.k8s.io/controller-runtime/pkg/log/zap" "gitbucket.jerxie.com/yangyangxie/AnthosCertManager/controllers" - anthoscertmanager "gitbucket.jerxie.com/yangyangxie/AnthosCertManager/pkg/apis/v1" + anthoscertmanager "gitbucket.jerxie.com/yangyangxie/AnthosCertManager/pkg/apis/anthoscertmanager/v1" //+kubebuilder:scaffold:imports ) diff --git a/pkg/apis/anthoscertmanager/v1/issuer_types.go b/pkg/apis/anthoscertmanager/v1/issuer_types.go index 51e7d74..106906a 100644 --- a/pkg/apis/anthoscertmanager/v1/issuer_types.go +++ b/pkg/apis/anthoscertmanager/v1/issuer_types.go @@ -1,3 +1,18 @@ +/* +Copyright 2022. + +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. +*/ package anthoscertmanager import (