feat: kubesphere 4.0 (#6115)

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

* feat: kubesphere 4.0

Signed-off-by: ci-bot <ci-bot@kubesphere.io>

---------

Signed-off-by: ci-bot <ci-bot@kubesphere.io>
Co-authored-by: ks-ci-bot <ks-ci-bot@example.com>
Co-authored-by: joyceliu <joyceliu@yunify.com>
This commit is contained in:
KubeSphere CI Bot
2024-09-06 11:05:52 +08:00
committed by GitHub
parent b5015ec7b9
commit 447a51f08b
8557 changed files with 546695 additions and 1146174 deletions

View File

@@ -0,0 +1,43 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Schema for the OPA Authorization Policy Input document",
"type": "object",
"properties": {
"identity": {
"type": "string"
},
"client_certificates": {
"type": "array",
"items": {
"type": "object"
}
},
"method": {
"type": "string"
},
"path": {
"type": "array",
"items": {
"type": "string"
}
},
"params": {
"type": "object"
},
"headers": {
"type": "object"
},
"body": {
"type": "object"
}
},
"required": [
"identity",
"client_certificates",
"method",
"path",
"params",
"headers",
"body"
]
}

View File

@@ -0,0 +1,15 @@
// Copyright 2023 The OPA Authors. All rights reserved.
// Use of this source code is governed by an Apache2
// license that can be found in the LICENSE file.
package schemas
import (
"embed"
)
// FS contains the known schemas for OPA's Authorization Policy etc.
// "authorizationPolicy.json" contains the input schema for OPA's Authorization Policy
//
//go:embed *.json
var FS embed.FS