1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #657 from marquiz/devel/crd-fix

pkg/apis/nfd: drop excess field from the CRD
This commit is contained in:
Kubernetes Prow Robot 2021-11-17 06:47:54 -08:00 committed by GitHub
commit 15c4d4c894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 18 deletions

View file

@ -48,12 +48,6 @@ spec:
type: string type: string
description: Labels to create if the rule matches. description: Labels to create if the rule matches.
type: object 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: matchAny:
description: MatchAny specifies a list of matchers one of which description: MatchAny specifies a list of matchers one of which
must match. must match.

View file

@ -48,12 +48,6 @@ spec:
type: string type: string
description: Labels to create if the rule matches. description: Labels to create if the rule matches.
type: object 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: matchAny:
description: MatchAny specifies a list of matchers one of which description: MatchAny specifies a list of matchers one of which
must match. must match.

View file

@ -57,12 +57,6 @@ type Rule struct {
// +optional // +optional
Labels map[string]string `json:"labels"` 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. // MatchFeatures specifies a set of matcher terms all of which must match.
// +optional // +optional
MatchFeatures FeatureMatcher `json:"matchFeatures"` MatchFeatures FeatureMatcher `json:"matchFeatures"`