Rename metrics to metrics.k8s.io

This commit renames metrics to metrics.k8s.io
for the v1beta1 version, to give it a properly namespaced name which
mirrors custom.metrics.k8s.io.
This commit is contained in:
Solly Ross 2017-08-30 17:09:42 -04:00
parent 86f24eaf7a
commit e1a22e8cae
4 changed files with 4 additions and 6 deletions

View File

@ -14,8 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// TODO: this needs to be cross-registered as metrics.metrics.k8s.io
// +k8s:deepcopy-gen=package,register
// +groupName=metrics.k8s.io
package metrics

View File

@ -22,7 +22,7 @@ import (
)
// GroupName is the group name use in this package
const GroupName = "metrics"
const GroupName = "metrics.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

View File

@ -23,7 +23,7 @@ import (
)
// GroupName is the group name use in this package
const GroupName = "metrics"
const GroupName = "metrics.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

View File

@ -23,7 +23,7 @@ import (
)
// GroupName is the group name use in this package
const GroupName = "metrics"
const GroupName = "metrics.k8s.io"
// SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}