1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-08 06:45:12 +00:00

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
This commit is contained in:
Claude 2026-02-28 00:30:22 +00:00
parent ffc7c82ae4
commit 2f694f6f1f
No known key found for this signature in database
4 changed files with 8 additions and 0 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: