Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit b3eca05

Browse files
committed
crds: patch in api-approved label through Kustomization
This was taken from the `kustomization.yaml` found in the `container-object-storage-interface-controller` repository which in turn deploys these CRDs. See: https://github.com/kubernetes-sigs/container-object-storage-interface-controller/blob/f6867a078f0b6254aadd61987e103174bfa6b870/deploy/base/kustomization.yaml#L18
1 parent 38cdd2f commit b3eca05

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: crds/kustomization.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ resources:
99
- objectstorage.k8s.io_bucketclasses.yaml
1010
- objectstorage.k8s.io_bucketrequests.yaml
1111
- objectstorage.k8s.io_buckets.yaml
12+
13+
patches:
14+
# CRDs
15+
- target:
16+
kind: CustomResourceDefinition
17+
patch: |-
18+
- op: add
19+
path: /metadata/annotations
20+
value:
21+
controller-gen.kubebuilder.io/version: (devel)
22+
api-approved.kubernetes.io: https://github.com/kubernetes-sigs/container-object-storage-interface-api/pull/2

0 commit comments

Comments
 (0)