From 2f694f6f1fd9522361c0076f8e47cc7b3cd44be7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 00:30:22 +0000 Subject: [PATCH] Add api-approved.kubernetes.io annotation to CRDs The *.k8s.io API group is protected in Kubernetes and requires the api-approved.kubernetes.io annotation on CRDs. https://claude.ai/code/session_01QfFzqKQUsxxBsiZUhuJ3pG --- config/crds/git.k8s.io_gitbranches.yaml | 2 ++ config/crds/git.k8s.io_gitpushtransactions.yaml | 2 ++ config/crds/git.k8s.io_gitrepositories.yaml | 2 ++ config/crds/git.k8s.io_gitreposyncs.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/config/crds/git.k8s.io_gitbranches.yaml b/config/crds/git.k8s.io_gitbranches.yaml index 95d6198..6ca1a2b 100644 --- a/config/crds/git.k8s.io_gitbranches.yaml +++ b/config/crds/git.k8s.io_gitbranches.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: gitbranches.git.k8s.io + annotations: + api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s" spec: group: git.k8s.io names: diff --git a/config/crds/git.k8s.io_gitpushtransactions.yaml b/config/crds/git.k8s.io_gitpushtransactions.yaml index bf0731b..c15ad95 100644 --- a/config/crds/git.k8s.io_gitpushtransactions.yaml +++ b/config/crds/git.k8s.io_gitpushtransactions.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: gitpushtransactions.git.k8s.io + annotations: + api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s" spec: group: git.k8s.io names: diff --git a/config/crds/git.k8s.io_gitrepositories.yaml b/config/crds/git.k8s.io_gitrepositories.yaml index 97edd7f..5e61b0d 100644 --- a/config/crds/git.k8s.io_gitrepositories.yaml +++ b/config/crds/git.k8s.io_gitrepositories.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: gitrepositories.git.k8s.io + annotations: + api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s" spec: group: git.k8s.io names: diff --git a/config/crds/git.k8s.io_gitreposyncs.yaml b/config/crds/git.k8s.io_gitreposyncs.yaml index 037ff2f..ff5c696 100644 --- a/config/crds/git.k8s.io_gitreposyncs.yaml +++ b/config/crds/git.k8s.io_gitreposyncs.yaml @@ -2,6 +2,8 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: gitreposyncs.git.k8s.io + annotations: + api-approved.kubernetes.io: "https://github.com/imjasonh/git-k8s" spec: group: git.k8s.io names: