Skip to content

Commit 14a5b48

Browse files
authored
Merge pull request #62 from ArangoGutierrez/devel/customannotation_crd
Add kustomize rule for commonAnnotations on CRD
2 parents 22b747a + 369c782 commit 14a5b48

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/crd/bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ kind: CustomResourceDefinition
55
metadata:
66
annotations:
77
controller-gen.kubebuilder.io/version: v0.4.1
8-
api-approved.kubernetes.io: "unapproved, experimental-only"
98
creationTimestamp: null
109
name: nodefeaturediscoveries.nfd.kubernetes.io
1110
spec:

config/crd/kustomization.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ resources:
55
- bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml
66
# +kubebuilder:scaffold:crdkustomizeresource
77

8+
commonAnnotations:
9+
api-approved.kubernetes.io: "unapproved, experimental-only"
10+
811
patchesStrategicMerge:
912
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
1013
# patches here are for enabling the conversion webhook for each CRD

0 commit comments

Comments
 (0)