mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +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
|
@ -475,9 +475,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -808,9 +808,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -1465,9 +1465,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -1798,9 +1798,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -98,6 +98,12 @@ rules:
|
||||||
- patch
|
- patch
|
||||||
- update
|
- update
|
||||||
- watch
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- 'apiextensions.k8s.io'
|
||||||
|
resources:
|
||||||
|
- customresourcedefinitions
|
||||||
|
verbs:
|
||||||
|
- delete
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
|
|
|
@ -202,9 +202,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -202,9 +202,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -204,9 +204,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -203,9 +203,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -480,9 +480,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -813,9 +813,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -1470,9 +1470,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -1803,9 +1803,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -480,9 +480,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -813,9 +813,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -1470,9 +1470,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
@ -1803,9 +1803,9 @@ spec:
|
||||||
severity:
|
severity:
|
||||||
description: Severity indicates policy severity
|
description: Severity indicates policy severity
|
||||||
enum:
|
enum:
|
||||||
- High
|
- high
|
||||||
- Low
|
- low
|
||||||
- Medium
|
- medium
|
||||||
type: string
|
type: string
|
||||||
status:
|
status:
|
||||||
description: Status indicates the result of the policy rule check
|
description: Status indicates the result of the policy rule check
|
||||||
|
|
|
@ -64,10 +64,10 @@ type PolicyReportSummary struct {
|
||||||
type PolicyStatus string
|
type PolicyStatus string
|
||||||
|
|
||||||
// PolicySeverity has one of the following values:
|
// PolicySeverity has one of the following values:
|
||||||
// - High
|
// - high
|
||||||
// - Low
|
// - low
|
||||||
// - Medium
|
// - medium
|
||||||
// +kubebuilder:validation:Enum=High;Low;Medium
|
// +kubebuilder:validation:Enum=high;low;medium
|
||||||
type PolicySeverity string
|
type PolicySeverity string
|
||||||
|
|
||||||
// PolicyReportResult provides the result for an individual policy
|
// PolicyReportResult provides the result for an individual policy
|
||||||
|
|
Loading…
Add table
Reference in a new issue