mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-29 19:05:27 +00:00
change severity fields to lower case
This commit is contained in:
parent
2abfff1f06
commit
51e2b0d978
9 changed files with 58 additions and 52 deletions
charts/kyverno
definitions
crds
kyverno.io_clusterreportchangerequests.yamlkyverno.io_reportchangerequests.yamlpolicy.k8s.io_clusterpolicyreports.yamlpolicy.k8s.io_policyreports.yaml
install.yamlinstall_debug.yamlpkg/api/policyreport/v1alpha1
|
@ -475,9 +475,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -808,9 +808,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -1465,9 +1465,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -1798,9 +1798,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -98,6 +98,12 @@ rules:
|
|||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- 'apiextensions.k8s.io'
|
||||
resources:
|
||||
- customresourcedefinitions
|
||||
verbs:
|
||||
- delete
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
|
|
|
@ -202,9 +202,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -202,9 +202,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -204,9 +204,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -203,9 +203,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -480,9 +480,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -813,9 +813,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -1470,9 +1470,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -1803,9 +1803,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -480,9 +480,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -813,9 +813,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -1470,9 +1470,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
@ -1803,9 +1803,9 @@ spec:
|
|||
severity:
|
||||
description: Severity indicates policy severity
|
||||
enum:
|
||||
- High
|
||||
- Low
|
||||
- Medium
|
||||
- high
|
||||
- low
|
||||
- medium
|
||||
type: string
|
||||
status:
|
||||
description: Status indicates the result of the policy rule check
|
||||
|
|
|
@ -64,10 +64,10 @@ type PolicyReportSummary struct {
|
|||
type PolicyStatus string
|
||||
|
||||
// PolicySeverity has one of the following values:
|
||||
// - High
|
||||
// - Low
|
||||
// - Medium
|
||||
// +kubebuilder:validation:Enum=High;Low;Medium
|
||||
// - high
|
||||
// - low
|
||||
// - medium
|
||||
// +kubebuilder:validation:Enum=high;low;medium
|
||||
type PolicySeverity string
|
||||
|
||||
// PolicyReportResult provides the result for an individual policy
|
||||
|
|
Loading…
Add table
Reference in a new issue