mirror of
https://github.com/imjasonh/git-k8s
synced 2026-07-08 06:45:12 +00:00
Change API group from git.k8s.io to git-k8s.imjasonh.com
The *.k8s.io group is protected in Kubernetes and requires an api-approved.kubernetes.io annotation. Switch to a custom domain to avoid the restriction entirely. https://claude.ai/code/session_01QfFzqKQUsxxBsiZUhuJ3pG
This commit is contained in:
parent
2f694f6f1f
commit
cc391645e1
11 changed files with 30 additions and 38 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Package v1alpha1 contains API Schema definitions for the git v1alpha1 API group.
|
||||
//
|
||||
// +k8s:deepcopy-gen=package,register
|
||||
// +groupName=git.k8s.io
|
||||
// +groupName=git-k8s.imjasonh.com
|
||||
package v1alpha1
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
const (
|
||||
// GroupName is the name of the API group.
|
||||
GroupName = "git.k8s.io"
|
||||
GroupName = "git-k8s.imjasonh.com"
|
||||
|
||||
// Version is the version of the API group.
|
||||
Version = "v1alpha1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue