mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-15 04:07:46 +00:00
fix typo in policy struct (#1992)
* Updates L-30 Signed-off-by: viveksahu26 vivekkumarsahu650@gmail.com Signed-off-by: viveksahu26 <vivekkumarsahu650@gmail.com> * compile the code using Signed-off-by: viveksahu26 <vivekkumarsahu650@gmail.com>
This commit is contained in:
parent
4765d1ccc9
commit
faa88699af
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ spec:
|
||||||
metadata:
|
metadata:
|
||||||
type: object
|
type: object
|
||||||
spec:
|
spec:
|
||||||
description: Spec defines policy behaviors and contains one or rules.
|
description: Spec defines policy behaviors and contains one or more rules.
|
||||||
properties:
|
properties:
|
||||||
background:
|
background:
|
||||||
description: Background controls if rules are applied to existing
|
description: Background controls if rules are applied to existing
|
||||||
|
|
|
@ -27,7 +27,7 @@ type Policy struct {
|
||||||
metav1.TypeMeta `json:",inline,omitempty" yaml:",inline,omitempty"`
|
metav1.TypeMeta `json:",inline,omitempty" yaml:",inline,omitempty"`
|
||||||
metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
|
metav1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
|
||||||
|
|
||||||
// Spec defines policy behaviors and contains one or rules.
|
// Spec defines policy behaviors and contains one or more rules.
|
||||||
Spec Spec `json:"spec" yaml:"spec"`
|
Spec Spec `json:"spec" yaml:"spec"`
|
||||||
|
|
||||||
// Status contains policy runtime information.
|
// Status contains policy runtime information.
|
||||||
|
|
Loading…
Add table
Reference in a new issue