1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-28 18:38:40 +00:00

Fixed description for secret name (#5228)

Signed-off-by: Pratik Shah <pratik@infracloud.io>

Signed-off-by: Vyankatesh <vyankateshkd@gmail.com>
This commit is contained in:
Pratik Shah 2022-11-07 10:59:16 +05:30 committed by GitHub
parent 5557d6c85d
commit 6cdbd55f93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 300 additions and 204 deletions

View file

@ -151,10 +151,10 @@ type StaticKeyAttestor struct {
}
type SecretReference struct {
// name of the secret
// Name of the secret. The provided secret must contain a key named cosign.pub.
Name string `json:"name" yaml:"name"`
// namespace name in which secret is created
// Namespace name where the Secret exists.
Namespace string `json:"namespace" yaml:"namespace"`
}

View file

@ -2461,10 +2461,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -2768,10 +2768,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -4240,10 +4240,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -4547,10 +4547,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -6008,10 +6008,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -6305,10 +6305,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -7762,10 +7762,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -8069,10 +8069,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -10132,10 +10132,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -10439,10 +10439,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -11911,10 +11911,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -12218,10 +12218,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -13679,10 +13679,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -13976,10 +13976,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -15433,10 +15433,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name
@ -15740,10 +15740,10 @@ spec:
description: Reference to a Secret resource that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The provided secret must contain a key named cosign.pub.
type: string
namespace:
description: namespace name in which secret is created
description: Namespace name where the Secret exists.
type: string
required:
- name

View file

@ -2324,11 +2324,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -2785,11 +2787,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -5236,11 +5240,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -5710,11 +5716,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -7985,11 +7993,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -8431,11 +8441,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -10857,11 +10869,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -11331,11 +11345,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name

View file

@ -2325,11 +2325,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -2786,11 +2788,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -5238,11 +5242,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -5712,11 +5718,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -7988,11 +7996,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -8434,11 +8444,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -10860,11 +10872,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -11334,11 +11348,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name

View file

@ -3646,11 +3646,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -4107,11 +4109,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -4200,9 +4204,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -6558,11 +6562,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -7032,11 +7038,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -9307,11 +9315,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -9753,11 +9763,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -9821,9 +9833,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -12179,11 +12191,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -12653,11 +12667,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -15745,11 +15761,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -16206,11 +16224,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -16299,9 +16319,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -18658,11 +18678,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -19132,11 +19154,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -21408,11 +21432,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -21854,11 +21880,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -21922,9 +21950,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -24280,11 +24308,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -24754,11 +24784,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name

View file

@ -3640,11 +3640,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -4101,11 +4103,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -4194,9 +4198,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -6552,11 +6556,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -7026,11 +7032,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -9301,11 +9309,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -9747,11 +9757,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -9815,9 +9827,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -12173,11 +12185,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -12647,11 +12661,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -15736,11 +15752,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -16197,11 +16215,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -16290,9 +16310,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -18649,11 +18669,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -19123,11 +19145,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -21399,11 +21423,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -21845,11 +21871,13 @@ spec:
that contains a public key
properties:
name:
description: name of the secret
description: Name of the secret. The
provided secret must contain a key
named cosign.pub.
type: string
namespace:
description: namespace name in which
secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name
@ -21913,9 +21941,9 @@ spec:
type: object
type: array
schemaValidation:
description: SchemaValidation skips policy validation checks. Optional.
The default value is set to "true", it must be set to "false" to
disable the validation checks.
description: SchemaValidation skips validation checks for policies
as well as patched resources. Optional. The default value is set
to "true", it must be set to "false" to disable the validation checks.
type: boolean
validationFailureAction:
default: audit
@ -24271,11 +24299,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name
in which secret is created
description: Namespace name
where the Secret exists.
type: string
required:
- name
@ -24745,11 +24775,13 @@ spec:
key
properties:
name:
description: name of the secret
description: Name of the secret.
The provided secret must contain
a key named cosign.pub.
type: string
namespace:
description: namespace name in
which secret is created
description: Namespace name where
the Secret exists.
type: string
required:
- name

View file

@ -3338,7 +3338,7 @@ string
</em>
</td>
<td>
<p>name of the secret</p>
<p>Name of the secret. The provided secret must contain a key named cosign.pub.</p>
</td>
</tr>
<tr>
@ -3349,7 +3349,7 @@ string
</em>
</td>
<td>
<p>namespace name in which secret is created</p>
<p>Namespace name where the Secret exists.</p>
</td>
</tr>
</tbody>