Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly committed Sep 21, 2023
1 parent f2b5311 commit 63c97b7
Show file tree
Hide file tree
Showing 9 changed files with 5,959 additions and 310 deletions.
2 changes: 1 addition & 1 deletion backend/data/schemas/apis/kyverno.io/v1.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/data/schemas/apis/kyverno.io/v2alpha1.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/data/schemas/apis/kyverno.io/v2beta1.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion backend/pkg/cluster/policy_exception.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ func (c policyExceptionSelector) List(selector labels.Selector) ([]*kyvernov2alp
})
if err == nil {
for i := range list.Items {
exceptions = append(exceptions, &list.Items[i])
pe := kyvernov2alpha1.PolicyException(list.Items[i])
exceptions = append(exceptions, &pe)
}
} else if !kerrors.IsNotFound(err) {
return nil, err
Expand Down
1,566 changes: 1,489 additions & 77 deletions frontend/src/schemas/clusterpolicy-kyverno-v1.json

Large diffs are not rendered by default.

1,556 changes: 1,484 additions & 72 deletions frontend/src/schemas/clusterpolicy-kyverno-v2beta1.json

Large diffs are not rendered by default.

1,568 changes: 1,490 additions & 78 deletions frontend/src/schemas/policy-kyverno-v1.json

Large diffs are not rendered by default.

1,556 changes: 1,484 additions & 72 deletions frontend/src/schemas/policy-kyverno-v2beta1.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions frontend/src/schemas/policyexception-kyverno-v2alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"properties": {
"annotations": {
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations",
"description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations",
"type": [
"object",
"null"
Expand Down Expand Up @@ -99,7 +99,7 @@
"format": "int64"
},
"labels": {
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels",
"description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
"type": [
"object",
"null"
Expand Down Expand Up @@ -178,14 +178,14 @@
}
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
"type": [
"string",
"null"
]
},
"namespace": {
"description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces",
"description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
"type": [
"string",
"null"
Expand Down Expand Up @@ -233,11 +233,11 @@
"type": "string"
},
"name": {
"description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
"type": "string"
},
"uid": {
"description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
"type": "string"
}
},
Expand All @@ -261,7 +261,7 @@
]
},
"uid": {
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
"description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
"type": [
"string",
"null"
Expand Down

0 comments on commit 63c97b7

Please sign in to comment.