From cc391645e17fb2fd65f607e5d413c2af5113b0f9 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 00:34:34 +0000 Subject: [PATCH] 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 --- .github/workflows/ci.yaml | 10 +++++----- ...aml => git-k8s.imjasonh.com_gitbranches.yaml} | 6 ++---- ...it-k8s.imjasonh.com_gitpushtransactions.yaml} | 6 ++---- ...=> git-k8s.imjasonh.com_gitrepositories.yaml} | 6 ++---- ...ml => git-k8s.imjasonh.com_gitreposyncs.yaml} | 6 ++---- config/rbac/role.yaml | 6 +++--- pkg/apis/git/v1alpha1/doc.go | 2 +- pkg/apis/git/v1alpha1/groupversion_info.go | 2 +- pkg/client/clientset.go | 4 ++-- pkg/reconciler/resolver/resolver.go | 16 ++++++++-------- pkg/reconciler/sync/sync.go | 4 ++-- 11 files changed, 30 insertions(+), 38 deletions(-) rename config/crds/{git.k8s.io_gitbranches.yaml => git-k8s.imjasonh.com_gitbranches.yaml} (93%) rename config/crds/{git.k8s.io_gitpushtransactions.yaml => git-k8s.imjasonh.com_gitpushtransactions.yaml} (95%) rename config/crds/{git.k8s.io_gitrepositories.yaml => git-k8s.imjasonh.com_gitrepositories.yaml} (93%) rename config/crds/{git.k8s.io_gitreposyncs.yaml => git-k8s.imjasonh.com_gitreposyncs.yaml} (95%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2fcf6a1..575f6d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,15 +87,15 @@ jobs: - name: Verify CRDs are installed run: | - kubectl get crd gitrepositories.git.k8s.io - kubectl get crd gitbranches.git.k8s.io - kubectl get crd gitpushtransactions.git.k8s.io - kubectl get crd gitreposyncs.git.k8s.io + kubectl get crd gitrepositories.git-k8s.imjasonh.com + kubectl get crd gitbranches.git-k8s.imjasonh.com + kubectl get crd gitpushtransactions.git-k8s.imjasonh.com + kubectl get crd gitreposyncs.git-k8s.imjasonh.com - name: Smoke test - create a GitRepository run: | cat <