1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-10 07:31:59 +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:
Claude 2026-02-28 00:34:34 +00:00
parent 2f694f6f1f
commit cc391645e1
No known key found for this signature in database
11 changed files with 30 additions and 38 deletions

View file

@ -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 <<EOF | kubectl apply -f -
apiVersion: git.k8s.io/v1alpha1
apiVersion: git-k8s.imjasonh.com/v1alpha1
kind: GitRepository
metadata:
name: test-repo