Skip to content

Commit

Permalink
Merge pull request #62 from ArangoGutierrez/devel/customannotation_crd
Browse files Browse the repository at this point in the history
Add kustomize rule for commonAnnotations on CRD
  • Loading branch information
k8s-ci-robot authored Apr 19, 2021
2 parents 22b747a + 369c782 commit 14a5b48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
api-approved.kubernetes.io: "unapproved, experimental-only"
creationTimestamp: null
name: nodefeaturediscoveries.nfd.kubernetes.io
spec:
Expand Down
3 changes: 3 additions & 0 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ resources:
- bases/nfd.kubernetes.io_nodefeaturediscoveries.yaml
# +kubebuilder:scaffold:crdkustomizeresource

commonAnnotations:
api-approved.kubernetes.io: "unapproved, experimental-only"

patchesStrategicMerge:
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix.
# patches here are for enabling the conversion webhook for each CRD
Expand Down

0 comments on commit 14a5b48

Please sign in to comment.