1
0
Fork 0
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:
vivek kumar sahu 2021-06-22 22:33:15 +05:30 committed by GitHub
parent 4765d1ccc9
commit faa88699af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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.