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

Commit 584f54a

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 584f54a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: crds/kustomization.yaml

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

0 commit comments

Comments
 (0)