Skip to content

Commit

Permalink
update schemas
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
fjogeleit committed Oct 29, 2024
1 parent 80488a5 commit 4aa45d1
Show file tree
Hide file tree
Showing 14 changed files with 1,586 additions and 2 deletions.
132 changes: 132 additions & 0 deletions frontend/src/schemas/clusterpolicy-kyverno.io-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4291,6 +4291,72 @@
"description": "Preconditions are used to determine if a policy rule should be applied by evaluating a\nset of conditions. The declaration can contain nested `any` or `all` statements. A direct list\nof conditions (without `any` or `all` statements is supported for backwards compatibility but\nwill be deprecated in the next major release.\nSee: https://kyverno.io/docs/writing-policies/preconditions/",
"x-kubernetes-preserve-unknown-fields": true
},
"selector": {
"description": "Selector allows you to select target resources with their labels.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"key",
"operator"
],
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
],
"x-kubernetes-map-type": "atomic"
},
"uid": {
"description": "UID specifies the resource uid.",
"type": [
Expand Down Expand Up @@ -11157,6 +11223,72 @@
"description": "Preconditions are used to determine if a policy rule should be applied by evaluating a\nset of conditions. The declaration can contain nested `any` or `all` statements. A direct list\nof conditions (without `any` or `all` statements is supported for backwards compatibility but\nwill be deprecated in the next major release.\nSee: https://kyverno.io/docs/writing-policies/preconditions/",
"x-kubernetes-preserve-unknown-fields": true
},
"selector": {
"description": "Selector allows you to select target resources with their labels.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"key",
"operator"
],
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
],
"x-kubernetes-map-type": "atomic"
},
"uid": {
"description": "UID specifies the resource uid.",
"type": [
Expand Down
132 changes: 132 additions & 0 deletions frontend/src/schemas/clusterpolicy-kyverno.io-v2beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3693,6 +3693,72 @@
"description": "Preconditions are used to determine if a policy rule should be applied by evaluating a\nset of conditions. The declaration can contain nested `any` or `all` statements. A direct list\nof conditions (without `any` or `all` statements is supported for backwards compatibility but\nwill be deprecated in the next major release.\nSee: https://kyverno.io/docs/writing-policies/preconditions/",
"x-kubernetes-preserve-unknown-fields": true
},
"selector": {
"description": "Selector allows you to select target resources with their labels.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"key",
"operator"
],
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
],
"x-kubernetes-map-type": "atomic"
},
"uid": {
"description": "UID specifies the resource uid.",
"type": [
Expand Down Expand Up @@ -10692,6 +10758,72 @@
"description": "Preconditions are used to determine if a policy rule should be applied by evaluating a\nset of conditions. The declaration can contain nested `any` or `all` statements. A direct list\nof conditions (without `any` or `all` statements is supported for backwards compatibility but\nwill be deprecated in the next major release.\nSee: https://kyverno.io/docs/writing-policies/preconditions/",
"x-kubernetes-preserve-unknown-fields": true
},
"selector": {
"description": "Selector allows you to select target resources with their labels.",
"properties": {
"matchExpressions": {
"description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
"items": {
"description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values.",
"properties": {
"key": {
"description": "key is the label key that the selector applies to.",
"type": "string"
},
"operator": {
"description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist.",
"type": "string"
},
"values": {
"description": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.",
"items": {
"type": [
"string",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
}
},
"required": [
"key",
"operator"
],
"type": [
"object",
"null"
]
},
"type": [
"array",
"null"
],
"x-kubernetes-list-type": "atomic"
},
"matchLabels": {
"additionalProperties": {
"type": [
"string",
"null"
]
},
"description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
"type": [
"object",
"null"
]
}
},
"type": [
"object",
"null"
],
"x-kubernetes-map-type": "atomic"
},
"uid": {
"description": "UID specifies the resource uid.",
"type": [
Expand Down
Loading

0 comments on commit 4aa45d1

Please sign in to comment.