1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-18 06:55:48 +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

@ -1,4 +1,4 @@
// Package client provides a typed Kubernetes client for the git.k8s.io API group.
// Package client provides a typed Kubernetes client for the git-k8s.imjasonh.com API group.
//
// In a full Knative injection setup, this package would be auto-generated and
// clients would be retrieved from context via injection (e.g., gitclient.Get(ctx)).
@ -20,7 +20,7 @@ import (
gitv1alpha1 "github.com/imjasonh/git-k8s/pkg/apis/git/v1alpha1"
)
// GitV1alpha1Client provides typed access to git.k8s.io/v1alpha1 resources.
// GitV1alpha1Client provides typed access to git-k8s.imjasonh.com/v1alpha1 resources.
type GitV1alpha1Client struct {
client dynamic.Interface
}