mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-13 19:28:55 +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:
|
||||
type: object
|
||||
spec:
|
||||
description: Spec defines policy behaviors and contains one or rules.
|
||||
description: Spec defines policy behaviors and contains one or more rules.
|
||||
properties:
|
||||
background:
|
||||
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.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"`
|
||||
|
||||
// Status contains policy runtime information.
|
||||
|
|
Loading…
Add table
Reference in a new issue