Skip to content

Commit

Permalink
Merge pull request #657 from marquiz/devel/crd-fix
Browse files Browse the repository at this point in the history
pkg/apis/nfd: drop excess field from the CRD
  • Loading branch information
k8s-ci-robot authored Nov 17, 2021
2 parents d3bd0ed + b96b86b commit 15c4d4c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions deployment/base/nfd-crds/nodefeaturerule-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ spec:
type: string
description: Labels to create if the rule matches.
type: object
labelsTemplate:
description: LabelsTemplate specifies a template to expand for
dynamically generating multiple labels. Data (after template
expansion) must be keys with an optional value (<key>[=<value>])
separated by newlines.
type: string
matchAny:
description: MatchAny specifies a list of matchers one of which
must match.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ spec:
type: string
description: Labels to create if the rule matches.
type: object
labelsTemplate:
description: LabelsTemplate specifies a template to expand for
dynamically generating multiple labels. Data (after template
expansion) must be keys with an optional value (<key>[=<value>])
separated by newlines.
type: string
matchAny:
description: MatchAny specifies a list of matchers one of which
must match.
Expand Down
6 changes: 0 additions & 6 deletions pkg/apis/nfd/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ type Rule struct {
// +optional
Labels map[string]string `json:"labels"`

// LabelsTemplate specifies a template to expand for dynamically generating
// multiple labels. Data (after template expansion) must be keys with an
// optional value (<key>[=<value>]) separated by newlines.
// +optional
LabelsTemplate string `json:"labelsTemplate"`

// MatchFeatures specifies a set of matcher terms all of which must match.
// +optional
MatchFeatures FeatureMatcher `json:"matchFeatures"`
Expand Down

0 comments on commit 15c4d4c

Please sign in to comment.