mirror of
https://github.com/imjasonh/git-k8s
synced 2026-07-18 15:05:45 +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,11 +1,9 @@
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: gitbranches.git.k8s.io
|
||||
annotations:
|
||||
api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s"
|
||||
name: gitbranches.git-k8s.imjasonh.com
|
||||
spec:
|
||||
group: git.k8s.io
|
||||
group: git-k8s.imjasonh.com
|
||||
names:
|
||||
kind: GitBranch
|
||||
listKind: GitBranchList
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: gitpushtransactions.git.k8s.io
|
||||
annotations:
|
||||
api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s"
|
||||
name: gitpushtransactions.git-k8s.imjasonh.com
|
||||
spec:
|
||||
group: git.k8s.io
|
||||
group: git-k8s.imjasonh.com
|
||||
names:
|
||||
kind: GitPushTransaction
|
||||
listKind: GitPushTransactionList
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: gitrepositories.git.k8s.io
|
||||
annotations:
|
||||
api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s"
|
||||
name: gitrepositories.git-k8s.imjasonh.com
|
||||
spec:
|
||||
group: git.k8s.io
|
||||
group: git-k8s.imjasonh.com
|
||||
names:
|
||||
kind: GitRepository
|
||||
listKind: GitRepositoryList
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: gitreposyncs.git.k8s.io
|
||||
annotations:
|
||||
api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s"
|
||||
name: gitreposyncs.git-k8s.imjasonh.com
|
||||
spec:
|
||||
group: git.k8s.io
|
||||
group: git-k8s.imjasonh.com
|
||||
names:
|
||||
kind: GitRepoSync
|
||||
listKind: GitRepoSyncList
|
||||
Loading…
Add table
Add a link
Reference in a new issue