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:
parent
2f694f6f1f
commit
cc391645e1
11 changed files with 30 additions and 38 deletions
|
|
@ -162,8 +162,8 @@ func (r *Reconciler) createPushTransaction(ctx context.Context, namespace string
|
|||
GenerateName: fmt.Sprintf("%s-sync-", syncObj.Name),
|
||||
Namespace: namespace,
|
||||
Labels: map[string]string{
|
||||
"git.k8s.io/repo-sync": syncObj.Name,
|
||||
"git.k8s.io/target": targetRepo,
|
||||
"git-k8s.imjasonh.com/repo-sync": syncObj.Name,
|
||||
"git-k8s.imjasonh.com/target": targetRepo,
|
||||
},
|
||||
OwnerReferences: []metav1.OwnerReference{
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue