repository
stringclasses 528
values | commit
stringlengths 40
40
| commitDate
timestamp[s] | path
stringlengths 11
149
| repoStars
int64 5
94.9k
| repoLastFetched
stringclasses 528
values | content
stringlengths 48
736k
| license
stringclasses 14
values | language
stringclasses 7
values |
---|---|---|---|---|---|---|---|---|
QingQiz/IcpcResolver.Net | 7fb53d2e15891941bece91ea8b1843b62ee72a9e | 2021-05-07T17:56:15 | config/Schemas/StatusChange.json | 10 | 2024-05-28T02:42:51.330121Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Description of the problems status change, listed by teams",
"items": {
"properties": {
"StatusFrom": {
"description": "A list of last status change(before) for each problems",
"items": {
"properties": {
"Label": {
"description": "Display short name for a problem",
"type": "string"
},
"Status": {
"description": "Submit result",
"enum": [
"Accept",
"UnAccept",
"Pending",
"NotTried",
"FirstBlood"
]
},
"Time": {
"description": "Current submit time",
"type": "integer"
},
"Try": {
"description": "Current total try time for this problem",
"type": "integer"
}
},
"required": [
"Label",
"Try",
"Time",
"Status"
],
"type": "object"
},
"type": "array"
},
"StatusTo": {
"description": "A list of last status change(after) for each problems",
"items": {
"properties": {
"Label": {
"description": "Display short name for a problem",
"type": "string"
},
"Status": {
"description": "Submit result",
"enum": [
"Accept",
"UnAccept",
"Pending",
"NotTried",
"FirstBlood"
]
},
"Time": {
"description": "Current submit time",
"type": "integer"
},
"Try": {
"description": "Current total try time for this problem",
"type": "integer"
}
},
"required": [
"Label",
"Try",
"Time",
"Status"
],
"type": "object"
},
"type": "array"
},
"TeamId": {
"description": "The unique identifier for a team",
"type": "integer"
},
"TeamName": {
"description": "Display name for a team",
"type": "string"
}
},
"required": [
"TeamId",
"TeamName",
"StatusFrom",
"StatusTo"
],
"type": "object"
},
"title": "Status",
"type": "array"
} | MIT | en |
Neoteroi/mkdocs-plugins | 276e671004dd09f5c4f85441f58e6418809f0cda | 2023-11-21T16:22:47 | docs/extensions-schema.json | 114 | 2024-05-27T06:27:35.076735Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins",
"oneOf": [
{
"const": "neoteroi.cards",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/cards/",
"title": "Cards \u2013 Neoteroi Markdown"
},
{
"const": "neoteroi.timeline",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/timeline/",
"title": "Timeline \u2013 Neoteroi Markdown"
},
{
"const": "neoteroi.projects",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/gantt/",
"title": "Gantt \u2013 Neoteroi Markdown"
},
{
"const": "neoteroi.spantable",
"markdownDescription": "https://www.neoteroi.dev/mkdocs-plugins/spantable/",
"title": "Spantable \u2013 Neoteroi Markdown"
}
],
"title": "Neoteroi markdown extensions"
} | MIT | en |
digital-asset/canton | 0689e8649ccee69e0fb55908a8b0fbcfcc500749 | 2023-11-29T06:49:05 | community/ledger-api/docs/metering-report-schema.json | 71 | 2024-05-29T15:14:27.507612Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"applications": {
"items": {
"properties": {
"application": {
"type": "string"
},
"events": {
"type": "number"
}
},
"required": [
"application",
"events"
],
"type": "object"
},
"type": "array"
},
"check": {
"properties": {
"digest": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"required": [
"scheme",
"digest"
],
"type": "object"
},
"final": {
"type": "boolean"
},
"participant": {
"type": "string"
},
"request": {
"properties": {
"application": {
"type": "string"
},
"from": {
"format": "date-time",
"type": "string"
},
"to": {
"format": "date-time",
"type": "string"
}
},
"required": [
"from"
],
"type": "object"
}
},
"required": [
"participant",
"request",
"final",
"applications",
"check"
],
"title": "Metering Report",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | a87f5c0785846a3b8eaf808902ab751513fbcdee | 2023-12-06T23:25:42 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"segment_backup_job": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"tas_initializer_job": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"namespace": {
"type": "string"
},
"values": {
"properties": {
"email_address": {
"type": "string"
},
"organization_name": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
},
"tas_monitoring": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
}
}
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 66498877a32231c1c02a8b5ccf8a5ac19c9fbd41 | 2023-12-10T23:00:40 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"segment_backup_job": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 26c81690e22355f744695a792cd9fbfdbbc042a5 | 2023-09-27T13:11:45 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"cosign": {
"properties": {
"appsSubdomain": {
"type": "string"
},
"create": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"create": {
"type": "boolean"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"create": {
"type": "boolean"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"create": {
"type": "boolean"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"trillian": {
"properties": {
"create": {
"type": "boolean"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"create": {
"type": "boolean"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 943b84341afcdebc61691753df89c4f0e4c33662 | 2023-11-16T10:16:05 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"segment_backup_job": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"sigstore_monitoring": {
"properties": {
"namespace": {
"type": "string"
}
}
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 09d4293a40ddd74809b817c05483ad96e8be7dd3 | 2023-12-10T23:00:40 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"segment_backup_job": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 9ef35077588ca924429b0b9d7a0c6fa4acf49494 | 2023-12-06T18:37:48 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"segment_backup_job": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"tas_monitoring": {
"properties": {
"namespace": {
"type": "string"
}
}
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 60b16a25496bd9bc842a0b8b0d929c5135583c39 | 2023-12-07T00:26:13 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"segment_backup_job": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
}
},
"tas_monitoring": {
"properties": {
"namespace": {
"type": "string"
}
}
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
securesign/sigstore-ocp | 3a85c3f3a7f8c8e75f6905c64ee7afbeee26a8a9 | 2023-10-13T18:57:38 | charts/trusted-artifact-signer/values.schema.tmpl.json | 10 | 2024-05-27T05:04:30.155961Z | {
"$id": "http://example.com/example.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"configs": {
"properties": {
"clientserver": {
"properties": {
"consoleDownload": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"name": {
"type": "string"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"route": {
"type": "boolean"
}
},
"type": "object"
},
"cosign_deploy": {
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"registry": {
"type": "string"
},
"repository": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ctlog": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"fulcio": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"server": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_file": {
"type": "string"
},
"root_cert": {
"type": "string"
},
"root_cert_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"rekor": {
"properties": {
"clusterMonitoring": {
"properties": {
"enabled": {
"type": "boolean"
},
"endpoints": {
"items": {
"interval": {
"type": "string"
},
"port": {
"type": "string"
},
"scheme": {
"type": "string"
}
},
"type": "array"
}
},
"type": "object"
},
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
},
"signer": {
"properties": {
"secret": {
"properties": {
"name": {
"type": "string"
},
"private_key": {
"type": "string"
},
"private_key_file": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"trillian": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"tuf": {
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
},
"rolebindings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"global": {
"properties": {
"appsSubdomain": {
"type": "string"
}
},
"type": "object"
},
"rbac": {
"properties": {
"clusterrole": {
"type": "string"
}
},
"type": "object"
},
"scaffold": {
"$ref": "https://raw.githubusercontent.com/sigstore/helm-charts/main/charts/scaffold/values.schema.json",
"title": "Upstream Sigstore Scaffold chart schema."
}
},
"title": "Root Schema",
"type": "object"
} | Apache-2.0 | en |
breadboard-ai/breadboard | 2ca1c333bcf66e05e1cb003939644c6b14ddf665 | 2023-12-19T00:34:47 | packages/coffee-bot-board/prompts/v2-multi-agent/order-schema.json | 84 | 2024-05-27T09:33:31.523583Z | {
"$schema": "https://json-schema.org/draft-07/schema",
"default": {},
"properties": {
"action": {
"description": "The name of the tool to be used for this action. Must be one of the tools listed above.",
"enum": [
"checkMenu",
"summarizeMenu",
"finalizeOrder",
"customer"
],
"type": "string"
},
"actionInput": {
"description": "the input for the tool to help fulfill the action",
"type": "string"
},
"currentOrder": {
"description": "The current order",
"items": {
"properties": {
"extras": {
"default": [],
"description": "array of extras and options for the item",
"items": {
"description": "The name of the extra or option",
"type": "string"
},
"type": "array"
},
"item": {
"description": "name of the item in the order",
"type": "string"
},
"quantity": {
"default": 1,
"description": "The number of items",
"type": "number"
}
},
"required": [
"item",
"extras"
],
"type": "object"
},
"type": "array"
},
"orderType": {
"default": "here",
"description": "Either \"here\" or \"to go\"",
"type": "string"
},
"thought": {
"description": "Starting with a summary of order state (what's been done), describe how you decide on the next action, given the previous customer replies.",
"type": "string"
}
},
"required": [
"thought",
"action",
"actionInput",
"orderType",
"currentOrder"
],
"title": "Menu Order Schema",
"type": "object"
} | Apache-2.0 | en |
vpenades/SharpGLTF | b7cc008326a9cabb55a1f29dd1e6078794798fac | 2023-11-14T14:31:12 | build/SharpGLTF.CodeGen/Schemas/EXT_instance_features/schema/featureIdAttribute.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "featureIdAttribute.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "An integer value used to construct a string in the format `_FEATURE_ID_<set index>` which is a reference to a key in `EXT_mesh_gpu_instancing.attributes` dictionary (e.g. a value of `0` corresponds to `_FEATURE_ID_0`).",
"minimum": 0,
"title": "Feature ID Attribute in EXT_instance_features",
"type": "integer"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/definitions.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "definitions.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"definitions": {
"anyValue": {
"description": "For `SCALAR` this is a number. For `STRING` this is a string. For `ENUM` this is a string that must be a valid enum `name`, not an integer value. For `BOOLEAN` this is a boolean. For `VECN` this is an array of `N` numbers. For `MATN` this is an array of `N\u00b2` numbers. For fixed-length array this is an array of `count` elements of the given `type`. For variable-length arrays this is an array of any length of the given `type`.",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"type": "boolean"
},
{
"items": {
"type": "number"
},
"minItems": 1,
"type": "array"
},
{
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"items": {
"type": "boolean"
},
"minItems": 1,
"type": "array"
},
{
"items": {
"items": {
"type": "number"
},
"minItems": 1,
"type": "array"
},
"minItems": 1,
"type": "array"
}
],
"title": "Any Value"
},
"noDataValue": {
"description": "For `SCALAR` this is a number. For `STRING` this is a string. For `ENUM` this is a string that must be a valid enum `name`, not an integer value. For `VECN` this is an array of `N` numbers. For `MATN` this is an array of `N\u00b2` numbers. For fixed-length arrays this is an array of `count` elements of the given `type`.",
"oneOf": [
{
"type": "number"
},
{
"type": "string"
},
{
"items": {
"type": "number"
},
"minItems": 1,
"type": "array"
},
{
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"items": {
"items": {
"type": "number"
},
"minItems": 1,
"type": "array"
},
"minItems": 1,
"type": "array"
}
],
"title": "No Data Value"
},
"numericValue": {
"description": "For `SCALAR` this is a number. For `VECN` this is an array of `N` numbers. For `MATN` this is an array of `N\u00b2` numbers. For fixed-length arrays this is an array of `count` elements of the given `type`.",
"oneOf": [
{
"type": "number"
},
{
"items": {
"type": "number"
},
"minItems": 1,
"type": "array"
},
{
"items": {
"items": {
"type": "number"
},
"minItems": 1,
"type": "array"
},
"minItems": 1,
"type": "array"
}
],
"title": "Numeric Value"
}
},
"description": "Common definitions used in schema files.",
"title": "Definitions"
} | MIT | en |
vpenades/SharpGLTF | 8611594a988e6c7fb79bd12f64f613999d444039 | 2023-11-29T22:46:58 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/glTF.EXT_structural_metadata.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "glTF.EXT_structural_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "glTF extension that provides structural metadata about vertices, texels, and features in a glTF asset.",
"properties": {
"extensions": {},
"extras": {},
"propertyAttributes": {
"description": "An array of property attribute definitions, which may be referenced by index.",
"items": {
"$ref": "propertyAttribute.schema.json"
},
"minItems": 1,
"type": "array"
},
"propertyTables": {
"description": "An array of property table definitions, which may be referenced by index.",
"items": {
"$ref": "propertyTable.schema.json"
},
"minItems": 1,
"type": "array"
},
"propertyTextures": {
"description": "An array of property texture definitions, which may be referenced by index.",
"items": {
"$ref": "propertyTexture.schema.json"
},
"minItems": 1,
"type": "array"
},
"schema": {
"allOf": [
{
"$ref": "schema.schema.json"
}
],
"description": "An object defining classes and enums."
},
"schemaUri": {
"description": "The URI (or IRI) of the external schema file.",
"format": "iri-reference",
"type": "string"
}
},
"title": "EXT_structural_metadata glTF extension",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/propertyTable.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "propertyTable.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Properties conforming to a class, organized as property values stored in binary columnar arrays.",
"properties": {
"class": {
"description": "The class that property values conform to. The value must be a class ID declared in the `classes` dictionary.",
"type": "string"
},
"count": {
"description": "The number of elements in each property array.",
"minimum": 1,
"type": "integer"
},
"extensions": {},
"extras": {},
"name": {
"description": "The name of the property table, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"properties": {
"additionalProperties": {
"$ref": "propertyTable.property.schema.json"
},
"description": "A dictionary, where each key corresponds to a property ID in the class' `properties` dictionary and each value is an object describing where property values are stored. Required properties must be included in this dictionary.",
"minProperties": 1,
"type": "object"
}
},
"required": [
"class",
"count"
],
"title": "Property Table in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/propertyAttribute.property.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "propertyAttribute.property.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An attribute containing property values.",
"properties": {
"attribute": {
"description": "The name of the attribute containing property values.",
"type": "string"
},
"extensions": {},
"extras": {},
"max": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Maximum value present in the property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the maximum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"min": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Minimum value present in the property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the minimum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"offset": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "An offset to apply to property values. Only applicable when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`. Overrides the class property's `offset` if both are defined."
},
"scale": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "A scale to apply to property values. Only applicable when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`. Overrides the class property's `scale` if both are defined."
}
},
"required": [
"attribute"
],
"title": "Property Attribute Property in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/schema.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "schema.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An object defining classes and enums.",
"properties": {
"classes": {
"additionalProperties": {
"$ref": "class.schema.json"
},
"description": "A dictionary, where each key is a class ID and each value is an object defining the class. Class IDs must be alphanumeric identifiers matching the regular expression `^[a-zA-Z_][a-zA-Z0-9_]*$`.",
"minProperties": 1,
"type": "object"
},
"description": {
"description": "The description of the schema.",
"minLength": 1,
"type": "string"
},
"enums": {
"additionalProperties": {
"$ref": "enum.schema.json"
},
"description": "A dictionary, where each key is an enum ID and each value is an object defining the values for the enum. Enum IDs must be alphanumeric identifiers matching the regular expression `^[a-zA-Z_][a-zA-Z0-9_]*$`.",
"minProperties": 1,
"type": "object"
},
"extensions": {},
"extras": {},
"id": {
"description": "Unique identifier for the schema. Schema IDs must be alphanumeric identifiers matching the regular expression `^[a-zA-Z_][a-zA-Z0-9_]*$`.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"name": {
"description": "The name of the schema, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"version": {
"description": "Application-specific version of the schema.",
"minLength": 1,
"type": "string"
}
},
"required": [
"id"
],
"title": "Schema in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | b7cc008326a9cabb55a1f29dd1e6078794798fac | 2023-11-14T14:31:12 | build/SharpGLTF.CodeGen/Schemas/EXT_instance_features/schema/node.EXT_instance_features.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "node.EXT_instance_features.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An object describing per-instance feature IDs.",
"properties": {
"extensions": {},
"extras": {},
"featureIds": {
"description": "An array of feature ID sets.",
"items": {
"$ref": "featureId.schema.json"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"featureIds"
],
"title": "EXT_instance_features glTF Node extension",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/class.property.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "class.property.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "A class property.",
"properties": {
"array": {
"default": false,
"description": "Whether the property is an array. When `count` is defined the property is a fixed-length array. Otherwise the property is a variable-length array.",
"type": "boolean"
},
"componentType": {
"anyOf": [
{
"const": "INT8"
},
{
"const": "UINT8"
},
{
"const": "INT16"
},
{
"const": "UINT16"
},
{
"const": "INT32"
},
{
"const": "UINT32"
},
{
"const": "INT64"
},
{
"const": "UINT64"
},
{
"const": "FLOAT32"
},
{
"const": "FLOAT64"
},
{
"type": "string"
}
],
"description": "The datatype of the element's components. Only applicable to `SCALAR`, `VECN`, and `MATN` types."
},
"count": {
"description": "The number of array elements. May only be defined when `array` is true.",
"minimum": 2,
"type": "integer"
},
"default": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/anyValue"
}
],
"description": "A default value to use when encountering a `noData` value or an omitted property. The value is given in its final form, taking the effect of `normalized`, `offset`, and `scale` properties into account. Must not be defined if `required` is true."
},
"description": {
"description": "The description of the property.",
"minLength": 1,
"type": "string"
},
"enumType": {
"description": "Enum ID as declared in the `enums` dictionary. Required when `type` is `ENUM`.",
"type": "string"
},
"extensions": {},
"extras": {},
"max": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Maximum allowed value for the property. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the maximum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"min": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Minimum allowed value for the property. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the minimum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"name": {
"description": "The name of the property, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"noData": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/noDataValue"
}
],
"description": "A `noData` value represents missing data \u2014 also known as a sentinel value \u2014 wherever it appears. `BOOLEAN` properties may not specify `noData` values. This is given as the plain property value, without the transforms from the `normalized`, `offset`, and `scale` properties. Must not be defined if `required` is true."
},
"normalized": {
"default": false,
"description": "Specifies whether integer values are normalized. Only applicable to `SCALAR`, `VECN`, and `MATN` types with integer component types. For unsigned integer component types, values are normalized between `[0.0, 1.0]`. For signed integer component types, values are normalized between `[-1.0, 1.0]`. For all other component types, this property must be false.",
"type": "boolean"
},
"offset": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "An offset to apply to property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`."
},
"required": {
"default": false,
"description": "If required, the property must be present in every entity conforming to the class. If not required, individual entities may include `noData` values, or the entire property may be omitted. As a result, `noData` has no effect on a required property. Client implementations may use required properties to make performance optimizations.",
"type": "boolean"
},
"scale": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "A scale to apply to property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`."
},
"semantic": {
"description": "An identifier that describes how this property should be interpreted. The semantic cannot be used by other properties in the class.",
"minLength": 1,
"type": "string"
},
"type": {
"anyOf": [
{
"const": "SCALAR"
},
{
"const": "VEC2"
},
{
"const": "VEC3"
},
{
"const": "VEC4"
},
{
"const": "MAT2"
},
{
"const": "MAT3"
},
{
"const": "MAT4"
},
{
"const": "STRING"
},
{
"const": "BOOLEAN"
},
{
"const": "ENUM"
},
{
"type": "string"
}
],
"description": "The element type."
}
},
"required": [
"type"
],
"title": "Class Property in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/enum.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "enum.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An object defining the values of an enum.",
"properties": {
"description": {
"description": "The description of the enum.",
"minLength": 1,
"type": "string"
},
"extensions": {},
"extras": {},
"name": {
"description": "The name of the enum, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"valueType": {
"anyOf": [
{
"const": "INT8"
},
{
"const": "UINT8"
},
{
"const": "INT16"
},
{
"const": "UINT16"
},
{
"const": "INT32"
},
{
"const": "UINT32"
},
{
"const": "INT64"
},
{
"const": "UINT64"
},
{
"type": "string"
}
],
"default": "UINT16",
"description": "The type of the integer enum value."
},
"values": {
"description": "An array of enum values. Duplicate names or duplicate integer values are not allowed.",
"items": {
"$ref": "enum.value.schema.json"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"values"
],
"title": "Enum in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | 1afa1386a5a69c41fb60f04da0f8ac70679c20dd | 2023-11-13T15:23:51 | build/SharpGLTF.CodeGen/Schemas/EXT_mesh_features/schema/featureId.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "featureId.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Feature IDs stored in an attribute or texture.",
"properties": {
"attribute": {
"$ref": "featureIdAttribute.schema.json",
"description": "An attribute containing feature IDs. When `attribute` and `texture` are omitted the feature IDs are assigned to vertices by their index."
},
"extensions": {},
"extras": {},
"featureCount": {
"description": "The number of unique features in the attribute or texture.",
"minimum": 1,
"type": "integer"
},
"label": {
"description": "A label assigned to this feature ID set. Labels must be alphanumeric identifiers matching the regular expression `^[a-zA-Z_][a-zA-Z0-9_]*$`.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"nullFeatureId": {
"description": "A value that indicates that no feature is associated with this vertex or texel.",
"minimum": 0,
"type": "integer"
},
"propertyTable": {
"description": "The index of the property table containing per-feature property values. Only applicable when using the `EXT_structural_metadata` extension.",
"minimum": 0,
"type": "integer"
},
"texture": {
"$ref": "featureIdTexture.schema.json",
"description": "A texture containing feature IDs."
}
},
"required": [
"featureCount"
],
"title": "Feature ID in EXT_mesh_features",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/EXT_structural_metadata.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "EXT_structural_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Structural metadata about a glTF element.",
"properties": {
"extensions": {},
"extras": {},
"index": {
"description": "The feature index (row index) used for looking up property values for this element.",
"minimum": 0,
"type": "integer"
},
"propertyTable": {
"description": "The index of the property table containing per-feature property values.",
"minimum": 0,
"type": "integer"
}
},
"title": "EXT_structural_metadata glTF extension",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/glTF.EXT_structural_metadata.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "glTF.EXT_structural_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "glTF extension that provides structural metadata about vertices, texels, and features in a glTF asset.",
"oneOf": [
{
"description": "External schema, if any.",
"not": {
"required": [
"schema"
]
}
},
{
"description": "Internal schema, if any.",
"not": {
"required": [
"schemaUri"
]
}
}
],
"properties": {
"extensions": {},
"extras": {},
"propertyAttributes": {
"description": "An array of property attribute definitions, which may be referenced by index.",
"items": {
"$ref": "propertyAttribute.schema.json"
},
"minItems": 1,
"type": "array"
},
"propertyTables": {
"description": "An array of property table definitions, which may be referenced by index.",
"items": {
"$ref": "propertyTable.schema.json"
},
"minItems": 1,
"type": "array"
},
"propertyTextures": {
"description": "An array of property texture definitions, which may be referenced by index.",
"items": {
"$ref": "propertyTexture.schema.json"
},
"minItems": 1,
"type": "array"
},
"schema": {
"allOf": [
{
"$ref": "schema.schema.json"
}
],
"description": "An object defining classes and enums."
},
"schemaUri": {
"description": "The URI (or IRI) of the external schema file.",
"format": "iri-reference",
"type": "string"
}
},
"title": "EXT_structural_metadata glTF extension",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/propertyAttribute.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "propertyAttribute.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Properties conforming to a class, organized as property values stored in attributes.",
"properties": {
"class": {
"description": "The class that property values conform to. The value must be a class ID declared in the `classes` dictionary.",
"type": "string"
},
"extensions": {},
"extras": {},
"name": {
"description": "The name of the property attribute, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"properties": {
"additionalProperties": {
"$ref": "propertyAttribute.property.schema.json"
},
"description": "A dictionary, where each key corresponds to a property ID in the class' `properties` dictionary and each value is an object describing where property values are stored. Required properties must be included in this dictionary.",
"minProperties": 1,
"type": "object"
}
},
"required": [
"class"
],
"title": "Property Attribute in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/propertyTexture.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "propertyTexture.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Properties conforming to a class, organized as property values stored in textures.",
"properties": {
"class": {
"description": "The class that property values conform to. The value must be a class ID declared in the `classes` dictionary.",
"type": "string"
},
"extensions": {},
"extras": {},
"name": {
"description": "The name of the property texture, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"properties": {
"additionalProperties": {
"$ref": "propertyTexture.property.schema.json"
},
"description": "A dictionary, where each key corresponds to a property ID in the class' `properties` dictionary and each value is an object describing where property values are stored. Required properties must be included in this dictionary.",
"minProperties": 1,
"type": "object"
}
},
"required": [
"class"
],
"title": "Property Texture in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/enum.value.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "enum.value.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An enum value.",
"properties": {
"description": {
"description": "The description of the enum value.",
"minLength": 1,
"type": "string"
},
"extensions": {},
"extras": {},
"name": {
"description": "The name of the enum value.",
"minLength": 1,
"type": "string"
},
"value": {
"description": "The integer enum value.",
"type": "integer"
}
},
"required": [
"name",
"value"
],
"title": "Enum Value in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/mesh.primitive.EXT_structural_metadata.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "mesh.primitive.EXT_structural_metadata.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Structural metadata about a glTF primitive.",
"properties": {
"extensions": {},
"extras": {},
"propertyAttributes": {
"description": "An array of indexes of property attributes in the root `EXT_structural_metadata` object.",
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array"
},
"propertyTextures": {
"description": "An array of indexes of property textures in the root `EXT_structural_metadata` object.",
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array"
}
},
"title": "EXT_structural_metadata glTF Mesh Primitive extension",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | 1afa1386a5a69c41fb60f04da0f8ac70679c20dd | 2023-11-13T15:23:51 | build/SharpGLTF.CodeGen/Schemas/EXT_mesh_features/schema/featureIdTexture.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "featureIdTexture.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "textureInfo.schema.json"
}
],
"description": "A texture containing feature IDs",
"properties": {
"channels": {
"default": [
0
],
"description": "Texture channels containing feature IDs, identified by index. Feature IDs may be packed into multiple channels if a single channel does not have sufficient bit depth to represent all feature ID values. The values are packed in little-endian order.",
"items": {
"minimum": 0,
"type": "integer"
},
"minItems": 1,
"type": "array"
},
"extensions": {},
"extras": {},
"index": {},
"texCoord": {}
},
"title": "Feature ID Texture in EXT_mesh_features",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/propertyTable.property.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "propertyTable.property.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An array of binary property values.",
"properties": {
"arrayOffsetType": {
"anyOf": [
{
"const": "UINT8"
},
{
"const": "UINT16"
},
{
"const": "UINT32"
},
{
"const": "UINT64"
},
{
"type": "string"
}
],
"default": "UINT32",
"description": "The type of values in `arrayOffsets`."
},
"arrayOffsets": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of the buffer view containing offsets for variable-length arrays. The number of offsets is equal to the property table `count` plus one. The offsets represent the start positions of each array, with the last offset representing the position after the last array. The array length is computed using the difference between the subsequent offset and the current offset. If `type` is `STRING` the offsets index into the string offsets array (stored in `stringOffsets`), otherwise they index into the property array (stored in `values`). The data type of these offsets is determined by `arrayOffsetType`. The buffer view `byteOffset` must be aligned to a multiple of the `arrayOffsetType` size."
},
"extensions": {},
"extras": {},
"max": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Maximum value present in the property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the maximum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"min": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Minimum value present in the property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the minimum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"offset": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "An offset to apply to property values. Only applicable when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`. Overrides the class property's `offset` if both are defined."
},
"scale": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "A scale to apply to property values. Only applicable when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`. Overrides the class property's `scale` if both are defined."
},
"stringOffsetType": {
"anyOf": [
{
"const": "UINT8"
},
{
"const": "UINT16"
},
{
"const": "UINT32"
},
{
"const": "UINT64"
},
{
"type": "string"
}
],
"default": "UINT32",
"description": "The type of values in `stringOffsets`."
},
"stringOffsets": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of the buffer view containing offsets for strings. The number of offsets is equal to the number of string elements plus one. The offsets represent the byte offsets of each string in the property array (stored in `values`), with the last offset representing the byte offset after the last string. The string byte length is computed using the difference between the subsequent offset and the current offset. The data type of these offsets is determined by `stringOffsetType`. The buffer view `byteOffset` must be aligned to a multiple of the `stringOffsetType` size."
},
"values": {
"allOf": [
{
"$ref": "glTFid.schema.json"
}
],
"description": "The index of the buffer view containing property values. The data type of property values is determined by the property definition: When `type` is `BOOLEAN` values are packed into a bitstream. When `type` is `STRING` values are stored as byte sequences and decoded as UTF-8 strings. When `type` is `SCALAR`, `VECN`, or `MATN` the values are stored as the provided `componentType` and the buffer view `byteOffset` must be aligned to a multiple of the `componentType` size. When `type` is `ENUM` values are stored as the enum's `valueType` and the buffer view `byteOffset` must be aligned to a multiple of the `valueType` size. Each enum value in the array must match one of the allowed values in the enum definition. `arrayOffsets` is required for variable-length arrays and `stringOffsets` is required for strings (for variable-length arrays of strings, both are required)."
}
},
"required": [
"values"
],
"title": "Property Table Property in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/propertyTexture.property.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "propertyTexture.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "textureInfo.schema.json"
}
],
"description": "A texture containing property values.",
"properties": {
"channels": {
"default": [
0
],
"description": "Texture channels containing property values, identified by index. The values may be packed into multiple channels if a single channel does not have sufficient bit depth. The values are packed in little-endian order.",
"items": {
"minimum": 0,
"type": "integer"
},
"minItems": 1,
"type": "array"
},
"extensions": {},
"extras": {},
"index": {},
"max": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Maximum value present in the property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the maximum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"min": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "Minimum value present in the property values. Only applicable to `SCALAR`, `VECN`, and `MATN` types. This is the minimum of all property values, after the transforms based on the `normalized`, `offset`, and `scale` properties have been applied."
},
"offset": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "An offset to apply to property values. Only applicable when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`. Overrides the class property's `offset` if both are defined."
},
"scale": {
"allOf": [
{
"$ref": "definitions.schema.json#/definitions/numericValue"
}
],
"description": "A scale to apply to property values. Only applicable when the component type is `FLOAT32` or `FLOAT64`, or when the property is `normalized`. Overrides the class property's `scale` if both are defined."
},
"texCoord": {}
},
"title": "Property Texture Property in EXT_structural_metadata",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | 1afa1386a5a69c41fb60f04da0f8ac70679c20dd | 2023-11-13T15:23:51 | build/SharpGLTF.CodeGen/Schemas/EXT_mesh_features/schema/featureIdAttribute.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "featureIdAttribute.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "An integer value used to construct a string in the format `_FEATURE_ID_<set index>` which is a reference to a key in `mesh.primitives.attributes` (e.g. a value of `0` corresponds to `_FEATURE_ID_0`).",
"minimum": 0,
"title": "Feature ID Attribute in EXT_mesh_features",
"type": "integer"
} | MIT | en |
vpenades/SharpGLTF | b7cc008326a9cabb55a1f29dd1e6078794798fac | 2023-11-14T14:31:12 | build/SharpGLTF.CodeGen/Schemas/EXT_instance_features/schema/featureId.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "featureId.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "Feature IDs stored in a GPU mesh instancing attribute",
"properties": {
"attribute": {
"$ref": "featureIdAttribute.schema.json",
"description": "An attribute containing feature IDs. When this is omitted, then the feature IDs are assigned to the GPU instances by their index."
},
"extensions": {},
"extras": {},
"featureCount": {
"description": "The number of unique features in the attribute.",
"minimum": 1,
"type": "integer"
},
"label": {
"description": "A label assigned to this feature ID set. Labels must be alphanumeric identifiers matching the regular expression `^[a-zA-Z_][a-zA-Z0-9_]*$`.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"nullFeatureId": {
"description": "A value that indicates that no feature is associated with this instance.",
"minimum": 0,
"type": "integer"
},
"propertyTable": {
"description": "The index of the property table containing per-feature property values. Only applicable when using the `EXT_structural_metadata` extension.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"featureCount"
],
"title": "Feature ID in EXT_instance_features",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | 1afa1386a5a69c41fb60f04da0f8ac70679c20dd | 2023-11-13T15:23:51 | build/SharpGLTF.CodeGen/Schemas/EXT_mesh_features/schema/mesh.primitive.EXT_mesh_features.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "mesh.primitive.EXT_mesh_features.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "An object describing feature IDs for a mesh primitive.",
"properties": {
"extensions": {},
"extras": {},
"featureIds": {
"description": "An array of feature ID sets.",
"items": {
"$ref": "featureId.schema.json"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"featureIds"
],
"title": "EXT_mesh_features glTF Mesh Primitive extension",
"type": "object"
} | MIT | en |
vpenades/SharpGLTF | fdb068037d5462600685ff7a4a1bd2a1206cef1f | 2023-11-29T21:50:56 | build/SharpGLTF.CodeGen/Schemas/EXT_structural_metadata/schema/class.schema.json | 439 | 2024-05-29T10:11:05.05983Z | {
"$id": "class.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"allOf": [
{
"$ref": "glTFProperty.schema.json"
}
],
"description": "A class containing a set of properties.",
"properties": {
"description": {
"description": "The description of the class.",
"minLength": 1,
"type": "string"
},
"extensions": {},
"extras": {},
"name": {
"description": "The name of the class, e.g. for display purposes.",
"minLength": 1,
"type": "string"
},
"properties": {
"additionalProperties": {
"$ref": "class.property.schema.json"
},
"description": "A dictionary, where each key is a property ID and each value is an object defining the property. Property IDs must be alphanumeric identifiers matching the regular expression `^[a-zA-Z_][a-zA-Z0-9_]*$`.",
"minProperties": 1,
"type": "object"
}
},
"title": "Class in EXT_structural_metadata",
"type": "object"
} | MIT | en |
longphamkhac/IQA | 92844543e74344d109370cc78c43e09fb16e1cd1 | 2024-05-11T03:43:11 | helm/nginx-ingress/values.schema.json | 31 | 2024-05-27T06:49:41.022536Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"default": {},
"examples": [
{
"controller": {
"affinity": {},
"appprotect": {
"enable": false,
"logLevel": "fatal"
},
"appprotectdos": {
"debug": false,
"enable": false,
"maxDaemons": 0,
"maxWorkers": 0,
"memory": 0
},
"config": {
"annotations": {},
"entries": {},
"name": ""
},
"customConfigMap": "",
"customPorts": [],
"defaultTLS": {
"cert": "",
"key": "",
"secret": ""
},
"disableIPV6": false,
"enableCertManager": false,
"enableCustomResources": true,
"enableExternalDNS": false,
"enableLatencyMetrics": false,
"enableOIDC": false,
"enablePreviewPolicies": false,
"enableSnippets": false,
"enableTLSPassthrough": false,
"env": [],
"extraContainers": [],
"globalConfiguration": {
"create": false,
"spec": {}
},
"healthStatus": false,
"healthStatusURI": "/nginx-health",
"hostNetwork": false,
"image": {
"digest": "",
"pullPolicy": "IfNotPresent",
"repository": "nginx/nginx-ingress",
"tag": "2.3.1"
},
"includeYear": false,
"ingressClass": "nginx",
"initContainers": [],
"kind": "deployment",
"lifecycle": {},
"logLevel": 1,
"minReadySeconds": 0,
"name": "",
"nginxDebug": false,
"nginxReloadTimeout": 60000,
"nginxStatus": {
"allowCidrs": "127.0.0.1",
"enable": true,
"port": 8080
},
"nginxplus": false,
"nodeSelector": {},
"pod": {
"annotations": {},
"extraLabels": {}
},
"podDisruptionBudget": {
"annotations": {},
"enabled": false,
"minAvailable": 0,
"minUnavailable": 0
},
"priorityClassName": "",
"readOnlyRootFilesystem": false,
"readyStatus": {
"enable": true,
"initialDelaySeconds": 0,
"port": 8081
},
"replicaCount": 1,
"reportIngressStatus": {
"annotations": {},
"enable": true,
"enableLeaderElection": true,
"externalService": "",
"ingressLink": "",
"leaderElectionLockName": ""
},
"resources": {
"requests": {
"cpu": "100m",
"memory": "128Mi"
}
},
"service": {
"allocateLoadBalancerNodePorts": false,
"annotations": {},
"create": true,
"customPorts": [],
"externalIPs": [],
"externalTrafficPolicy": "Local",
"extraLabels": {},
"httpPort": {
"enable": true,
"nodePort": "",
"port": 80,
"targetPort": 80
},
"httpsPort": {
"enable": true,
"nodePort": "",
"port": 443,
"targetPort": 443
},
"ipFamilies": [],
"ipFamilyPolicy": "",
"loadBalancerIP": "",
"loadBalancerSourceRanges": [],
"type": "LoadBalancer"
},
"serviceAccount": {
"imagePullSecretName": "",
"name": ""
},
"serviceMonitor": {
"create": false,
"endpoints": {},
"labels": {},
"selectorMatchLabels": {}
},
"setAsDefaultIngress": false,
"strategy": {},
"terminationGracePeriodSeconds": 30,
"tolerations": [],
"topologySpreadConstraints": {},
"volumeMounts": [],
"volumes": [],
"watchNamespace": "",
"wildcardTLS": {
"cert": "",
"key": "",
"secret": ""
}
},
"nginxServiceMesh": {
"enable": false,
"enableEgress": false
},
"prometheus": {
"create": true,
"port": 9113,
"scheme": "http",
"secret": ""
},
"rbac": {
"create": true
},
"serviceInsight": {
"create": true,
"port": 9114,
"scheme": "http",
"secret": ""
}
}
],
"properties": {
"controller": {
"default": {},
"examples": [
{
"affinity": {},
"appprotect": {
"enable": false,
"logLevel": "fatal"
},
"appprotectdos": {
"debug": false,
"enable": false,
"maxDaemons": 0,
"maxWorkers": 0,
"memory": 0
},
"config": {
"annotations": {},
"entries": {},
"name": ""
},
"customConfigMap": "",
"customPorts": [],
"defaultTLS": {
"cert": "",
"key": "",
"secret": ""
},
"disableIPV6": false,
"enableCertManager": false,
"enableCustomResources": true,
"enableExternalDNS": false,
"enableLatencyMetrics": false,
"enableOIDC": false,
"enablePreviewPolicies": false,
"enableSnippets": false,
"enableTLSPassthrough": false,
"env": [],
"extraContainers": [],
"globalConfiguration": {
"create": false,
"spec": {}
},
"healthStatus": false,
"healthStatusURI": "/nginx-health",
"hostNetwork": false,
"image": {
"digest": "",
"pullPolicy": "IfNotPresent",
"repository": "nginx/nginx-ingress",
"tag": "2.3.1"
},
"includeYear": false,
"ingressClass": "nginx",
"initContainers": [],
"kind": "deployment",
"lifecycle": {},
"logLevel": 1,
"minReadySeconds": 0,
"name": "",
"nginxDebug": false,
"nginxReloadTimeout": 60000,
"nginxStatus": {
"allowCidrs": "127.0.0.1",
"enable": true,
"port": 8080
},
"nginxplus": false,
"nodeSelector": {},
"pod": {
"annotations": {},
"extraLabels": {}
},
"priorityClassName": "",
"readOnlyRootFilesystem": false,
"readyStatus": {
"enable": true,
"initialDelaySeconds": 0,
"port": 8081
},
"replicaCount": 1,
"reportIngressStatus": {
"annotations": {},
"enable": true,
"enableLeaderElection": true,
"externalService": "",
"ingressLink": "",
"leaderElectionLockName": ""
},
"resources": {
"requests": {
"cpu": "100m",
"memory": "128Mi"
}
},
"service": {
"allocateLoadBalancerNodePorts": false,
"annotations": {},
"create": true,
"customPorts": [],
"externalIPs": [],
"externalTrafficPolicy": "Local",
"extraLabels": {},
"httpPort": {
"enable": true,
"port": 80,
"targetPort": 80
},
"httpsPort": {
"enable": true,
"port": 443,
"targetPort": 443
},
"ipFamilies": [],
"ipFamilyPolicy": "",
"loadBalancerIP": "",
"loadBalancerSourceRanges": [],
"type": "LoadBalancer"
},
"serviceAccount": {
"imagePullSecretName": "",
"name": ""
},
"serviceMonitor": {
"create": false,
"endpoints": {},
"labels": {},
"selectorMatchLabels": {}
},
"setAsDefaultIngress": false,
"strategy": {},
"terminationGracePeriodSeconds": 30,
"tolerations": [],
"topologySpreadConstraints": {},
"volumeMounts": [],
"volumes": [],
"watchNamespace": "",
"wildcardTLS": {
"cert": "",
"key": "",
"secret": ""
}
}
],
"properties": {
"affinity": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Affinity",
"default": {},
"title": "The affinity Schema",
"type": "object"
},
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations Schema",
"type": "object"
},
"appprotect": {
"default": {},
"examples": [
{
"enable": true,
"logLevel": "fatal"
}
],
"properties": {
"enable": {
"default": false,
"examples": [
false,
true
],
"title": "Enable the App Protect WAF module in the Ingress Controller",
"type": "boolean"
},
"logLevel": {
"default": "",
"enum": [
"fatal",
"error",
"warn",
"info",
"debug",
"trace"
],
"examples": [
"fatal",
"error",
"warn",
"info",
"debug",
"trace"
],
"title": "The logLevel for App Protect WAF",
"type": "string"
}
},
"required": [
"enable"
],
"title": "The App Protect WAF Schema",
"type": "object"
},
"appprotectdos": {
"default": {},
"examples": [
{
"debug": false,
"enable": true,
"maxDaemons": 0,
"maxWorkers": 0,
"memory": 0
}
],
"properties": {
"debug": {
"default": false,
"examples": [
false,
true
],
"title": "debugging for App Protect DoS",
"type": "boolean"
},
"enable": {
"default": false,
"examples": [
false,
true
],
"title": "Enable the App Protect DoS module in the Ingress Controller",
"type": "boolean"
},
"maxDaemons": {
"default": 0,
"examples": [
0
],
"title": "Max number of ADMD instances",
"type": "integer"
},
"maxWorkers": {
"default": 0,
"examples": [
0
],
"title": "Max number of nginx processes to support",
"type": "integer"
},
"memory": {
"default": 0,
"examples": [
0
],
"title": "RAM memory size to consume in MB",
"type": "integer"
}
},
"required": [
"enable"
],
"title": "The App Protect DoS Schema",
"type": "object"
},
"config": {
"default": {},
"examples": [
{
"annotations": {},
"entries": {},
"name": ""
}
],
"properties": {
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations Schema",
"type": "object"
},
"entries": {
"default": {},
"examples": [
{}
],
"properties": {},
"required": [],
"title": "The entries Schema",
"type": "object"
},
"name": {
"default": "",
"examples": [
""
],
"title": "The name Schema",
"type": "string"
}
},
"required": [],
"title": "The config Schema",
"type": "object"
},
"customConfigMap": {
"default": "",
"examples": [
""
],
"title": "The customConfigMap Schema",
"type": "string"
},
"customPorts": {
"default": [],
"examples": [
[
{
"containerPort": 80,
"name": "http",
"protocol": "TCP"
},
{
"containerPort": 443,
"name": "https",
"protocol": "TCP"
}
]
],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ContainerPort",
"type": "object"
},
"title": "The customPorts to expose on the NGINX Ingress Controller pod",
"type": "array"
},
"defaultTLS": {
"default": {},
"examples": [],
"properties": {
"cert": {
"default": "",
"examples": [],
"title": "The cert Schema",
"type": "string"
},
"key": {
"default": "",
"examples": [],
"title": "The key Schema",
"type": "string"
},
"secret": {
"default": "",
"examples": [
""
],
"title": "The secret Schema",
"type": "string"
}
},
"required": [],
"title": "The defaultTLS Schema",
"type": "object"
},
"disableIPV6": {
"default": false,
"examples": [
false
],
"title": "The disableIPV6",
"type": "boolean"
},
"dnsPolicy": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.PodSpec/properties/dnsPolicy"
},
{
"enum": [
"ClusterFirstWithHostNet",
"ClusterFirst",
"Default",
"None"
]
}
],
"type": "string"
},
"enableCertManager": {
"default": false,
"examples": [
false
],
"title": "The enableCertManager",
"type": "boolean"
},
"enableCustomResources": {
"default": false,
"examples": [
true
],
"title": "The enableCustomResources",
"type": "boolean"
},
"enableExternalDNS": {
"default": false,
"examples": [
false
],
"title": "The enableExternalDNS",
"type": "boolean"
},
"enableLatencyMetrics": {
"default": false,
"examples": [
false
],
"title": "The enableLatencyMetrics",
"type": "boolean"
},
"enableOIDC": {
"default": false,
"examples": [
false
],
"title": "The enableOIDC",
"type": "boolean"
},
"enablePreviewPolicies": {
"default": false,
"examples": [
false
],
"title": "The enablePreviewPolicies",
"type": "boolean"
},
"enableSnippets": {
"default": false,
"examples": [
false
],
"title": "The enableSnippets",
"type": "boolean"
},
"enableTLSPassthrough": {
"default": false,
"examples": [
false
],
"title": "The enableTLSPassthrough",
"type": "boolean"
},
"env": {
"default": [],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.EnvVar",
"type": "object"
},
"title": "The env Schema",
"type": "array"
},
"extraContainers": {
"default": [],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Container",
"type": "object"
},
"title": "The extraContainers Schema",
"type": "array"
},
"globalConfiguration": {
"default": {},
"examples": [
{
"create": false,
"spec": {}
}
],
"properties": {
"create": {
"default": false,
"examples": [
false
],
"title": "The create Schema",
"type": "boolean"
},
"spec": {
"default": {},
"examples": [
{}
],
"properties": {
"listeners": {
"default": [],
"items": {
"default": {},
"properties": {
"name": {
"default": "",
"examples": [
"dns-tcp"
],
"title": "The name",
"type": "string"
},
"port": {
"default": 0,
"examples": [
5353
],
"title": "The port",
"type": "integer"
},
"protocol": {
"default": "",
"examples": [
"TCP"
],
"title": "The protocol",
"type": "string"
}
},
"type": "object"
},
"title": "The listeners Schema",
"type": "array"
}
},
"required": [],
"title": "The spec Schema",
"type": "object"
}
},
"required": [
"create",
"spec"
],
"title": "The globalConfiguration Schema",
"type": "object"
},
"healthStatus": {
"default": false,
"examples": [
false
],
"title": "The healthStatus",
"type": "boolean"
},
"healthStatusURI": {
"default": "/nginx-health",
"examples": [
"/nginx-health"
],
"format": "uri-reference",
"title": "The healthStatusURI Schema",
"type": "string"
},
"hostNetwork": {
"default": false,
"examples": [
false,
true
],
"title": "The hostNetwork Schema",
"type": "boolean"
},
"image": {
"default": {},
"examples": [
{
"pullPolicy": "IfNotPresent",
"repository": "nginx/nginx-ingress",
"tag": "2.3.1"
}
],
"properties": {
"digest": {
"default": "",
"examples": [
"sha256:2710c264e8eaeb663cee63db37b75a1ac1709f63a130fb091c843a6c3a4dc572"
],
"title": "The digest of the Ingress Controller image",
"type": "string"
},
"pullPolicy": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Container/properties/imagePullPolicy"
},
{
"enum": [
"Always",
"IfNotPresent",
"Never"
]
}
],
"default": "IfNotPresent",
"examples": [
"Always",
"IfNotPresent",
"Never"
],
"title": "The pullPolicy for the Ingress Controller image",
"type": "string"
},
"repository": {
"default": "nginx/nginx-ingress",
"examples": [
"nginx/nginx-ingress"
],
"title": "The repository of the Ingress Controller",
"type": "string"
},
"tag": {
"default": "2.3.1",
"examples": [
"2.3.1"
],
"title": "The tag of the Ingress Controller image",
"type": "string"
}
},
"required": [
"repository"
],
"title": "The image Schema",
"type": "object"
},
"includeYear": {
"default": false,
"examples": [
false
],
"title": "The includeYear",
"type": "boolean"
},
"ingressClass": {
"default": "",
"examples": [
"nginx"
],
"title": "The ingressClass",
"type": "string"
},
"initContainers": {
"default": [],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Container",
"type": "object"
},
"title": "The initContainers Schema",
"type": "array"
},
"kind": {
"default": "",
"enum": [
"deployment",
"daemonset"
],
"examples": [
"deployment",
"daemonset"
],
"title": "The kind of the Ingress Controller",
"type": "string"
},
"lifecycle": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Lifecycle",
"default": {},
"title": "The lifecycle Schema",
"type": "object"
},
"logLevel": {
"default": 1,
"enum": [
0,
1,
2,
3
],
"examples": [
1
],
"title": "The logLevel of the Ingress Controller",
"type": "integer"
},
"minReadySeconds": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.apps.v1.DeploymentSpec/properties/minReadySeconds",
"default": 0,
"title": "The minReadySeconds Schema",
"type": "integer"
},
"name": {
"default": "",
"examples": [
"controller"
],
"title": "The name of the Ingress Controller",
"type": "string"
},
"nginxDebug": {
"default": false,
"examples": [
false,
true
],
"title": "Enables debugging for NGINX",
"type": "boolean"
},
"nginxReloadTimeout": {
"default": 0,
"examples": [
60000
],
"title": "Timeout in milliseconds which the Ingress Controller will wait for a successful NGINX reload after a change or at the initial start",
"type": "integer"
},
"nginxStatus": {
"default": {},
"examples": [
{
"allowCidrs": "127.0.0.1",
"enable": true,
"port": 8080
}
],
"properties": {
"allowCidrs": {
"default": "127.0.0.1",
"examples": [
"127.0.0.1"
],
"title": "The allowCidrs",
"type": "string"
},
"enable": {
"default": false,
"examples": [
true
],
"title": "The enable",
"type": "boolean"
},
"port": {
"default": 8080,
"examples": [
8080
],
"title": "The port",
"type": "integer"
}
},
"required": [],
"title": "The nginxStatus Schema",
"type": "object"
},
"nginxplus": {
"default": false,
"examples": [
false,
true
],
"title": "Deploys the Ingress Controller for NGINX Plus",
"type": "boolean"
},
"nodeSelector": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.PodSpec/properties/nodeSelector",
"default": {},
"title": "The nodeSelector Schema",
"type": "object"
},
"pod": {
"default": {},
"examples": [
{
"annotations": {},
"extraLabels": {}
}
],
"properties": {
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations Schema",
"type": "object"
},
"extraLabels": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/labels",
"default": {},
"title": "The extraLabels Schema",
"type": "object"
}
},
"required": [],
"title": "The pod Schema",
"type": "object"
},
"podDisruptionBudget": {
"default": {},
"examples": [
{
"enable": true,
"minAvailable": 1
},
{
"enable": true,
"maxUnavailable": 1
}
],
"properties": {
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations Schema",
"type": "object"
},
"enabled": {
"type": "boolean"
},
"maxUnavailable": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec/properties/maxUnavailable"
},
"minAvailable": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.policy.v1.PodDisruptionBudgetSpec/properties/minAvailable"
}
},
"required": [
"enabled"
],
"title": "The podDisruptionBudget Schema",
"type": "object"
},
"priorityClassName": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.PodSpec/properties/priorityClassName",
"default": "",
"title": "The priorityClassName",
"type": "string"
},
"readOnlyRootFilesystem": {
"default": false,
"examples": [
false
],
"title": "The readOnlyRootFilesystem",
"type": "boolean"
},
"readyStatus": {
"default": {},
"examples": [
{
"enable": true,
"initialDelaySeconds": 0,
"port": 8081
}
],
"properties": {
"enable": {
"default": false,
"examples": [
true
],
"title": "The enable",
"type": "boolean"
},
"initialDelaySeconds": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe/properties/initialDelaySeconds",
"default": 0,
"type": "integer"
},
"port": {
"default": 0,
"examples": [
8081
],
"title": "The port",
"type": "integer"
}
},
"required": [],
"title": "The readyStatus",
"type": "object"
},
"replicaCount": {
"default": 1,
"examples": [
1
],
"title": "The replicaCount",
"type": "integer"
},
"reportIngressStatus": {
"default": {},
"examples": [
{
"annotations": {},
"enable": true,
"enableLeaderElection": true,
"externalService": "",
"ingressLink": "",
"leaderElectionLockName": ""
}
],
"properties": {
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations Schema",
"type": "object"
},
"enable": {
"default": false,
"examples": [
true
],
"title": "The enable",
"type": "boolean"
},
"enableLeaderElection": {
"default": false,
"examples": [
true
],
"title": "The enableLeaderElection",
"type": "boolean"
},
"externalService": {
"default": "",
"examples": [
""
],
"title": "The externalService",
"type": "string"
},
"ingressLink": {
"default": "",
"examples": [
""
],
"title": "The ingressLink",
"type": "string"
},
"leaderElectionLockName": {
"default": "",
"examples": [
""
],
"title": "The leaderElectionLockName",
"type": "string"
}
},
"required": [
"enable"
],
"title": "The reportIngressStatus Schema",
"type": "object"
},
"resources": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements",
"default": {},
"title": "The resources Schema",
"type": "object"
},
"service": {
"default": {},
"examples": [
{
"allocateLoadBalancerNodePorts": false,
"annotations": {},
"create": true,
"customPorts": [],
"externalIPs": [],
"externalTrafficPolicy": "Local",
"extraLabels": {},
"httpPort": {
"enable": true,
"port": 80,
"targetPort": 80
},
"httpsPort": {
"enable": true,
"port": 443,
"targetPort": 443
},
"ipFamilies": [],
"ipFamilyPolicy": "",
"loadBalancerIP": "",
"loadBalancerSourceRanges": [],
"name": "",
"type": "LoadBalancer"
}
],
"properties": {
"allocateLoadBalancerNodePorts": {
"default": false,
"ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/allocateLoadBalancerNodePorts",
"title": "The allocateLoadBalancerNodePorts Schema",
"type": "boolean"
},
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations",
"type": "object"
},
"create": {
"default": false,
"examples": [
true
],
"title": "The create",
"type": "boolean"
},
"customPorts": {
"default": [],
"items": {
"ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServicePort",
"type": "object"
},
"title": "The customPorts",
"type": "array"
},
"externalIPs": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/externalIPs",
"default": [],
"title": "The externalIPs",
"type": "array"
},
"externalTrafficPolicy": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/externalTrafficPolicy",
"default": "",
"title": "The externalTrafficPolicy",
"type": "string"
},
"extraLabels": {
"default": {},
"examples": [
{}
],
"properties": {},
"required": [],
"title": "The extraLabels",
"type": "object"
},
"httpPort": {
"default": {},
"examples": [
{
"enable": true,
"nodePort": "",
"port": 80,
"targetPort": 80
}
],
"properties": {
"enable": {
"default": false,
"examples": [
true
],
"title": "The enable",
"type": "boolean"
},
"nodePort": {
"default": 0,
"examples": [
443
],
"title": "The nodePort",
"type": "integer"
},
"port": {
"default": 0,
"examples": [
80
],
"title": "The port",
"type": "integer"
},
"targetPort": {
"default": 0,
"examples": [
80
],
"title": "The targetPort",
"type": "integer"
}
},
"required": [],
"title": "The httpPort",
"type": "object"
},
"httpsPort": {
"default": {},
"examples": [
{
"enable": true,
"nodePort": "",
"port": 443,
"targetPort": 443
}
],
"properties": {
"enable": {
"default": false,
"examples": [
true
],
"title": "The enable",
"type": "boolean"
},
"nodePort": {
"default": 0,
"examples": [
443
],
"title": "The nodePort",
"type": "integer"
},
"port": {
"default": 0,
"examples": [
443
],
"title": "The port",
"type": "integer"
},
"targetPort": {
"default": 0,
"examples": [
443
],
"title": "The targetPort",
"type": "integer"
}
},
"required": [],
"title": "The httpsPort",
"type": "object"
},
"ipFamilies": {
"default": [],
"ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/ipFamilies",
"title": "The ipFamilies Schema",
"type": "array"
},
"ipFamilyPolicy": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/ipFamilyPolicy",
"default": "",
"examples": [
""
],
"title": "The ipFamilyPolicy Schema",
"type": "string"
},
"loadBalancerIP": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/loadBalancerIP",
"default": "",
"title": "The loadBalancerIP",
"type": "string"
},
"loadBalancerSourceRanges": {
"default": [],
"examples": [
[]
],
"items": {},
"title": "The loadBalancerSourceRanges",
"type": "array"
},
"type": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.ServiceSpec/properties/type",
"default": "",
"title": "The type",
"type": "string"
}
},
"required": [],
"title": "The service Schema",
"type": "object"
},
"serviceAccount": {
"default": {},
"examples": [
{
"imagePullSecretName": "",
"name": ""
}
],
"properties": {
"annotations": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/annotations",
"default": {},
"title": "The annotations Schema",
"type": "object"
},
"imagePullSecretName": {
"default": "",
"examples": [
""
],
"title": "The imagePullSecretName",
"type": "string"
},
"name": {
"default": "",
"examples": [
""
],
"title": "The name Schema",
"type": "string"
}
},
"required": [],
"title": "The serviceAccount Schema",
"type": "object"
},
"serviceMonitor": {
"default": {},
"examples": [
{
"create": false,
"endpoints": [],
"labels": {},
"selectorMatchLabels": {}
}
],
"properties": {
"create": {
"default": false,
"examples": [
false
],
"title": "The create",
"type": "boolean"
},
"endpoints": {
"default": [],
"items": {},
"required": [],
"title": "The endpoints",
"type": "array"
},
"labels": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta/properties/labels",
"default": {},
"title": "The labels Schema",
"type": "object"
},
"selectorMatchLabels": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector/properties/matchLabels",
"default": {},
"title": "The selectorMatchLabels Schema",
"type": "object"
}
},
"required": [],
"title": "The serviceMonitor Schema",
"type": "object"
},
"setAsDefaultIngress": {
"default": false,
"examples": [
false
],
"title": "The setAsDefaultIngress",
"type": "boolean"
},
"strategy": {
"allOf": [
{
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.apps.v1.DeploymentStrategy"
},
{
"properties": {
"type": {
"enum": [
"Recreate",
"RollingUpdate",
"OnDelete"
],
"type": "string"
}
}
}
],
"default": {},
"title": "The strategy Schema",
"type": "object"
},
"terminationGracePeriodSeconds": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.PodSpec/properties/terminationGracePeriodSeconds",
"default": 30,
"title": "The terminationGracePeriodSeconds Schema",
"type": "integer"
},
"tolerations": {
"default": [],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration",
"type": "object"
},
"title": "The tolerations Schema",
"type": "array"
},
"topologySpreadConstraints": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.PodSpec/properties/topologySpreadConstraints",
"default": {},
"title": "The topologySpreadConstraints Schema",
"type": "object"
},
"volumeMounts": {
"default": [],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount",
"type": "object"
},
"title": "The volumeMounts Schema",
"type": "array"
},
"volumes": {
"default": [],
"items": {
"$ref": "https://raw.githubusercontent.com/nginxinc/kubernetes-json-schema/master/v1.26.1/_definitions.json#/definitions/io.k8s.api.core.v1.Volume",
"type": "object"
},
"title": "The volumes Schema",
"type": "array"
},
"watchNamespace": {
"default": "",
"examples": [
""
],
"title": "The watchNamespace",
"type": "string"
},
"watchSecretNamespace": {
"default": "",
"examples": [
""
],
"title": "The watchSecretNamespace",
"type": "string"
},
"wildcardTLS": {
"default": {},
"examples": [],
"properties": {
"cert": {
"default": "",
"examples": [
""
],
"title": "The cert Schema",
"type": "string"
},
"key": {
"default": "",
"examples": [
""
],
"title": "The key Schema",
"type": "string"
},
"secret": {
"default": "",
"examples": [
""
],
"title": "The secret Schema",
"type": "string"
}
},
"required": [],
"title": "The wildcardTLS Schema",
"type": "object"
}
},
"required": [
"name",
"kind",
"image"
],
"title": "The Ingress Controller Helm Schema",
"type": "object"
},
"nginxServiceMesh": {
"default": {},
"examples": [
{
"enable": false,
"enableEgress": false
}
],
"properties": {
"enable": {
"default": false,
"examples": [
false
],
"title": "The enable",
"type": "boolean"
},
"enableEgress": {
"default": false,
"examples": [
false
],
"title": "The enableEgress",
"type": "boolean"
}
},
"required": [
"enable"
],
"title": "The nginxServiceMesh Schema",
"type": "object"
},
"prometheus": {
"default": {},
"examples": [
{
"create": true,
"port": 9113,
"scheme": "http",
"secret": ""
}
],
"properties": {
"create": {
"default": false,
"examples": [
true
],
"title": "The create",
"type": "boolean"
},
"port": {
"default": 9113,
"examples": [
9113
],
"title": "The port",
"type": "integer"
},
"scheme": {
"default": "http",
"examples": [
"http"
],
"title": "The scheme",
"type": "string"
},
"secret": {
"default": "",
"examples": [
""
],
"title": "The secret",
"type": "string"
}
},
"required": [
"create"
],
"title": "The prometheus Schema",
"type": "object"
},
"rbac": {
"default": {},
"examples": [
{
"create": true
}
],
"properties": {
"create": {
"default": false,
"examples": [
true
],
"title": "The create Schema",
"type": "boolean"
}
},
"required": [
"create"
],
"title": "The rbac Schema",
"type": "object"
},
"serviceInsight": {
"default": {},
"examples": [
{
"create": true,
"port": 9114,
"scheme": "http",
"secret": ""
}
],
"properties": {
"create": {
"default": false,
"examples": [
true
],
"title": "The create",
"type": "boolean"
},
"port": {
"default": 9114,
"examples": [
9114
],
"title": "The port",
"type": "integer"
},
"scheme": {
"default": "http",
"examples": [
"http"
],
"title": "The scheme",
"type": "string"
},
"secret": {
"default": "",
"examples": [
""
],
"title": "The secret",
"type": "string"
}
},
"required": [
"create"
],
"title": "The Service Insight Schema",
"type": "object"
}
},
"required": [
"controller",
"rbac",
"prometheus",
"serviceInsight",
"nginxServiceMesh"
],
"title": "Root Schema",
"type": "object"
} | MIT | en |
firecracker-microvm/firecracker | 058983d28a1a1d9bf1c1bf1a8a088ecea7ee4469 | 2023-08-21T13:47:52 | docs/cpu_templates/schema.json | 24,272 | 2024-05-29T15:07:18.429933Z | {
"$id": "https://github.com/firecracker-microvm/firecracker/tree/main/docs/cpu-templates/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Custom CPU template language description",
"properties": {
"cpuid_modifiers": {
"items": {
"description": "CPUID modifiers. Only for x86_64.",
"properties": {
"flags": {
"description": "KVM CPUID flags, see https://docs.kernel.org/virt/kvm/api.html#kvm-get-supported-cpuid",
"type": "integer"
},
"leaf": {
"description": "CPUID leaf index (or function). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
},
"modifiers": {
"items": {
"description": "CPUID register modifiers.",
"properties": {
"bitmap": {
"description": "CPUID register value bitmap. Must be in format `0b[01x]{32}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx000000000011xx00011011110010",
"0bxxxxxxxxxxxxx0xx00xx00x0_0000_00xx"
],
"type": "string"
},
"register": {
"description": "CPUID register name.",
"enum": [
"eax",
"ebx",
"ecx",
"edx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"subleaf": {
"description": "CPUID subleaf index (or subfunction). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"kvm_capabilities": {
"items": {
"description": "Additional KVM capabilities can be added or existing (built-in) capabilities can be removed from the firecracker checks. To add KVM capability to the checklist specify decimal number of the corresponding KVM capability. To remove a KVM capability from the checklist specify decimal number of the corresponding KVM capability with '!' mark in the front. Works on both x86_64 and aarch64.",
"examples": [
"171",
"!172"
],
"type": "string"
},
"type": "array"
},
"msr_modifiers": {
"items": {
"description": "MSR modifiers. Only for x86_64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x10a"
],
"type": "string"
},
"bitmap": {
"description": "MSR value bitmap. Must be in format `0b[01x]{64}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx0000000000000000000000000000000000000000000000000000_11101011"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"reg_modifiers": {
"items": {
"description": "ARM register modifiers. Only for aarch64.",
"properties": {
"addr": {
"description": "ARM register address/identifier. Must be a string containing an integer. See https://docs.kernel.org/virt/kvm/api.html#kvm-set-one-reg .",
"examples": [
"0x603000000013c020"
],
"type": "string"
},
"bitmap": {
"description": "ARM register value bitmap. Must be in format `0b[01x]{1,128}`. The actual length of the bitmap should be less or equal to the size of the register in bits. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxxxxxxxxxx_0000_xxxx_xxxx_xxxx_0000_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"vcpu_features": {
"items": {
"description": "vCPU features to enable during vCPU initialization. Only for aarch64.",
"properties": {
"bitmap": {
"description": "Bitmap for modifying the 32 bit field in kvm_vcpu_init::features. Must be in the format `0b[01x]{1,32}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0b1100000"
],
"type": "string"
},
"index": {
"description": "Index into kvm_vcpu_init::features array. As of Linux kernel 6.4.10, only value 0 is allowed.",
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Custom CPU template",
"type": "object"
} | Apache-2.0 | en |
firecracker-microvm/firecracker | 3451a0a353af71fe5384eb63470383283a6e04cd | 2023-05-12T17:45:24 | docs/cpu_templates/schema.json | 24,272 | 2024-05-29T15:07:18.429933Z | {
"$id": "https://github.com/firecracker-microvm/firecracker/tree/main/docs/cpu-templates/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Custom CPU template language description",
"properties": {
"cpuid_modifiers": {
"items": {
"description": "CPUID modifiers. Only for x86_64.",
"properties": {
"flags": {
"description": "KVM CPUID flags, see https://docs.kernel.org/virt/kvm/api.html#kvm-get-supported-cpuid",
"type": "integer"
},
"leaf": {
"description": "CPUID leaf index (or function). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
},
"modifiers": {
"items": {
"description": "CPUID register modifiers.",
"properties": {
"bitmap": {
"description": "CPUID register value bitmap. Must be in format `0b[01x]{32}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`).",
"examples": [
"0bxxxx000000000011xx00011011110010",
"0bxxxxxxxxxxxxx0xx00xx00x0000000xx"
],
"type": "string"
},
"register": {
"description": "CPUID register name.",
"enum": [
"eax",
"ebx",
"ecx",
"edx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"subleaf": {
"description": "CPUID subleaf index (or subfunction). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"msr_modifiers": {
"items": {
"description": "MSR modifiers. Only for x86_64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x10a"
],
"type": "string"
},
"bitmap": {
"description": "MSR value bitmap. Must be in format `0b[01x]{64}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`).",
"examples": [
"0bxxxx000000000000000000000000000000000000000000000000000011101011"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"reg_modifiers": {
"items": {
"description": "ARM register modifiers. Only for aarch64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x603000000013c020"
],
"type": "string"
},
"bitmap": {
"description": "ARM register value bitmap. Must be in format `0b[01x]{128}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`).",
"examples": [
"0bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0000xxxxxxxxxxxx0000xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Custom CPU template",
"type": "object"
} | Apache-2.0 | en |
firecracker-microvm/firecracker | d0b0000fbcbf47fa374b0f051594be73adc19385 | 2023-07-10T15:21:32 | docs/cpu_templates/schema.json | 24,272 | 2024-05-29T15:07:18.429933Z | {
"$id": "https://github.com/firecracker-microvm/firecracker/tree/main/docs/cpu-templates/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Custom CPU template language description",
"properties": {
"cpuid_modifiers": {
"items": {
"description": "CPUID modifiers. Only for x86_64.",
"properties": {
"flags": {
"description": "KVM CPUID flags, see https://docs.kernel.org/virt/kvm/api.html#kvm-get-supported-cpuid",
"type": "integer"
},
"leaf": {
"description": "CPUID leaf index (or function). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
},
"modifiers": {
"items": {
"description": "CPUID register modifiers.",
"properties": {
"bitmap": {
"description": "CPUID register value bitmap. Must be in format `0b[01x]{32}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx000000000011xx00011011110010",
"0bxxxxxxxxxxxxx0xx00xx00x0_0000_00xx"
],
"type": "string"
},
"register": {
"description": "CPUID register name.",
"enum": [
"eax",
"ebx",
"ecx",
"edx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"subleaf": {
"description": "CPUID subleaf index (or subfunction). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"msr_modifiers": {
"items": {
"description": "MSR modifiers. Only for x86_64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x10a"
],
"type": "string"
},
"bitmap": {
"description": "MSR value bitmap. Must be in format `0b[01x]{64}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx0000000000000000000000000000000000000000000000000000_11101011"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"reg_modifiers": {
"items": {
"description": "ARM register modifiers. Only for aarch64.",
"properties": {
"addr": {
"description": "ARM register address/identifier. Must be a string containing an integer. See https://docs.kernel.org/virt/kvm/api.html#kvm-set-one-reg .",
"examples": [
"0x603000000013c020"
],
"type": "string"
},
"bitmap": {
"description": "ARM register value bitmap. Must be in format `0b[01x]{1,128}`. The actual length of the bitmap should be less or equal to the size of the register in bits. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxxxxxxxxxx_0000_xxxx_xxxx_xxxx_0000_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Custom CPU template",
"type": "object"
} | Apache-2.0 | en |
firecracker-microvm/firecracker | 0eb3c6fb1f58470b6017bd8958e45a73b621d910 | 2023-05-30T10:30:43 | docs/cpu_templates/schema.json | 24,272 | 2024-05-29T15:07:18.429933Z | {
"$id": "https://github.com/firecracker-microvm/firecracker/tree/main/docs/cpu-templates/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Custom CPU template language description",
"properties": {
"cpuid_modifiers": {
"items": {
"description": "CPUID modifiers. Only for x86_64.",
"properties": {
"flags": {
"description": "KVM CPUID flags, see https://docs.kernel.org/virt/kvm/api.html#kvm-get-supported-cpuid",
"type": "integer"
},
"leaf": {
"description": "CPUID leaf index (or function). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
},
"modifiers": {
"items": {
"description": "CPUID register modifiers.",
"properties": {
"bitmap": {
"description": "CPUID register value bitmap. Must be in format `0b[01x]{32}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx000000000011xx00011011110010",
"0bxxxxxxxxxxxxx0xx00xx00x0_0000_00xx"
],
"type": "string"
},
"register": {
"description": "CPUID register name.",
"enum": [
"eax",
"ebx",
"ecx",
"edx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"subleaf": {
"description": "CPUID subleaf index (or subfunction). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"msr_modifiers": {
"items": {
"description": "MSR modifiers. Only for x86_64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x10a"
],
"type": "string"
},
"bitmap": {
"description": "MSR value bitmap. Must be in format `0b[01x]{64}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx0000000000000000000000000000000000000000000000000000_11101011"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"reg_modifiers": {
"items": {
"description": "ARM register modifiers. Only for aarch64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x603000000013c020"
],
"type": "string"
},
"bitmap": {
"description": "ARM register value bitmap. Must be in format `0b[01x]{128}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_0000_xxxx_xxxx_xxxx_0000_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Custom CPU template",
"type": "object"
} | Apache-2.0 | en |
firecracker-microvm/firecracker | 322c3f7dd955f1807be2dff102847ac9ca7c9102 | 2023-06-02T21:24:53 | docs/cpu_templates/schema.json | 24,272 | 2024-05-29T15:07:18.429933Z | {
"$id": "https://github.com/firecracker-microvm/firecracker/tree/main/docs/cpu-templates/schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Custom CPU template language description",
"properties": {
"cpuid_modifiers": {
"items": {
"description": "CPUID modifiers. Only for x86_64.",
"properties": {
"flags": {
"description": "KVM CPUID flags, see https://docs.kernel.org/virt/kvm/api.html#kvm-get-supported-cpuid",
"type": "integer"
},
"leaf": {
"description": "CPUID leaf index (or function). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
},
"modifiers": {
"items": {
"description": "CPUID register modifiers.",
"properties": {
"bitmap": {
"description": "CPUID register value bitmap. Must be in format `0b[01x]{32}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx000000000011xx00011011110010",
"0bxxxxxxxxxxxxx0xx00xx00x0_0000_00xx"
],
"type": "string"
},
"register": {
"description": "CPUID register name.",
"enum": [
"eax",
"ebx",
"ecx",
"edx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"subleaf": {
"description": "CPUID subleaf index (or subfunction). Must be a string containing an integer.",
"examples": [
"0x1",
"0x2"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"msr_modifiers": {
"items": {
"description": "MSR modifiers. Only for x86_64.",
"properties": {
"addr": {
"description": "MSR address/identifier. Must be a string containing an integer.",
"examples": [
"0x10a"
],
"type": "string"
},
"bitmap": {
"description": "MSR value bitmap. Must be in format `0b[01x]{64}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxx0000000000000000000000000000000000000000000000000000_11101011"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"reg_modifiers": {
"items": {
"description": "ARM register modifiers. Only for aarch64.",
"properties": {
"addr": {
"description": "ARM register address/identifier. Must be a string containing an integer. See https://docs.kernel.org/virt/kvm/api.html#kvm-set-one-reg .",
"examples": [
"0x603000000013c020"
],
"type": "string"
},
"bitmap": {
"description": "ARM register value bitmap. Must be in format `0b[01x]{128}`. Corresponding bits will be cleared (`0`), set (`1`) or left intact (`x`). (`_`) can be used as a separator.",
"examples": [
"0bxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx_0000_xxxx_xxxx_xxxx_0000_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx_xxxx"
],
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"title": "Custom CPU template",
"type": "object"
} | Apache-2.0 | en |
tangly-team/tangly-os | 27db75d227414519fd210778624dca9ddd2cb5af | 2024-03-02T13:03:24 | net.tangly.erp.invoices/src/main/resources/invoice-schema.json | 7 | 2024-05-27T22:14:55.034116Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"definitions": {
"address": {
"properties": {
"country": {
"type": "string"
},
"extended": {
"type": "string"
},
"locality": {
"type": "string"
},
"postCode": {
"type": "string"
},
"region": {
"type": "string"
},
"street": {
"type": "string"
}
},
"type": "object"
},
"article": {
"additionalProperties": false,
"description": "article sold and invoiced with a standard price and VAT rate",
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"unit": {
"type": "string"
},
"unitPrice": {
"type": "string"
}
},
"required": [
"id",
"unitPrice",
"unit"
],
"type": "object"
},
"bankConnection": {
"description": "bank connection information to perform a money transfer",
"properties": {
"bic": {
"type": "string"
},
"iban": {
"type": "string"
},
"institute": {
"type": "string"
}
},
"required": [
"iban"
],
"type": "object"
},
"invoiceItem": {
"allOf": [
{
"$ref": "#/definitions/invoiceLine"
},
{
"properties": {
"article": {
"$ref": "#/definitions/article"
},
"quantity": {
"type": "string"
},
"vatRate": {
"type": "string"
}
},
"required": [
"quantity",
"vatRate"
]
}
],
"type": "object"
},
"invoiceLine": {
"properties": {
"position": {
"minimum": 1,
"type": "integer"
},
"text": {
"type": "string"
}
},
"required": [
"position",
"text"
],
"type": "object"
},
"invoiceSubtotal": {
"allOf": [
{
"$ref": "#/definitions/invoiceLine"
},
{
"properties": {
"items": {
"items": {
"minimum": 0,
"type": "number"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
}
},
"required": [
"items"
]
}
],
"type": "object"
},
"legalEntity": {
"additionalProperties": false,
"properties": {
"address": {
"$ref": "#/definitions/address"
},
"email": {
"format": "email",
"type": "string"
},
"emailccs": {
"items": {
"format": "email",
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"vatNr": {
"type": "string"
}
},
"required": [
"id",
"name",
"address"
],
"type": "object"
}
},
"description": "schema to describe invoices",
"properties": {
"contractId": {
"type": "string"
},
"currency": {
"type": "string"
},
"deliveryDate": {
"format": "date",
"type": "string"
},
"dueDate": {
"format": "date",
"type": "string"
},
"id": {
"description": "unique identifier of the invoice",
"type": "string"
},
"invoiceDate": {
"format": "date",
"type": "string"
},
"invoicedEntity": {
"$ref": "#/definitions/legalEntity"
},
"invoicingConnection": {
"$ref": "#/definitions/bankConnection"
},
"invoicingEntity": {
"$ref": "#/definitions/legalEntity"
},
"items": {
"items": {
"anyOf": [
{
"$ref": "#/definitions/invoiceItem"
},
{
"$ref": "#/definitions/invoiceSubtotal"
}
]
},
"minItems": 1,
"type": "array"
},
"locale": {
"type": "string"
},
"name": {
"type": "string"
},
"paidDate": {
"format": "date",
"type": "string"
},
"paymentConditions": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"id",
"name",
"contractId",
"invoicingEntity",
"invoicedEntity",
"invoiceDate",
"dueDate",
"currency"
],
"title": "invoice archive schema",
"type": "object"
} | Apache-2.0 | en |
koxudaxi/datamodel-code-generator | c81ad5caf506a4924148ee08f9689181b377d1aa | 2023-01-16T05:15:08 | tests/data/jsonschema/object_has_one_of.json | 2,360 | 2024-05-29T12:22:42.498818Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"oneOf": [
{
"additionalProperties": true,
"oneOf": [
{
"additionalProperties": true,
"properties": {
"field_2": {
"enum": [
"response_a"
]
}
},
"required": [
"field_2"
],
"type": "object"
}
],
"properties": {
"field_1": {
"enum": [
"response_1"
]
}
},
"required": [
"field_1"
],
"type": "object"
},
{
"additionalProperties": true,
"oneOf": [
{
"additionalProperties": true,
"properties": {
"field_2": {
"enum": [
"response_b"
]
}
},
"required": [
"field_2"
],
"type": "object"
},
{
"additionalProperties": true,
"properties": {
"field_2": {
"enum": [
"response_c"
]
}
},
"required": [
"field_2"
],
"type": "object"
}
],
"properties": {
"field_1": {
"enum": [
"response_2"
]
}
},
"required": [
"field_1"
],
"type": "object"
}
],
"title": "v2_test",
"type": "object"
} | MIT | en |
koxudaxi/datamodel-code-generator | 0201d3f3c3fc63cc703026ba77426e74ff8e8aa2 | 2023-11-17T18:37:04 | tests/data/jsonschema/object_has_one_of.json | 2,360 | 2024-05-29T12:22:42.498818Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": true,
"oneOf": [
{
"additionalProperties": true,
"oneOf": [
{
"additionalProperties": true,
"properties": {
"field_2": {
"enum": [
"response_a"
]
}
},
"required": [
"field_2"
],
"type": "object"
}
],
"properties": {
"field_1": {
"enum": [
"response_1"
]
}
},
"required": [
"field_1"
],
"type": "object"
},
{
"additionalProperties": true,
"oneOf": [
{
"additionalProperties": true,
"properties": {
"field_2": {
"enum": [
"response_b"
]
}
},
"required": [
"field_2"
],
"type": "object"
},
{
"additionalProperties": true,
"properties": {
"field_2": {
"enum": [
"response_c"
]
}
},
"required": [
"field_2"
],
"type": "object"
}
],
"properties": {
"field_1": {
"enum": [
"response_2"
]
}
},
"required": [
"field_1"
],
"type": "object"
}
],
"title": "v2_test",
"type": "object"
} | MIT | en |
koxudaxi/datamodel-code-generator | 4aada4bbef960ee0814d636eae07ea018afb9b0a | 2023-11-10T01:15:05 | tests/data/jsonschema/all_of_ref_self.json | 2,360 | 2024-05-29T12:22:42.498818Z | {
"$defs": {
"version": {
"type": "null"
}
},
"$id": "https://example.com/all_of_ref_self.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"version": {
"allOf": [
{
"$ref": "#/$defs/version"
}
]
}
},
"type": "object"
} | MIT | en |
koxudaxi/datamodel-code-generator | 39c46f995fd9c7f83f7f1eb3bc9c2f862ce48f0d | 2023-10-22T14:12:34 | tests/data/jsonschema/user_defs.json | 2,360 | 2024-05-29T12:22:42.498818Z | {
"$defs": {
"Pet": {
"properties": {
"name": {
"examples": [
"dog",
"cat"
],
"type": "string"
}
},
"type": "object"
},
"User": {
"properties": {
"name": {
"example": "ken",
"type": "string"
},
"pets": {
"default_factory": "list",
"items": {
"$ref": "#/$defs/User"
},
"type": "array"
}
},
"type": "object"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema"
} | MIT | en |
koxudaxi/datamodel-code-generator | f3834f8435e9326133e83a6cf209b0b1ad9e9e53 | 2023-01-18T16:29:21 | tests/data/jsonschema/json_pointer_array.json | 2,360 | 2024-05-29T12:22:42.498818Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"oneOf": [
{
"definitions": {
"email": {
"properties": {
"email": {
"format": "email",
"type": "string"
}
},
"required": [
"email"
],
"type": "object"
}
},
"properties": {
"emails": {
"items": {
"$ref": "#/oneOf/0/definitions/email"
},
"type": "array"
}
},
"required": [
"emails"
],
"type": "object"
},
{
"definitions": {
"error": {
"properties": {
"code": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}
},
"properties": {
"errors": {
"items": {
"$ref": "#/oneOf/1/definitions/error"
},
"type": "array"
}
},
"required": [
"errors"
],
"type": "object"
}
],
"type": "object"
} | MIT | en |
oxidecomputer/typify | da943a092abc629a499f73c680c876b4ba00519b | 2024-05-13T16:32:32 | typify/tests/schemas/x-rust-type.json | 324 | 2024-05-28T06:08:59.408885Z | {
"$comment": "this test makes weird use of types from std to avoid requiring other dependencies",
"$defs": {
"AllTheThings": {
"properties": {
"option_marker": {
"$ref": "#/$defs/OptionMarker"
},
"path": {
"$ref": "#/$defs/PathBuf"
}
},
"type": "object"
},
"Marker": {
"not": true
},
"OptionMarker": {
"$comment": "this is silly, but shows type parameters",
"type": "null",
"x-rust-type": {
"crate": "std",
"parameters": [
{
"$ref": "#/$defs/Marker"
}
],
"path": "std::option::Option",
"version": "1.0.0"
}
},
"PathBuf": {
"type": "string",
"x-rust-type": {
"crate": "std",
"path": "std::path::PathBuf",
"version": "1.0.0"
}
}
},
"$schema": "https://json-schema.org/draft-07/schema"
} | Apache-2.0 | en |
SonarSource/helm-chart-sonarqube | c63bbd7558531db380babcad29060a2c79d03091 | 2023-07-13T07:01:18 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | e41eaa71602519f592ce9db8ce05df420530bcc5 | 2023-07-13T13:56:13 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | 3de31218987db3bcad5ed798346a47a0543daac0 | 2023-11-02T16:16:20 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | a3bdf80c9685b0eb5851df6ed5f07c3ec9332851 | 2023-07-13T07:01:18 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | fbe5d8090c63fbc1f272ae4bfddab72fb80073c4 | 2023-07-25T08:32:11 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | fd4a99ac9376fb737eb4639f925bb79cc7d57204 | 2024-04-11T14:12:08 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"nginx": {
"properties": {
"enabled": {
"$comment": "(DEPRECATED) Please use `ingress-nginx.enabled` instead",
"deprecated": true,
"type": "boolean"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
},
"prometheusMonitoring": {
"properties": {
"podMonitor": {
"properties": {
"namespace": {
"$comment": "(DEPRECATED) This value should not be set, as the PodMonitor's namespace has to match the Release Namespace",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | 1aab10ab9da7a478cc46820d74fa5dc445385584 | 2024-04-09T15:46:43 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"podDisruptionBudget": {
"$comment": "PodDisruptionBudget for the Application Nodes",
"deprecated": true,
"type": "object"
},
"podDistributionBudget": {
"$comment": "(DEPRECATED) Please use ApplicationNodes.podDisruptionBudget",
"deprecated": true,
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
},
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"nginx": {
"properties": {
"enabled": {
"$comment": "(DEPRECATED) Please use `ingress-nginx.enabled` instead",
"deprecated": true,
"type": "boolean"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
},
"searchNodes": {
"properties": {
"podDisruptionBudget": {
"$comment": "PodDisruptionBudget for the Search Nodes",
"deprecated": false,
"type": "object"
},
"podDistributionBudget": {
"$comment": "(DEPRECATED) Please use SearchNodes.podDisruptionBudget",
"deprecated": true,
"type": "object"
}
}
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | a4194568b7e4262b8230192d491d1a6f6d9d964a | 2024-01-19T16:11:53 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"podDisruptionBudget": {
"$comment": "PodDisruptionBudget for the Application Nodes",
"deprecated": true,
"type": "object"
},
"podDistributionBudget": {
"$comment": "(DEPRECATED) Please use ApplicationNodes.podDisruptionBudget",
"deprecated": true,
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
},
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
},
"searchNodes": {
"properties": {
"podDisruptionBudget": {
"$comment": "PodDisruptionBudget for the Search Nodes",
"deprecated": false,
"type": "object"
},
"podDistributionBudget": {
"$comment": "(DEPRECATED) Please use SearchNodes.podDisruptionBudget",
"deprecated": true,
"type": "object"
}
}
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | e41eaa71602519f592ce9db8ce05df420530bcc5 | 2023-07-13T13:56:13 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
}
}
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | fbe5d8090c63fbc1f272ae4bfddab72fb80073c4 | 2023-07-25T08:32:11 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
},
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | 45dd08ea509ac4001e53930e11c31fff188d0b26 | 2022-08-22T13:33:41 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | fd4a99ac9376fb737eb4639f925bb79cc7d57204 | 2024-04-11T14:12:08 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"podDisruptionBudget": {
"$comment": "PodDisruptionBudget for the Application Nodes",
"deprecated": true,
"type": "object"
},
"podDistributionBudget": {
"$comment": "(DEPRECATED) Please use ApplicationNodes.podDisruptionBudget",
"deprecated": true,
"type": "object"
},
"prometheusMonitoring": {
"properties": {
"podMonitor": {
"properties": {
"namespace": {
"$comment": "(DEPRECATED) This value should not be set, as the PodMonitor's namespace has to match the Release Namespace",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
},
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"nginx": {
"properties": {
"enabled": {
"$comment": "(DEPRECATED) Please use `ingress-nginx.enabled` instead",
"deprecated": true,
"type": "boolean"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
},
"searchNodes": {
"properties": {
"podDisruptionBudget": {
"$comment": "PodDisruptionBudget for the Search Nodes",
"deprecated": false,
"type": "object"
},
"podDistributionBudget": {
"$comment": "(DEPRECATED) Please use SearchNodes.podDisruptionBudget",
"deprecated": true,
"type": "object"
}
}
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | d42cc00b879705972e75a059bb80c0fc602fb62b | 2023-03-31T14:06:02 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
}
}
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | 53e72fd029250dca82e5033c29f42c889214ef9d | 2022-09-01T09:43:32 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "http://json-schema.org/draft-07/schema",
"properties": {
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | 1aab10ab9da7a478cc46820d74fa5dc445385584 | 2024-04-09T15:46:43 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"nginx": {
"properties": {
"enabled": {
"$comment": "(DEPRECATED) Please use `ingress-nginx.enabled` instead",
"deprecated": true,
"type": "boolean"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | 3de31218987db3bcad5ed798346a47a0543daac0 | 2023-11-02T16:16:20 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
},
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"postgresql": {
"$comment": "(DEPRECATED) Please use an external database instead of the embedded one. Please visit https://artifacthub.io/packages/helm/sonarqube/sonarqube#production-use-case for more information",
"deprecated": true,
"type": "object"
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | d42cc00b879705972e75a059bb80c0fc602fb62b | 2023-03-31T14:06:02 | charts/sonarqube/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"replicaCount": {
"enum": [
0,
1
],
"type": "integer"
}
},
"required": [
"replicaCount"
]
} | MIT | en |
SonarSource/helm-chart-sonarqube | c96995fe296236993d1b969ed35c444adc2dc789 | 2023-07-13T07:01:18 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
},
"account": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
} | MIT | en |
SonarSource/helm-chart-sonarqube | a3bdf80c9685b0eb5851df6ed5f07c3ec9332851 | 2023-07-13T07:01:18 | charts/sonarqube-dce/values.schema.json | 224 | 2024-05-28T05:30:24.251737Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"ApplicationNodes": {
"properties": {
"jvmCeOpts": {
"$comment": "(DEPRECATED) Please use SONAR_CE_JAVAOPTS or sonar.ce.javaOpts",
"deprecated": true,
"type": "string"
},
"jvmOpts": {
"$comment": "(DEPRECATED) Please use SONAR_WEB_JAVAOPTS or sonar.web.javaOpts",
"deprecated": true,
"type": "string"
},
"livenessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
},
"startupProbe": {
"properties": {
"sonarWebContext": {
"$comment": "(DEPRECATED) please use sonarWebContext at the value top level",
"deprecated": true,
"type": "string"
}
},
"type": "object"
}
}
}
}
} | MIT | en |
networknt/json-schema-validator | 84d854604670f13723e1e99f9d07e7078328cc5e | 2023-05-19T16:16:38 | src/test/resources/schema/contains/issue769/min-contains.json | 779 | 2024-05-28T04:34:59.604135Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"myArray": {
"contains": {
"properties": {
"itemType": {
"const": "type A"
}
}
},
"items": {
"properties": {
"itemType": {
"type": "string"
}
}
},
"minContains": 2,
"type": "array"
}
}
} | Apache-2.0 | en |
networknt/json-schema-validator | 84d854604670f13723e1e99f9d07e7078328cc5e | 2023-05-19T16:16:38 | src/test/resources/schema/contains/issue769/max-contains.json | 779 | 2024-05-28T04:34:59.604135Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"myArray": {
"contains": {
"properties": {
"itemType": {
"const": "type A"
}
}
},
"items": {
"properties": {
"itemType": {
"type": "string"
}
}
},
"maxContains": 1,
"type": "array"
}
}
} | Apache-2.0 | en |
networknt/json-schema-validator | 7f96315bfa51b7222341ee892baef0bf4d69f1bb | 2022-01-14T18:40:44 | src/test/resources/schema/issue493.json | 779 | 2024-05-28T04:34:59.604135Z | {
"$defs": {
"test-ref1": {
"pattern": "^\\{\\{.+\\}\\}$",
"type": "string"
},
"test-ref2": {
"type": "integer"
}
},
"$schema": "https://json-schema.org/draft/2019-09/schema",
"additionalProperties": false,
"properties": {
"parameters": {
"additionalItems": {
"oneOf": [
{
"properties": {
"name": {
"const": "param-optional"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/test-ref1"
},
{
"$ref": "#/$defs/test-ref2"
}
]
}
},
"required": [
"name",
"value"
],
"type": "object"
}
]
},
"items": [
{
"properties": {
"name": {
"const": "param-required"
},
"value": {
"anyOf": [
{
"$ref": "#/$defs/test-ref1"
},
{
"$ref": "#/$defs/test-ref2"
}
]
}
},
"required": [
"name",
"value"
],
"type": "object"
}
],
"maxItems": 2,
"minItems": 1,
"type": "array",
"uniqueItems": true
}
},
"type": "object"
} | Apache-2.0 | en |
networknt/json-schema-validator | 20a179fc6b0df084cf681a9f3d9137773b3ca7a6 | 2023-11-17T01:36:27 | src/test/resources/schema/notAllowedValidation/notAllowedJson.json | 779 | 2024-05-28T04:34:59.604135Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"notAllowed": [
"field3"
],
"properties": {
"field1": {},
"field2": {}
},
"type": "object"
} | Apache-2.0 | en |
networknt/json-schema-validator | 84f613ef0ef5cbc3ad92d737f8a08338626ea5b6 | 2023-12-03T16:05:23 | src/test/resources/schema/issue898.json | 779 | 2024-05-28T04:34:59.604135Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"bar": {
"pattern": "(bar)+",
"type": "string"
},
"foo": {
"enum": [
"foo1",
"foo2"
],
"type": "string"
}
},
"type": "object"
} | Apache-2.0 | en |
4PointSolutions/FluentFormsAPI | 5796af82a4770670cd369cea83d100b80b6c2a03 | 2022-06-14T21:54:03 | rest-services/it.tests/src/test/resources/SampleForm_schema.json | 5 | 2024-05-29T10:02:55.449564Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema#",
"definitions": {
"form1_type": {
"properties": {
"TextField1": {
"type": "string"
},
"TextField2": {
"type": "string"
}
},
"type": "object"
}
},
"properties": {
"form1": {
"$ref": "#/definitions/form1_type"
}
},
"type": "object"
} | Apache-2.0 | en |
aenix-io/cozystack | a6d0f7cfd405a85cea39fc63a34ffbbd445f37ff | 2024-04-24T10:29:05 | packages/system/etcd-operator/charts/etcd-operator/values.schema.json | 453 | 2024-05-27T09:35:41.194203Z | {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"affinity": {
"properties": {},
"type": "object"
},
"etcdOperator": {
"properties": {
"args": {
"items": {
"type": "string"
},
"type": "array"
},
"envVars": {
"properties": {},
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"livenessProbe": {
"properties": {
"httpGet": {
"properties": {
"path": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"type": "object"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"type": "object"
},
"readinessProbe": {
"properties": {
"httpGet": {
"properties": {
"path": {
"type": "string"
},
"port": {
"type": "integer"
}
},
"type": "object"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"type": "object"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"securityContext": {
"properties": {
"allowPrivilegeEscalation": {
"type": "boolean"
},
"capabilities": {
"properties": {
"drop": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"service": {
"properties": {
"port": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"fullnameOverride": {
"type": "string"
},
"imagePullSecrets": {
"type": "array"
},
"kubeRbacProxy": {
"properties": {
"args": {
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"properties": {
"pullPolicy": {
"type": "string"
},
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"livenessProbe": {
"properties": {},
"type": "object"
},
"readinessProbe": {
"properties": {},
"type": "object"
},
"resources": {
"properties": {
"limits": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
},
"requests": {
"properties": {
"cpu": {
"type": "string"
},
"memory": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"securityContext": {
"properties": {
"allowPrivilegeEscalation": {
"type": "boolean"
},
"capabilities": {
"properties": {
"drop": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
},
"service": {
"properties": {
"port": {
"type": "integer"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"kubernetesClusterDomain": {
"type": "string"
},
"nameOverride": {
"type": "string"
},
"nodeSelector": {
"properties": {},
"type": "object"
},
"podAnnotations": {
"properties": {},
"type": "object"
},
"podLabels": {
"properties": {},
"type": "object"
},
"podSecurityContext": {
"properties": {},
"type": "object"
},
"replicaCount": {
"type": "integer"
},
"securityContext": {
"properties": {
"runAsNonRoot": {
"type": "boolean"
}
},
"type": "object"
},
"serviceAccount": {
"properties": {
"annotations": {
"properties": {},
"type": "object"
},
"create": {
"type": "boolean"
}
},
"type": "object"
},
"tolerations": {
"type": "array"
}
},
"type": "object"
} | Apache-2.0 | en |
aenix-io/cozystack | f64269892111ba2ada330ed7c0afe2ccbbf1410d | 2024-02-08T11:04:32 | packages/system/metallb/charts/metallb/values.schema.json | 453 | 2024-05-27T09:35:41.194203Z | {
"$schema": "https://json-schema.org/draft-07/schema#",
"controller": {
"allOf": [
{
"$ref": "#/definitions/component"
},
{
"description": "MetalLB Controller",
"properties": {
"command": {
"type": "string"
},
"strategy": {
"properties": {
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"webhookMode": {
"type": "string"
}
},
"type": "object"
}
]
},
"definitions": {
"component": {
"properties": {
"affinity": {
"type": "object"
},
"enabled": {
"type": "boolean"
},
"image": {
"properties": {
"pullPolicy": {
"anyOf": [
{
"type": "null"
},
{
"enum": [
"Always",
"IfNotPresent",
"Never"
],
"type": "string"
}
]
},
"repository": {
"type": "string"
},
"tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"livenessProbe": {
"$ref": "#/definitions/probe"
},
"logLevel": {
"enum": [
"all",
"debug",
"info",
"warn",
"error",
"none"
],
"type": "string"
},
"nodeSelector": {
"type": "object"
},
"podAnnotations": {
"type": "object"
},
"priorityClassName": {
"type": "string"
},
"readinessProbe": {
"$ref": "#/definitions/probe"
},
"resources": {
"type": "object"
},
"runtimeClassName": {
"type": "string"
},
"serviceAccount": {
"properties": {
"annotations": {
"type": "object"
},
"create": {
"type": "boolean"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"tolerations": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"image",
"serviceAccount"
],
"type": "object"
},
"probe": {
"properties": {
"enabled": {
"type": "boolean"
},
"failureThreshold": {
"type": "integer"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
},
"successThreshold": {
"type": "integer"
},
"timeoutSeconds": {
"type": "integer"
}
},
"required": [
"failureThreshold",
"initialDelaySeconds",
"periodSeconds",
"successThreshold",
"timeoutSeconds"
],
"type": "object"
},
"prometheusAlert": {
"properties": {
"enabled": {
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
}
},
"required": [
"enabled"
],
"type": "object"
}
},
"properties": {
"configInLine": {
"description": "MetalLB configuration",
"type": "object"
},
"crds": {
"description": "CRD configuration",
"properties": {
"enabled": {
"description": "Enable CRDs",
"type": "boolean"
},
"validationFailurePolicy": {
"description": "Failure policy to use with validating webhooks",
"enum": [
"Ignore",
"Fail"
],
"type": "string"
}
},
"type": "object"
},
"fullNameOverride": {
"description": "Override fully qualified app name",
"type": "string"
},
"imagePullSecrets": {
"description": "Secrets used for pulling images",
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "array"
},
"loadBalancerClass": {
"type": "string"
},
"nameOverride": {
"description": "Override chart name",
"type": "string"
},
"prometheus": {
"description": "Prometheus monitoring config",
"properties": {
"metricsPort": {
"type": "integer"
},
"namespace": {
"type": "string"
},
"podMonitor": {
"description": "Prometheus Operator PodMonitors",
"properties": {
"additionalMonitors": {
"type": "object"
},
"enabled": {
"type": "boolean"
},
"interval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"jobLabel": {
"type": "string"
},
"metricRelabelings": {
"items": {
"type": "object"
},
"type": "array"
},
"relabelings": {
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"prometheusRule": {
"description": "Prometheus Operator alertmanager alerts",
"properties": {
"additionalMonitors": {
"type": "object"
},
"addressPoolExhausted": {
"$ref": "#/definitions/prometheusAlert"
},
"addressPoolUsage": {
"properties": {
"enabled": {
"type": "boolean"
},
"thresholds": {
"items": {
"properties": {
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"percent": {
"maximum": 100,
"minimum": 0,
"type": "integer"
}
},
"required": [
"percent"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"enabled"
],
"type": "object"
},
"bgpSessionDown": {
"$ref": "#/definitions/prometheusAlert"
},
"configNotLoaded": {
"$ref": "#/definitions/prometheusAlert"
},
"enabled": {
"type": "boolean"
},
"extraAlerts": {
"items": {
"type": "object"
},
"type": "array"
},
"staleConfig": {
"$ref": "#/definitions/prometheusAlert"
}
},
"required": [
"enabled",
"staleConfig",
"configNotLoaded",
"addressPoolExhausted",
"addressPoolUsage",
"bgpSessionDown"
],
"type": "object"
},
"rbacPrometheus": {
"type": "boolean"
},
"rbacProxy": {
"description": "kube-rbac-proxy configuration",
"properties": {
"repository": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"scrapeAnnotations": {
"type": "boolean"
},
"secureMetricsPort": {
"type": "integer"
},
"serviceAccount": {
"type": "string"
},
"serviceMonitor": {
"description": "Prometheus Operator ServiceMonitors",
"properties": {
"enabled": {
"type": "boolean"
},
"interval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"jobLabel": {
"type": "string"
},
"metricRelabelings": {
"items": {
"type": "object"
},
"type": "array"
},
"relabelings": {
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"required": [
"podMonitor",
"prometheusRule"
],
"type": "object"
},
"rbac": {
"description": "RBAC configuration",
"properties": {
"create": {
"description": "Enable RBAC",
"type": "boolean"
}
},
"type": "object"
},
"speaker": {
"allOf": [
{
"$ref": "#/definitions/component"
},
{
"description": "MetalLB Speaker",
"properties": {
"command": {
"type": "string"
},
"excludeInterfaces": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"frr": {
"description": "Install FRR container in speaker deployment",
"properties": {
"enabled": {
"type": "boolean"
},
"image": {
"$ref": "#/definitions/component/properties/image"
},
"metricsPort": {
"type": "integer"
},
"resources:": {
"type": "object"
},
"secureMetricsPort": {
"type": "integer"
}
},
"required": [
"enabled"
],
"type": "object"
},
"frrMetrics": {
"properties": {
"resources": {
"type": "object"
}
},
"type": "object"
},
"memberlist": {
"properties": {
"enabled": {
"type": "boolean"
},
"mlBindPort": {
"type": "integer"
},
"mlSecretKeyPath": {
"type": "string"
}
},
"type": "object"
},
"reloader": {
"properties": {
"resources": {
"type": "object"
}
},
"type": "object"
},
"runtimeClassName": {
"type": "string"
},
"secretName": {
"type": "string"
},
"tolerateMaster": {
"type": "boolean"
},
"updateStrategy": {
"properties": {
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"tolerateMaster"
],
"type": "object"
}
]
}
},
"required": [
"controller",
"speaker"
],
"title": "Values",
"type": "object"
} | Apache-2.0 | en |
aws-cloudformation/cloudformation-cli | 2aad83c68fcd9d5e78520d02c0c89ca8299037e2 | 2022-09-30T16:50:02 | src/rpdk/core/data/schema/provider.definition.schema.modules.v1.json | 312 | 2024-05-29T14:50:21.866707Z | {
"$id": "https://schema.cloudformation.us-east-1.amazonaws.com/module.definition.schema.v1.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"handlerDefinition": {
"additionalProperties": false,
"description": "Defines any execution operations which can be performed on this module provider",
"properties": {
"permissions": {
"additionalItems": false,
"items": {
"type": "string"
},
"type": "array"
},
"timeoutInMinutes": {
"default": 120,
"description": "Defines the timeout for the entire operation to be interpreted by the invoker of the handler. The default is 120 (2 hours).",
"maximum": 720,
"minimum": 2,
"type": "integer"
}
},
"required": [
"permissions"
],
"type": "object"
},
"httpsUrl": {
"maxLength": 4096,
"pattern": "^https://[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])(:[0-9]*)*([?/#].*)?$",
"type": "string"
},
"jsonPointerArray": {
"items": {
"format": "json-pointer",
"type": "string"
},
"minItems": 1,
"type": "array"
},
"moduleLink": {
"additionalProperties": false,
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"mappings": {
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"format": "json-pointer",
"type": "string"
}
},
"type": "object"
},
"templateUri": {
"pattern": "^(/|https:)",
"type": "string"
}
},
"required": [
"templateUri",
"mappings"
],
"type": "object"
},
"properties": {
"allOf": [
{
"$ref": "#/definitions/validations"
},
{
"$comment": "The following subset of draft-07 property references is supported for module definitions. Nested properties are disallowed and should be specified as a $ref to a definitions block.",
"additionalProperties": false,
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"$ref": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$ref"
},
"Parameters": {
"description": "List of input parameters",
"type": "object"
},
"Resources": {
"description": "List of all the resources that module creates.",
"type": "object"
},
"additionalProperties": {
"$comment": "All properties of a resource must be expressed in the schema - arbitrary inputs are not allowed",
"type": "boolean"
},
"allOf": {
"$ref": "#/definitions/schemaArray"
},
"anyOf": {
"$ref": "#/definitions/schemaArray"
},
"arrayType": {
"default": "Standard",
"description": "When set to AttributeList, it indicates that the array is of nested type objects, and when set to Standard it indicates that the array consists of primitive types",
"enum": [
"Standard",
"AttributeList"
],
"type": "string"
},
"const": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/const"
},
"contains": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/contains"
},
"default": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/default"
},
"dependencies": {
"$comment": "Redefined to capture our properties override.",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/properties"
},
{
"$ref": "https://json-schema.org/draft-07/schema#/definitions/stringArray"
}
]
},
"type": "object"
},
"description": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/description"
},
"enum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/enum"
},
"examples": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/examples"
},
"exclusiveMaximum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/exclusiveMaximum"
},
"exclusiveMinimum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/exclusiveMinimum"
},
"format": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/format"
},
"insertionOrder": {
"default": true,
"description": "When set to true, this flag indicates that the order of insertion of the array will be honored, and that changing the order of the array would indicate a diff",
"type": "boolean"
},
"items": {
"$comment": "Redefined as just a schema. A list of schemas is not allowed",
"$ref": "#/definitions/properties",
"default": {}
},
"maxItems": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maxItems"
},
"maxLength": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maxLength"
},
"maxProperties": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maxProperties"
},
"maximum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maximum"
},
"minItems": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minItems"
},
"minLength": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minLength"
},
"minProperties": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minProperties"
},
"minimum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minimum"
},
"multipleOf": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/multipleOf"
},
"oneOf": {
"$ref": "#/definitions/schemaArray"
},
"pattern": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/pattern"
},
"patternProperties": {
"$comment": "patternProperties allow providers to introduce a specification for key-value pairs, or Map inputs.",
"propertyNames": {
"format": "regex"
},
"type": "object"
},
"properties": {
"additionalProperties": false,
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/properties"
}
},
"type": "object"
},
"required": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/required"
},
"title": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/title"
},
"type": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/type"
},
"uniqueItems": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/uniqueItems"
}
},
"type": "object"
}
]
},
"replacementStrategy": {
"default": [
"create_then_delete"
],
"description": "The valid replacement strategies are [create_then_delete] and [delete_then_create]. All other inputs are invalid.",
"enum": [
"create_then_delete",
"delete_then_create"
],
"type": "string"
},
"schemaArray": {
"items": {
"$ref": "#/definitions/properties"
},
"minItems": 1,
"type": "array"
},
"validations": {
"dependencies": {
"const": {
"required": [
"type"
]
},
"enum": {
"$comment": "Enforce that properties are strongly typed when enum, or const is specified.",
"required": [
"type"
]
},
"properties": {
"$comment": "An object cannot have both defined and undefined properties; therefore, patternProperties is not allowed when properties is specified.",
"not": {
"required": [
"patternProperties"
]
}
}
}
}
},
"description": "This schema validates a CloudFormation module provider definition.",
"patternProperties": {
"^\\$id$": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$id"
}
},
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"$schema": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$schema"
},
"additionalProperties": {
"$comment": "Does schema allow additional properties for a some types",
"type": "boolean"
},
"allOf": {
"$ref": "#/definitions/schemaArray"
},
"anyOf": {
"$ref": "#/definitions/schemaArray"
},
"definitions": {
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/properties"
}
},
"type": "object"
},
"description": {
"$comment": "A short description of the module provider. This will be shown in the AWS CloudFormation console.",
"$ref": "https://json-schema.org/draft-07/schema#/properties/description"
},
"documentationUrl": {
"$comment": "A page with supplemental documentation. The property documentation in schemas should be able to stand alone, but this is an opportunity for e.g. rich examples or more guided documents.",
"$ref": "#/definitions/httpsUrl",
"examples": [
"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP_Using.html"
]
},
"handlers": {
"additionalProperties": false,
"description": "Defines the provisioning operations which can be performed on this type",
"properties": {
"resolve": {
"$ref": "#/definitions/handlerDefinition"
}
},
"type": "object"
},
"moduleLink": {
"$ref": "#/definitions/moduleLink",
"description": "A template-able link to a resource instance. AWS-internal service links must be relative to the AWS console domain. External service links must be absolute, HTTPS URIs."
},
"oneOf": {
"$ref": "#/definitions/schemaArray"
},
"properties": {
"additionalProperties": true,
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/properties"
}
},
"required": [
"Resources"
],
"type": "object"
},
"remote": {
"additionalProperties": false,
"description": "Reserved for CloudFormation use. A namespace to inline remote schemas.",
"patternProperties": {
"^schema[0-9]+$": {
"additionalProperties": true,
"description": "Reserved for CloudFormation use. A inlined remote schema.",
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"definitions": {
"$ref": "#/properties/definitions"
},
"properties": {
"$ref": "#/properties/properties"
}
},
"type": "object"
}
},
"type": "object"
},
"replacementStrategy": {
"$comment": "The order of replacement for an immutable module update.",
"$ref": "#/definitions/replacementStrategy"
},
"required": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/required"
},
"sourceUrl": {
"$comment": "The location of the source code for this module provider, to help interested parties submit issues or improvements.",
"$ref": "#/definitions/httpsUrl",
"examples": [
"https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3"
]
},
"title": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/title"
},
"type": {
"$comment": "Type",
"const": "MODULE",
"type": "string"
},
"typeName": {
"$comment": "Module Type Identifier",
"examples": [
"Organization::Service::XYZ::MODULE",
"AWS::S3::SecureBucket::MODULE"
],
"pattern": "^[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::MODULE$",
"type": "string"
}
},
"required": [
"typeName",
"properties",
"description",
"additionalProperties"
],
"title": "CloudFormation Module Provider Definition MetaSchema",
"type": "object"
} | Apache-2.0 | en |
aws-cloudformation/cloudformation-cli | d33aae906e741869a6127ac28756cf666b8fae9d | 2020-11-24T19:22:56 | src/rpdk/core/data/schema/provider.definition.schema.modules.v1.json | 312 | 2024-05-29T14:50:21.866707Z | {
"$id": "https://schema.cloudformation.us-east-1.amazonaws.com/module.definition.schema.v1.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"handlerDefinition": {
"additionalProperties": false,
"description": "Defines any execution operations which can be performed on this module provider",
"properties": {
"permissions": {
"additionalItems": false,
"items": {
"type": "string"
},
"type": "array"
},
"timeoutInMinutes": {
"default": 120,
"description": "Defines the timeout for the entire operation to be interpreted by the invoker of the handler. The default is 120 (2 hours).",
"maximum": 720,
"minimum": 2,
"type": "integer"
}
},
"required": [
"permissions"
],
"type": "object"
},
"httpsUrl": {
"maxLength": 4096,
"pattern": "^https://[0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])(:[0-9]*)*([?/#].*)?$",
"type": "string"
},
"jsonPointerArray": {
"items": {
"format": "json-pointer",
"type": "string"
},
"minItems": 1,
"type": "array"
},
"moduleLink": {
"additionalProperties": false,
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"mappings": {
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"format": "json-pointer",
"type": "string"
}
},
"type": "object"
},
"templateUri": {
"pattern": "^(/|https:)",
"type": "string"
}
},
"required": [
"templateUri",
"mappings"
],
"type": "object"
},
"properties": {
"allOf": [
{
"$ref": "#/definitions/validations"
},
{
"$comment": "The following subset of draft-07 property references is supported for module definitions. Nested properties are disallowed and should be specified as a $ref to a definitions block.",
"additionalProperties": false,
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"$ref": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$ref"
},
"Parameters": {
"description": "List of input parameters",
"type": "object"
},
"Resources": {
"description": "List of all the resources that module creates.",
"type": "object"
},
"additionalProperties": {
"$comment": "All properties of a resource must be expressed in the schema - arbitrary inputs are not allowed",
"type": "boolean"
},
"allOf": {
"$ref": "#/definitions/schemaArray"
},
"anyOf": {
"$ref": "#/definitions/schemaArray"
},
"const": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/const"
},
"contains": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/contains"
},
"default": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/default"
},
"dependencies": {
"$comment": "Redefined to capture our properties override.",
"additionalProperties": {
"anyOf": [
{
"$ref": "#/definitions/properties"
},
{
"$ref": "https://json-schema.org/draft-07/schema#/definitions/stringArray"
}
]
},
"type": "object"
},
"description": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/description"
},
"enum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/enum"
},
"examples": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/examples"
},
"exclusiveMaximum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/exclusiveMaximum"
},
"exclusiveMinimum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/exclusiveMinimum"
},
"format": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/format"
},
"insertionOrder": {
"default": true,
"description": "When set to true, this flag indicates that the order of insertion of the array will be honored, and that changing the order of the array would indicate a diff",
"type": "boolean"
},
"items": {
"$comment": "Redefined as just a schema. A list of schemas is not allowed",
"$ref": "#/definitions/properties",
"default": {}
},
"maxItems": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maxItems"
},
"maxLength": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maxLength"
},
"maxProperties": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maxProperties"
},
"maximum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/maximum"
},
"minItems": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minItems"
},
"minLength": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minLength"
},
"minProperties": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minProperties"
},
"minimum": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/minimum"
},
"multipleOf": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/multipleOf"
},
"oneOf": {
"$ref": "#/definitions/schemaArray"
},
"pattern": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/pattern"
},
"patternProperties": {
"$comment": "patternProperties allow providers to introduce a specification for key-value pairs, or Map inputs.",
"propertyNames": {
"format": "regex"
},
"type": "object"
},
"properties": {
"additionalProperties": false,
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/properties"
}
},
"type": "object"
},
"required": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/required"
},
"title": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/title"
},
"type": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/type"
},
"uniqueItems": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/uniqueItems"
}
},
"type": "object"
}
]
},
"replacementStrategy": {
"default": [
"create_then_delete"
],
"description": "The valid replacement strategies are [create_then_delete] and [delete_then_create]. All other inputs are invalid.",
"enum": [
"create_then_delete",
"delete_then_create"
],
"type": "string"
},
"schemaArray": {
"items": {
"$ref": "#/definitions/properties"
},
"minItems": 1,
"type": "array"
},
"validations": {
"dependencies": {
"const": {
"required": [
"type"
]
},
"enum": {
"$comment": "Enforce that properties are strongly typed when enum, or const is specified.",
"required": [
"type"
]
},
"properties": {
"$comment": "An object cannot have both defined and undefined properties; therefore, patternProperties is not allowed when properties is specified.",
"not": {
"required": [
"patternProperties"
]
}
}
}
}
},
"description": "This schema validates a CloudFormation module provider definition.",
"patternProperties": {
"^\\$id$": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$id"
}
},
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"$schema": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$schema"
},
"additionalProperties": {
"$comment": "Does schema allow additional properties for a some types",
"type": "boolean"
},
"allOf": {
"$ref": "#/definitions/schemaArray"
},
"anyOf": {
"$ref": "#/definitions/schemaArray"
},
"definitions": {
"additionalProperties": false,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/properties"
}
},
"type": "object"
},
"description": {
"$comment": "A short description of the module provider. This will be shown in the AWS CloudFormation console.",
"$ref": "https://json-schema.org/draft-07/schema#/properties/description"
},
"documentationUrl": {
"$comment": "A page with supplemental documentation. The property documentation in schemas should be able to stand alone, but this is an opportunity for e.g. rich examples or more guided documents.",
"$ref": "#/definitions/httpsUrl",
"examples": [
"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP_Using.html"
]
},
"handlers": {
"additionalProperties": false,
"description": "Defines the provisioning operations which can be performed on this type",
"properties": {
"resolve": {
"$ref": "#/definitions/handlerDefinition"
}
},
"type": "object"
},
"moduleLink": {
"$ref": "#/definitions/moduleLink",
"description": "A template-able link to a resource instance. AWS-internal service links must be relative to the AWS console domain. External service links must be absolute, HTTPS URIs."
},
"oneOf": {
"$ref": "#/definitions/schemaArray"
},
"properties": {
"additionalProperties": true,
"minProperties": 1,
"patternProperties": {
"^[A-Za-z0-9]{1,64}$": {
"$ref": "#/definitions/properties"
}
},
"required": [
"Resources"
],
"type": "object"
},
"remote": {
"additionalProperties": false,
"description": "Reserved for CloudFormation use. A namespace to inline remote schemas.",
"patternProperties": {
"^schema[0-9]+$": {
"additionalProperties": true,
"description": "Reserved for CloudFormation use. A inlined remote schema.",
"properties": {
"$comment": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/$comment"
},
"definitions": {
"$ref": "#/properties/definitions"
},
"properties": {
"$ref": "#/properties/properties"
}
},
"type": "object"
}
},
"type": "object"
},
"replacementStrategy": {
"$comment": "The order of replacement for an immutable module update.",
"$ref": "#/definitions/replacementStrategy"
},
"required": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/required"
},
"sourceUrl": {
"$comment": "The location of the source code for this module provider, to help interested parties submit issues or improvements.",
"$ref": "#/definitions/httpsUrl",
"examples": [
"https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-s3"
]
},
"title": {
"$ref": "https://json-schema.org/draft-07/schema#/properties/title"
},
"type": {
"$comment": "Type",
"const": "MODULE",
"type": "string"
},
"typeName": {
"$comment": "Module Type Identifier",
"examples": [
"Organization::Service::XYZ::MODULE",
"AWS::S3::SecureBucket::MODULE"
],
"pattern": "^[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::[a-zA-Z0-9]{2,64}::MODULE$",
"type": "string"
}
},
"required": [
"typeName",
"properties",
"description",
"additionalProperties"
],
"title": "CloudFormation Module Provider Definition MetaSchema",
"type": "object"
} | Apache-2.0 | en |
vilassn/whisper_android | ee3490a036c03e62324f9184b371dec9c953ca47 | 2023-09-10T20:53:21 | app/src/main/cpp/tf-lite-api/include/flatbuffers/tests/monster_test.schema.json | 127 | 2024-05-27T06:19:34.724172Z | {
"$ref": "#/definitions/MyGame_Example_Monster",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"MyGame_Example2_Monster": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"MyGame_Example_Ability": {
"additionalProperties": false,
"properties": {
"distance": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"id": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_Any": {
"enum": [
"NONE",
"Monster",
"TestSimpleTableWithEnum",
"MyGame_Example2_Monster"
],
"type": "string"
},
"MyGame_Example_AnyAmbiguousAliases": {
"enum": [
"NONE",
"M1",
"M2",
"M3"
],
"type": "string"
},
"MyGame_Example_AnyUniqueAliases": {
"enum": [
"NONE",
"M",
"TS",
"M2"
],
"type": "string"
},
"MyGame_Example_Color": {
"enum": [
"Red",
"Green",
"Blue"
],
"type": "string"
},
"MyGame_Example_LongEnum": {
"enum": [
"LongOne",
"LongTwo",
"LongBig"
],
"type": "string"
},
"MyGame_Example_Monster": {
"additionalProperties": false,
"description": "an example documentation comment: \"monster object\"",
"properties": {
"any_ambiguous": {
"anyOf": [
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_Monster"
}
]
},
"any_ambiguous_type": {
"$ref": "#/definitions/MyGame_Example_AnyAmbiguousAliases"
},
"any_unique": {
"anyOf": [
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum"
},
{
"$ref": "#/definitions/MyGame_Example2_Monster"
}
]
},
"any_unique_type": {
"$ref": "#/definitions/MyGame_Example_AnyUniqueAliases"
},
"co_owning_reference": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"color": {
"$ref": "#/definitions/MyGame_Example_Color"
},
"double_inf_default": {
"type": "number"
},
"enemy": {
"$ref": "#/definitions/MyGame_Example_Monster"
},
"flex": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"friendly": {
"deprecated": true,
"type": "boolean"
},
"hp": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"inf_default": {
"type": "number"
},
"infinity_default": {
"type": "number"
},
"inventory": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"long_enum_non_enum_default": {
"$ref": "#/definitions/MyGame_Example_LongEnum"
},
"long_enum_normal_default": {
"$ref": "#/definitions/MyGame_Example_LongEnum"
},
"mana": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"name": {
"type": "string"
},
"nan_default": {
"type": "number"
},
"native_inline": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"negative_inf_default": {
"type": "number"
},
"negative_infinity_default": {
"type": "number"
},
"non_owning_reference": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"parent_namespace_test": {
"$ref": "#/definitions/MyGame_InParentNamespace"
},
"pos": {
"$ref": "#/definitions/MyGame_Example_Vec3"
},
"positive_inf_default": {
"type": "number"
},
"positive_infinity_default": {
"type": "number"
},
"scalar_key_sorted_tables": {
"items": {
"$ref": "#/definitions/MyGame_Example_Stat"
},
"type": "array"
},
"signed_enum": {
"$ref": "#/definitions/MyGame_Example_Race"
},
"single_weak_reference": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"test": {
"anyOf": [
{
"$ref": "#/definitions/MyGame_Example_Monster"
},
{
"$ref": "#/definitions/MyGame_Example_TestSimpleTableWithEnum"
},
{
"$ref": "#/definitions/MyGame_Example2_Monster"
}
]
},
"test4": {
"items": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"type": "array"
},
"test5": {
"items": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"type": "array"
},
"test_type": {
"$ref": "#/definitions/MyGame_Example_Any"
},
"testarrayofbools": {
"items": {
"type": "boolean"
},
"type": "array"
},
"testarrayofsortedstruct": {
"items": {
"$ref": "#/definitions/MyGame_Example_Ability"
},
"type": "array"
},
"testarrayofstring": {
"items": {
"type": "string"
},
"type": "array"
},
"testarrayofstring2": {
"items": {
"type": "string"
},
"type": "array"
},
"testarrayoftables": {
"description": "an example documentation comment: this will end up in the generated code\nmultiline too",
"items": {
"$ref": "#/definitions/MyGame_Example_Monster"
},
"type": "array"
},
"testbool": {
"type": "boolean"
},
"testempty": {
"$ref": "#/definitions/MyGame_Example_Stat"
},
"testf": {
"type": "number"
},
"testf2": {
"type": "number"
},
"testf3": {
"type": "number"
},
"testhashs32_fnv1": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"testhashs32_fnv1a": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"testhashs64_fnv1": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"testhashs64_fnv1a": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"testhashu32_fnv1": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"testhashu32_fnv1a": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"testhashu64_fnv1": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"testhashu64_fnv1a": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"testnestedflatbuffer": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"testrequirednestedflatbuffer": {
"items": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"vector_of_co_owning_references": {
"items": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"vector_of_doubles": {
"items": {
"type": "number"
},
"type": "array"
},
"vector_of_enums": {
"items": {
"$ref": "#/definitions/MyGame_Example_Color"
},
"type": "array"
},
"vector_of_longs": {
"items": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"type": "array"
},
"vector_of_non_owning_references": {
"items": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"type": "array"
},
"vector_of_referrables": {
"items": {
"$ref": "#/definitions/MyGame_Example_Referrable"
},
"type": "array"
},
"vector_of_strong_referrables": {
"items": {
"$ref": "#/definitions/MyGame_Example_Referrable"
},
"type": "array"
},
"vector_of_weak_references": {
"items": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"type": "array"
}
},
"required": [
"name"
],
"type": "object"
},
"MyGame_Example_Race": {
"enum": [
"None",
"Human",
"Dwarf",
"Elf"
],
"type": "string"
},
"MyGame_Example_Referrable": {
"additionalProperties": false,
"properties": {
"id": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_Stat": {
"additionalProperties": false,
"properties": {
"count": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"id": {
"type": "string"
},
"val": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_StructOfStructs": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/MyGame_Example_Ability"
},
"b": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"c": {
"$ref": "#/definitions/MyGame_Example_Ability"
}
},
"type": "object"
},
"MyGame_Example_StructOfStructsOfStructs": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/MyGame_Example_StructOfStructs"
}
},
"type": "object"
},
"MyGame_Example_Test": {
"additionalProperties": false,
"properties": {
"a": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"b": {
"maximum": 127,
"minimum": -128,
"type": "integer"
}
},
"type": "object"
},
"MyGame_Example_TestSimpleTableWithEnum": {
"additionalProperties": false,
"properties": {
"color": {
"$ref": "#/definitions/MyGame_Example_Color"
}
},
"type": "object"
},
"MyGame_Example_TypeAliases": {
"additionalProperties": false,
"properties": {
"f32": {
"type": "number"
},
"f64": {
"type": "number"
},
"i16": {
"maximum": 32767,
"minimum": -32768,
"type": "integer"
},
"i32": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"i64": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"i8": {
"maximum": 127,
"minimum": -128,
"type": "integer"
},
"u16": {
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"u32": {
"maximum": 4294967295,
"minimum": 0,
"type": "integer"
},
"u64": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"u8": {
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"v8": {
"items": {
"maximum": 127,
"minimum": -128,
"type": "integer"
},
"type": "array"
},
"vf64": {
"items": {
"type": "number"
},
"type": "array"
}
},
"type": "object"
},
"MyGame_Example_Vec3": {
"additionalProperties": false,
"properties": {
"test1": {
"type": "number"
},
"test2": {
"$ref": "#/definitions/MyGame_Example_Color"
},
"test3": {
"$ref": "#/definitions/MyGame_Example_Test"
},
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"z": {
"type": "number"
}
},
"type": "object"
},
"MyGame_InParentNamespace": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"MyGame_OtherNameSpace_FromInclude": {
"enum": [
"IncludeVal"
],
"type": "string"
},
"MyGame_OtherNameSpace_TableB": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/TableA"
}
},
"type": "object"
},
"MyGame_OtherNameSpace_Unused": {
"additionalProperties": false,
"properties": {
"a": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
}
},
"type": "object"
},
"TableA": {
"additionalProperties": false,
"properties": {
"b": {
"$ref": "#/definitions/MyGame_OtherNameSpace_TableB"
}
},
"type": "object"
}
}
} | MIT | en |
vilassn/whisper_android | ee3490a036c03e62324f9184b371dec9c953ca47 | 2023-09-10T20:53:21 | app/src/main/cpp/tf-lite-api/include/flatbuffers/tests/arrays_test.schema.json | 127 | 2024-05-27T06:19:34.724172Z | {
"$ref": "#/definitions/MyGame_Example_ArrayTable",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"definitions": {
"MyGame_Example_ArrayStruct": {
"additionalProperties": false,
"properties": {
"a": {
"type": "number"
},
"b": {
"items": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"maxItems": 15,
"minItems": 15,
"type": "array"
},
"c": {
"maximum": 127,
"minimum": -128,
"type": "integer"
},
"d": {
"items": {
"$ref": "#/definitions/MyGame_Example_NestedStruct"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"e": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"f": {
"items": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"type": "object"
},
"MyGame_Example_ArrayTable": {
"additionalProperties": false,
"properties": {
"a": {
"$ref": "#/definitions/MyGame_Example_ArrayStruct"
}
},
"type": "object"
},
"MyGame_Example_NestedStruct": {
"additionalProperties": false,
"properties": {
"a": {
"items": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"b": {
"$ref": "#/definitions/MyGame_Example_TestEnum"
},
"c": {
"items": {
"$ref": "#/definitions/MyGame_Example_TestEnum"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
},
"d": {
"items": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"type": "object"
},
"MyGame_Example_TestEnum": {
"enum": [
"A",
"B",
"C"
],
"type": "string"
}
}
} | MIT | en |
datreeio/admission-webhook-datree | adf70d0ab1b0878d0497f5eae7e9f5a307ba2676 | 2023-07-12T08:58:32 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"properties": {
"datree": {
"properties": {
"bypassPermissions": {
"properties": {
"groups": {
"items": {
"type": "string"
},
"title": "The groups Schema",
"type": "array"
},
"serviceAccounts": {
"items": {
"type": "string"
},
"title": "The serviceAccounts Schema",
"type": "array"
},
"userAccounts": {
"items": {
"type": "string"
},
"title": "The userAccounts Schema",
"type": "array"
}
},
"title": "The bypassPermissions Schema",
"type": "object"
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"enabledWarnings": {
"default": true,
"items": {
"enum": [
"failedPolicyCheck",
"skippedBySkipList",
"passedPolicyCheck",
"RBACBypassed"
],
"type": "string"
},
"title": "The enablesWarnings Schema",
"type": "array"
},
"labelKubeSystem": {
"default": true,
"title": "The labelKubeSystem Schema",
"type": "boolean"
},
"multiplePolicies": {
"items": {
"properties": {
"namespaces": {
"additionalProperties": false,
"properties": {
"excludePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The exclude Schema",
"type": "array"
},
"includePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The include Schema",
"type": "array"
}
},
"required": [
"includePatterns"
],
"title": "The namespaces Schema",
"type": "object"
},
"policy": {
"title": "The policy Schema",
"type": "string"
}
},
"required": [
"policy",
"namespaces"
],
"title": "The items Schema",
"type": "object"
},
"title": "The multiplePolicies Schema",
"type": "array"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object",
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | 4c43a3e0d94017211289b5e18724d729dc6cccd9 | 2023-07-23T09:06:56 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"properties": {
"datree": {
"properties": {
"bypassPermissions": {
"properties": {
"groups": {
"items": {
"type": "string"
},
"title": "The groups Schema",
"type": "array"
},
"serviceAccounts": {
"items": {
"type": "string"
},
"title": "The serviceAccounts Schema",
"type": "array"
},
"userAccounts": {
"items": {
"type": "string"
},
"title": "The userAccounts Schema",
"type": "array"
}
},
"title": "The bypassPermissions Schema",
"type": "object"
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"enabledWarnings": {
"default": true,
"items": {
"enum": [
"failedPolicyCheck",
"skippedBySkipList",
"passedPolicyCheck",
"RBACBypassed"
],
"type": "string"
},
"title": "The enablesWarnings Schema",
"type": "array"
},
"labelKubeSystem": {
"default": true,
"title": "The labelKubeSystem Schema",
"type": "boolean"
},
"logLevel": {
"maximum": 3,
"minimum": -1,
"title": "The logLevel Schema",
"type": "number"
},
"multiplePolicies": {
"items": {
"properties": {
"namespaces": {
"additionalProperties": false,
"properties": {
"excludePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The exclude Schema",
"type": "array"
},
"includePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The include Schema",
"type": "array"
}
},
"required": [
"includePatterns"
],
"title": "The namespaces Schema",
"type": "object"
},
"policy": {
"title": "The policy Schema",
"type": "string"
}
},
"required": [
"policy",
"namespaces"
],
"title": "The items Schema",
"type": "object"
},
"title": "The multiplePolicies Schema",
"type": "array"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object",
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | a1e24b52447bbb1bbff547125297d200d7d08da9 | 2023-06-21T14:04:08 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"properties": {
"datree": {
"properties": {
"bypassPermissions": {
"properties": {
"groups": {
"items": {
"type": "string"
},
"title": "The groups Schema",
"type": "array"
},
"serviceAccounts": {
"items": {
"type": "string"
},
"title": "The serviceAccounts Schema",
"type": "array"
},
"userAccounts": {
"items": {
"type": "string"
},
"title": "The userAccounts Schema",
"type": "array"
}
},
"title": "The bypassPermissions Schema",
"type": "object"
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"multiplePolicies": {
"items": {
"properties": {
"namespaces": {
"additionalProperties": false,
"properties": {
"excludePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The exclude Schema",
"type": "array"
},
"includePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The include Schema",
"type": "array"
}
},
"required": [
"includePatterns"
],
"title": "The namespaces Schema",
"type": "object"
},
"policy": {
"title": "The policy Schema",
"type": "string"
}
},
"required": [
"policy",
"namespaces"
],
"title": "The items Schema",
"type": "object"
},
"title": "The multiplePolicies Schema",
"type": "array"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object",
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | a8fc921ddb8dc933c856b98e024ccf7a626bdc5e | 2023-06-22T12:06:17 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"properties": {
"datree": {
"properties": {
"bypassPermissions": {
"properties": {
"groups": {
"items": {
"type": "string"
},
"title": "The groups Schema",
"type": "array"
},
"serviceAccounts": {
"items": {
"type": "string"
},
"title": "The serviceAccounts Schema",
"type": "array"
},
"userAccounts": {
"items": {
"type": "string"
},
"title": "The userAccounts Schema",
"type": "array"
}
},
"title": "The bypassPermissions Schema",
"type": "object"
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"labelKubeSystem": {
"default": true,
"title": "The labelKubeSystem Schema",
"type": "boolean"
},
"multiplePolicies": {
"items": {
"properties": {
"namespaces": {
"additionalProperties": false,
"properties": {
"excludePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The exclude Schema",
"type": "array"
},
"includePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The include Schema",
"type": "array"
}
},
"required": [
"includePatterns"
],
"title": "The namespaces Schema",
"type": "object"
},
"policy": {
"title": "The policy Schema",
"type": "string"
}
},
"required": [
"policy",
"namespaces"
],
"title": "The items Schema",
"type": "object"
},
"title": "The multiplePolicies Schema",
"type": "array"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object",
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | db5ed2588209a57ea0ef394de9dd2325e9cdbdf6 | 2023-05-09T16:09:21 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": "string"
}
},
"required": [
"repository",
"pullPolicy",
"tag"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"datree": {
"properties": {
"clusterName": {
"default": "",
"title": "The clusterName Schema",
"type": "string"
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": "string"
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
},
"token": {
"default": "",
"title": "The token Schema",
"type": "string"
}
},
"required": [
"token",
"clusterName",
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": "string"
}
},
"required": [
"repository",
"tag",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
},
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object"
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | 1d175648aee9a2840a62f44600ef0efa24874541 | 2023-05-30T14:10:13 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"properties": {
"datree": {
"properties": {
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"multiplePolicies": {
"items": {
"properties": {
"namespaces": {
"additionalProperties": false,
"properties": {
"excludePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The exclude Schema",
"type": "array"
},
"includePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The include Schema",
"type": "array"
}
},
"required": [
"includePatterns"
],
"title": "The namespaces Schema",
"type": "object"
},
"policy": {
"title": "The policy Schema",
"type": "string"
}
},
"required": [
"policy",
"namespaces"
],
"title": "The items Schema",
"type": "object"
},
"title": "The multiplePolicies Schema",
"type": "array"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object",
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | 17510554c9e681dcd9b0e5c82fa7c680215cf8b8 | 2023-05-24T10:45:27 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"datree": {
"properties": {
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
},
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object"
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | 39a63c32dedb6116ddffa03abc8ba576ff413e4d | 2023-06-22T11:36:33 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"properties": {
"datree": {
"properties": {
"bypassPermissions": {
"properties": {
"groups": {
"items": {
"type": "string"
},
"title": "The groups Schema",
"type": "array"
},
"serviceAccounts": {
"items": {
"type": "string"
},
"title": "The serviceAccounts Schema",
"type": "array"
},
"userAccounts": {
"items": {
"type": "string"
},
"title": "The userAccounts Schema",
"type": "array"
}
},
"title": "The bypassPermissions Schema",
"type": "object"
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"labelSkipKubeSystem": {
"default": true,
"title": "The skipKubeSystem Schema",
"type": "boolean"
},
"multiplePolicies": {
"items": {
"properties": {
"namespaces": {
"additionalProperties": false,
"properties": {
"excludePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The exclude Schema",
"type": "array"
},
"includePatterns": {
"items": {
"title": "The items Schema",
"type": "string"
},
"title": "The include Schema",
"type": "array"
}
},
"required": [
"includePatterns"
],
"title": "The namespaces Schema",
"type": "object"
},
"policy": {
"title": "The policy Schema",
"type": "string"
}
},
"required": [
"policy",
"namespaces"
],
"title": "The items Schema",
"type": "object"
},
"title": "The multiplePolicies Schema",
"type": "array"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
}
},
"required": [
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object",
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
} | Apache-2.0 | en |
datreeio/admission-webhook-datree | 0066b1761b3e6322aef03ab1854f5e69f81e8833 | 2023-05-10T11:06:03 | charts/datree-admission-webhook/values.schema.json | 24 | 2024-05-27T05:48:10.012255Z | {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"clusterScanner": {
"properties": {
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
}
},
"required": [
"image"
],
"title": "The clusterScanner Schema",
"type": "object"
},
"datree": {
"properties": {
"clusterName": {
"default": "",
"title": "The clusterName Schema",
"type": [
"string",
"null"
]
},
"configFromHelm": {
"default": false,
"title": "The configFromHelm Schema",
"type": "boolean"
},
"policy": {
"default": "",
"title": "The policy Schema",
"type": [
"string",
"null"
]
},
"scanIntervalHours": {
"default": 1,
"title": "The scanIntervalHours Schema",
"type": "integer"
},
"token": {
"title": "The token Schema",
"type": "string"
}
},
"required": [
"token",
"clusterName",
"scanIntervalHours",
"configFromHelm"
],
"title": "The datree Schema",
"type": "object"
},
"image": {
"properties": {
"pullPolicy": {
"default": "",
"enum": [
"Always",
"Never",
"IfNotPresent"
],
"title": "The pullPolicy Schema",
"type": "string"
},
"repository": {
"default": "",
"title": "The repository Schema",
"type": "string"
},
"tag": {
"default": "",
"title": "The tag Schema",
"type": [
"string",
"null"
]
}
},
"required": [
"repository",
"pullPolicy"
],
"title": "The image Schema",
"type": "object"
},
"namespace": {
"default": "",
"title": "The namespace Schema",
"type": "string"
},
"replicaCount": {
"default": 2,
"title": "The replicaCount Schema",
"type": "integer"
},
"validatingWebhookConfiguration": {
"properties": {
"failurePolicy": {
"default": "",
"enum": [
"Ignore",
"Fail"
],
"title": "The failurePolicy Schema",
"type": "string"
}
},
"required": [
"failurePolicy"
],
"title": "The validatingWebhookConfiguration Schema",
"type": "object"
}
},
"required": [
"namespace",
"replicaCount",
"datree",
"image",
"clusterScanner",
"validatingWebhookConfiguration"
],
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | ff8f8d51808fe5b782730cf9aa64d71925d415df | 2024-04-09T08:00:05 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"global": {
"description": "Global values shared across all (sub)charts"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 53fd219f96c8d207053df77b2561964a3e818194 | 2024-03-26T17:16:40 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster"
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": true,
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will fallback to the default distro backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything coredns related."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": true,
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods are additional labels or annotations for the statefulSet pod."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embeddedSqlite": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format. This is optional for the embedded database.",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.\n+optional",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.\n+optional",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the scheduler."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.virtualScheduler.enabled"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"description": "IPBlock describes a particular CIDR (Ex.",
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelSelectorRequirement": {
"additionalProperties": false,
"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"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock"
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"$ref": "#/$defs/ScopeSelector",
"description": "ScopeSelector is the resource quota scope selector"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.\n\nFor example:\n'pods' means pods.\n'pods/log' means the log subresource of pods.\n'*' means all resources, but not subresources.\n'pods/*' means all subresources of pods.\n'*/scale' means all scale subresources.\n'*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not\noverlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "scope specifies the scope of this rule.\nValid values are \"Cluster\", \"Namespaced\", and \"*\"\n\"Cluster\" means that only cluster-scoped resources will match this rule.\nNamespace API objects are cluster-scoped.\n\"Namespaced\" means that only namespaced resources will match this rule.\n\"*\" means that there are no scope restrictions.\nSubresources match the scope of their parent resource.\nDefault is \"*\".\n\n+optional",
"type": "string"
}
},
"type": "object"
},
"ScopeSelector": {
"additionalProperties": false,
"properties": {
"matchExpressions": {
"items": {
"$ref": "#/$defs/LabelSelectorRequirement"
},
"type": "array"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 400546a0335fa515c53aa726334b806ca651b2db | 2024-04-22T11:59:22 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths.",
"pro": true
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"pro": true,
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableAutoSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster",
"pro": true
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"pro": true,
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"pro": true,
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves.",
"pro": true
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"pro": true,
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"pro": true,
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"pro": true,
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/PlatformAccessKey",
"description": "AccessKey defines how vCluster can find the access key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAccessKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAccessKeySecretReference",
"description": "SecretRef defines where to find the platform access key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAccessKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAccessKeySecretReference defines where to find the platform access key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform access key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the access key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster.",
"pro": true
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiNodes": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainer": {
"$ref": "#/$defs/SyncRewriteHostsInitContainer",
"description": "InitContainer holds extra options for the init container used by vCluster to rewrite the FQDN for stateful set pods."
}
},
"type": "object"
},
"SyncRewriteHostsInitContainer": {
"additionalProperties": false,
"properties": {
"image": {
"description": "Image is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resources that should be assigned to the init container for each stateful set init container."
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"global": {
"description": "Global values shared across all (sub)charts"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 612d5f0180f311c423c477c2a2da79cc95fe0ca5 | 2024-03-17T12:12:29 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"embeddedEtcd": {
"$ref": "#/$defs/EmbeddedEtcd",
"description": "EmbeddedEtcd defines to use embedded etcd as a storage backend for the virtual cluster"
},
"externalEtcd": {
"$ref": "#/$defs/ExternalEtcd",
"description": "ExternalEtcd defines to use an external etcd deployed by the Helm chart as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": true,
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will fallback to the default distro backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything coredns related."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": true,
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods are additional labels or annotations for the statefulSet pod."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.\n+optional",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.\n+optional",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerDisabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"disabled": {
"description": "Disabled signals this container should be disabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerDisabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerDisabled",
"description": "ControllerManager holds configuration specific to starting the scheduler."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler."
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EmbeddedEtcd": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromExternalEtcd": {
"description": "MigrateFromExternalEtcd signals that vCluster should migrate from the external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcd": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the external etcd should be used.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/ExternalEtcdHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/ExternalEtcdService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/ExternalEtcdStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"ExternalEtcdHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"ExternalEtcdStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"description": "IPBlock describes a particular CIDR (Ex.",
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelSelectorRequirement": {
"additionalProperties": false,
"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"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock"
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"disabled": {
"description": "Disabled defines if the cluster role should be disabled. Otherwise, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"type": "string"
},
"namespace": {
"type": "string"
},
"service": {
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"type": "string"
},
"ip": {
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"$ref": "#/$defs/ScopeSelector",
"description": "ScopeSelector is the resource quota scope selector"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.\n\nFor example:\n'pods' means pods.\n'pods/log' means the log subresource of pods.\n'*' means all resources, but not subresources.\n'pods/*' means all subresources of pods.\n'*/scale' means all scale subresources.\n'*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not\noverlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "scope specifies the scope of this rule.\nValid values are \"Cluster\", \"Namespaced\", and \"*\"\n\"Cluster\" means that only cluster-scoped resources will match this rule.\nNamespace API objects are cluster-scoped.\n\"Namespaced\" means that only namespaced resources will match this rule.\n\"*\" means that there are no scope restrictions.\nSubresources match the scope of their parent resource.\nDefault is \"*\".\n\n+optional",
"type": "string"
}
},
"type": "object"
},
"ScopeSelector": {
"additionalProperties": false,
"properties": {
"matchExpressions": {
"items": {
"$ref": "#/$defs/LabelSelectorRequirement"
},
"type": "array"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"disabled": {
"description": "Disabled specifies that the telemetry for the vCluster control plane should be disabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"disabled": {
"description": "Disabled signals to disable deploying a persistent volume claim. If false, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig file."
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 1fea51c0139984fc94c52df00d23e1d0ae1f2729 | 2024-03-15T09:03:47 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"embeddedEtcd": {
"$ref": "#/$defs/EmbeddedEtcd",
"description": "EmbeddedEtcd defines to use embedded etcd as a storage backend for the vCluster"
},
"externalEtcd": {
"$ref": "#/$defs/ExternalEtcd",
"description": "ExternalEtcd defines to use an external etcd deployed by the helm chart as a storage backend for the vCluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the vCluster",
"items": true,
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the vCluster",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for vCluster. If not defined will fallback to the default distro backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything coredns related."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds vCluster related distro options."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for the vCluster ingress deployed by helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the vCluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for the vCluster service deployed by helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for the vCluster statefulSet deployed by helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster statefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control-plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the vCluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the vCluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which the vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which the vCluster will expose the proxy.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": true,
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods are additional labels or annotations for the statefulSet pod."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the vCluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the vCluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the vCluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds k3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds k8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerDisabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"disabled": {
"description": "Disabled signals this container should be disabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the k3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the k3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerDisabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerDisabled",
"description": "ControllerManager holds configuration specific to starting the scheduler."
},
"enabled": {
"description": "Enabled specifies if the k8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler."
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EmbeddedEtcd": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromExternalEtcd": {
"description": "MigrateFromExternalEtcd signals that vCluster should migrate from the external etcd.",
"type": "boolean"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and helm charts to deploy within the vCluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from vCluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells vCluster to sync to multiple namespaces instead of a single one. This will map each vCluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are helm charts that should get deployed into the vCluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw kubernetes manifests that should get applied within the vCluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a kubernetes manifest template that will be rendered with vCluster values before applying it within the vCluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kube config.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the kubernetes service to point to the vCluster if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from vCluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kube config",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kube config to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Secret defines in which secret in the host cluster the generated kube-config should be stored.\nIf this is not defined, vCluster will only create it at `vc-NAME`. If another name is specified here\nvCluster will also create the config in this other secret."
},
"server": {
"description": "Server can be used to override the default https://localhost:8443 and specify a custom hostname for the\ngenerated kube-config.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "ExportKubeConfigSecretReference defines in which secret in the host cluster the generated kube-config should be stored.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kube config should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the kube config secret should get stored. If this is not equal to the namespace\nwhere the vCluster is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcd": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the external etcd should be used.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/ExternalEtcdHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/ExternalEtcdService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/ExternalEtcdStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"ExternalEtcdHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"ExternalEtcdStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"description": "IPBlock describes a particular CIDR (Ex.",
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelSelectorRequirement": {
"additionalProperties": false,
"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"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to vCluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to vCluster.",
"type": "boolean"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. prometheus requires a node ip.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to vCluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the vCluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the vCluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to vCluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock"
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster should connect to.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra vCluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra vCluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the vCluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds vCluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds vCluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"disabled": {
"description": "Disabled defines if the cluster role should be disabled. Otherwise, its automatically determined if vCluster requires a cluster role.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the vCluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from vCluster to the host cluster. If services are\nsynced to a different namespace than the vCluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"type": "string"
},
"namespace": {
"type": "string"
},
"service": {
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostname": {
"type": "string"
},
"mode": {
"type": "string"
},
"namespace": {
"type": "string"
},
"service": {
"type": "string"
},
"vcluster": {
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"$ref": "#/$defs/ScopeSelector",
"description": "ScopeSelector is the resource quota scope selector"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"ScopeSelector": {
"additionalProperties": false,
"properties": {
"matchExpressions": {
"items": {
"$ref": "#/$defs/LabelSelectorRequirement"
},
"type": "array"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "FromHost configures what resources should get purely synced from the host cluster to the vCluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "ToHost configures what resources should get synced from the vCluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the vCluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the vCluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the vCluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the vCluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the vCluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the vCluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the vCluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the vCluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to vCluster. This will also set the node selector when syncing a pod from vCluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the vCluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the vCluster to the host cluster. If this is enabled someone within the vCluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the vCluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. vCluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe vCluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the vCluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by vCluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image vCluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the vCluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the vCluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the vCluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the vCluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the vCluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the vCluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the vCluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the vCluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the vCluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the vCluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the vCluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the vCluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the vCluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the vCluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"disabled": {
"description": "Disabled specifies that the telemetry for vCluster control plane should be disabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kube config path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"disabled": {
"description": "Disabled signals to disable deploying a persistent volume claim. If false, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "ControlPlane holds options how to configure the vCluster control-plane"
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental are alpha features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kube config"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking are networking options related to the vCluster"
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the vCluster"
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options how vCluster should connect to vCluster platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies what vCluster plugins to enable. Please use \"plugins\" instead. Please do not use that option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugins define what vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies defines policies to enforce for the vCluster deployment as well as within the vCluster"
},
"pro": {
"description": "Pro specifies if vCluster pro should be used. This is automatically inferred in newer versions. Please do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC are role based access control options for the vCluster"
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the vCluster. Please do not use that option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the vCluster to host cluster and back"
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Telemetry is the configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | deff88796f055c7b37af589b3ffc60571112e612 | 2024-04-22T12:23:10 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths.",
"pro": true
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"pro": true,
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableAutoSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster",
"pro": true
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"pro": true,
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"pro": true,
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves.",
"pro": true
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"pro": true,
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"pro": true,
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"pro": true,
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"accessKey": {
"$ref": "#/$defs/PlatformAccessKey",
"description": "AccessKey defines how vCluster can find the access key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAccessKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAccessKeySecretReference",
"description": "SecretRef defines where to find the platform access key. By default, vCluster will search in the following locations in this precedence:\n* platform.accessKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the access key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAccessKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAccessKeySecretReference defines where to find the platform access key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform access key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the access key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster.",
"pro": true
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiNodes": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainer": {
"$ref": "#/$defs/SyncRewriteHostsInitContainer",
"description": "InitContainer holds extra options for the init container used by vCluster to rewrite the FQDN for stateful set pods."
}
},
"type": "object"
},
"SyncRewriteHostsInitContainer": {
"additionalProperties": false,
"properties": {
"image": {
"description": "Image is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resources that should be assigned to the init container for each stateful set init container."
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"global": {
"description": "Global values shared across all (sub)charts"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | f4cc59bbcae97397a3b03ec636098c790a7deba7 | 2024-04-11T09:48:43 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"pro": true,
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"pro": true,
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster.",
"pro": true
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"global": {
"description": "Global values shared across all (sub)charts"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 3d57f9d6fc54b6607cb1cfe29484d5c01a11f9d1 | 2024-04-17T17:47:22 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths.",
"pro": true
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"pro": true,
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableAutoSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster",
"pro": true
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"pro": true,
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"pro": true,
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves.",
"pro": true
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"pro": true,
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"pro": true,
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"pro": true,
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster.",
"pro": true
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiNodes": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"global": {
"description": "Global values shared across all (sub)charts"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | f783bcd2e3f425ad759499e63ff71a1d7f5badf1 | 2024-04-04T13:01:16 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster"
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will fallback to the default distro backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything coredns related."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods are additional labels or annotations for the statefulSet pod."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format. This is optional for the embedded database.",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.\n+optional",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.\n+optional",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the scheduler."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.virtualScheduler.enabled"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.\n\nFor example:\n'pods' means pods.\n'pods/log' means the log subresource of pods.\n'*' means all resources, but not subresources.\n'pods/*' means all subresources of pods.\n'*/scale' means all scale subresources.\n'*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not\noverlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "scope specifies the scope of this rule.\nValid values are \"Cluster\", \"Namespaced\", and \"*\"\n\"Cluster\" means that only cluster-scoped resources will match this rule.\nNamespace API objects are cluster-scoped.\n\"Namespaced\" means that only namespaced resources will match this rule.\n\"*\" means that there are no scope restrictions.\nSubresources match the scope of their parent resource.\nDefault is \"*\".\n\n+optional",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 3bdbdb171b00dcb5c1f038ab7d50d1bde320d500 | 2024-04-03T07:33:40 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster"
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will fallback to the default distro backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything coredns related."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": true,
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods are additional labels or annotations for the statefulSet pod."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/LocalObjectReference"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format. This is optional for the embedded database.",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.\n+optional",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.\n+optional",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.\n+optional",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the scheduler."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources are the resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.virtualScheduler.enabled"
},
"securityContext": {
"description": "SecurityContext can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelSelectorRequirement": {
"additionalProperties": false,
"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"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LocalObjectReference": {
"additionalProperties": false,
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
"description": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"$ref": "#/$defs/ScopeSelector",
"description": "ScopeSelector is the resource quota scope selector"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.\n\nFor example:\n'pods' means pods.\n'pods/log' means the log subresource of pods.\n'*' means all resources, but not subresources.\n'pods/*' means all subresources of pods.\n'*/scale' means all scale subresources.\n'*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not\noverlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed.\nRequired.\n+listType=atomic",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "scope specifies the scope of this rule.\nValid values are \"Cluster\", \"Namespaced\", and \"*\"\n\"Cluster\" means that only cluster-scoped resources will match this rule.\nNamespace API objects are cluster-scoped.\n\"Namespaced\" means that only namespaced resources will match this rule.\n\"*\" means that there are no scope restrictions.\nSubresources match the scope of their parent resource.\nDefault is \"*\".\n\n+optional",
"type": "string"
}
},
"type": "object"
},
"ScopeSelector": {
"additionalProperties": false,
"properties": {
"matchExpressions": {
"items": {
"$ref": "#/$defs/LabelSelectorRequirement"
},
"type": "array"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | d1ebef2f9e508e3d6a0bf8f3c01d6c4bbfb82ee1 | 2024-04-09T07:42:55 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths."
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster"
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves."
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"apiKey": {
"$ref": "#/$defs/PlatformAPIKey",
"description": "APIKey defines how vCluster can find the api key used for the platform."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKey": {
"additionalProperties": false,
"properties": {
"secretRef": {
"$ref": "#/$defs/PlatformAPIKeySecretReference",
"description": "SecretRef defines where to find the platform api key. By default vCluster will search in the following locations in this precedence:\n* platform.apiKey.value\n* environment variable called LICENSE\n* secret specified under platform.secret.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
},
"value": {
"description": "Value specifies the api key as a regular text value.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPIKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAPIKeySecretReference defines where to find the platform api key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform api key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the api key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster."
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back."
},
"csiNodes": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainerImage": {
"description": "InitContainerImage is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
loft-sh/vcluster | 90fd3afcb7d094c72399aef7678740bdbfb34365 | 2024-04-23T08:24:15 | chart/values.schema.json | 5,804 | 2024-05-28T04:58:39.353045Z | {
"$defs": {
"BackingStore": {
"additionalProperties": false,
"properties": {
"database": {
"$ref": "#/$defs/Database",
"description": "Database defines that a database backend should be used as the backend for the virtual cluster. This uses a project called kine under the hood which is a shim for bridging Kubernetes and relational databases."
},
"etcd": {
"$ref": "#/$defs/Etcd",
"description": "Etcd defines that etcd should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"CentralAdmission": {
"additionalProperties": false,
"properties": {
"mutatingWebhooks": {
"description": "MutatingWebhooks are mutating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/MutatingWebhookConfiguration"
},
"type": "array"
},
"validatingWebhooks": {
"description": "ValidatingWebhooks are validating webhooks that should be enforced in the virtual cluster",
"items": {
"$ref": "#/$defs/ValidatingWebhookConfiguration"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlane": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/ControlPlaneAdvanced",
"description": "Advanced holds additional configuration for the vCluster control plane."
},
"backingStore": {
"$ref": "#/$defs/BackingStore",
"description": "BackingStore defines which backing store to use for virtual cluster. If not defined will use embedded database as a default backing store."
},
"coredns": {
"$ref": "#/$defs/CoreDNS",
"description": "CoreDNS defines everything related to the coredns that is deployed and used within the vCluster."
},
"distro": {
"$ref": "#/$defs/Distro",
"description": "Distro holds virtual cluster related distro options. A distro cannot be changed after vCluster is deployed."
},
"hostPathMapper": {
"$ref": "#/$defs/HostPathMapper",
"description": "HostPathMapper defines if vCluster should rewrite host paths.",
"pro": true
},
"ingress": {
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"proxy": {
"$ref": "#/$defs/ControlPlaneProxy",
"description": "Proxy defines options for the virtual cluster control plane proxy that is used to do authentication and intercept requests."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
},
"serviceMonitor": {
"$ref": "#/$defs/ServiceMonitor",
"description": "ServiceMonitor can be used to automatically create a service monitor for vCluster deployment itself."
},
"statefulSet": {
"$ref": "#/$defs/ControlPlaneStatefulSet",
"description": "StatefulSet defines options for vCluster statefulSet deployed by Helm."
}
},
"type": "object"
},
"ControlPlaneAdvanced": {
"additionalProperties": false,
"properties": {
"defaultImageRegistry": {
"description": "DefaultImageRegistry will be used as a prefix for all internal images deployed by vCluster or Helm. This makes it easy to\nupload all required vCluster images to a single private repository and set this value. Workload images are not affected by this.",
"type": "string"
},
"globalMetadata": {
"$ref": "#/$defs/ControlPlaneGlobalMetadata",
"description": "GlobalMetadata is metadata that will be added to all resources deployed by Helm."
},
"headlessService": {
"$ref": "#/$defs/ControlPlaneHeadlessService",
"description": "HeadlessService specifies options for the headless service used for the vCluster StatefulSet."
},
"serviceAccount": {
"$ref": "#/$defs/ControlPlaneServiceAccount",
"description": "ServiceAccount specifies options for the vCluster control plane service account."
},
"virtualScheduler": {
"$ref": "#/$defs/EnableSwitch",
"description": "VirtualScheduler defines if a scheduler should be used within the virtual cluster or the scheduling decision for workloads will be made by the host cluster."
},
"workloadServiceAccount": {
"$ref": "#/$defs/ControlPlaneWorkloadServiceAccount",
"description": "WorkloadServiceAccount specifies options for the service account that will be used for the workloads that run within the virtual cluster."
}
},
"type": "object"
},
"ControlPlaneGlobalMetadata": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneHighAvailability": {
"additionalProperties": false,
"properties": {
"leaseDuration": {
"description": "LeaseDuration is the time to lease for the leader.",
"type": "integer"
},
"renewDeadline": {
"description": "RenewDeadline is the deadline to renew a lease for the leader.",
"type": "integer"
},
"replicas": {
"description": "Replicas is the amount of replicas to use for the statefulSet.",
"type": "integer"
},
"retryPeriod": {
"description": "RetryPeriod is the time until a replica will retry to get a lease.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneIngress": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane ingress should be enabled",
"type": "boolean"
},
"host": {
"description": "Host is the host where vCluster will be reachable",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"pathType": {
"description": "PathType is the path type of the ingress",
"type": "string"
},
"spec": {
"description": "Spec allows you to configure extra ingress options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlanePersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/VolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ControlPlaneProbes": {
"additionalProperties": false,
"properties": {
"livenessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "LivenessProbe specifies if the liveness probe for the container should be enabled"
},
"readinessProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "ReadinessProbe specifies if the readiness probe for the container should be enabled"
},
"startupProbe": {
"$ref": "#/$defs/EnableSwitch",
"description": "StartupProbe specifies if the startup probe for the container should be enabled"
}
},
"type": "object"
},
"ControlPlaneProxy": {
"additionalProperties": false,
"properties": {
"bindAddress": {
"description": "BindAddress under which vCluster will expose the proxy.",
"type": "string"
},
"extraSANs": {
"description": "ExtraSANs are extra hostnames to sign the vCluster proxy certificate for.",
"items": {
"type": "string"
},
"type": "array"
},
"port": {
"description": "Port under which vCluster will expose the proxy. Changing port is currently not supported.",
"type": "integer"
}
},
"type": "object"
},
"ControlPlaneScheduling": {
"additionalProperties": false,
"properties": {
"affinity": {
"description": "Affinity is the affinity to apply to the pod.",
"type": "object"
},
"nodeSelector": {
"description": "NodeSelector is the node selector to apply to the pod.",
"type": "object"
},
"podManagementPolicy": {
"description": "PodManagementPolicy is the statefulSet pod management policy.",
"type": "string"
},
"priorityClassName": {
"description": "PriorityClassName is the priority class name for the the pod.",
"type": "string"
},
"tolerations": {
"description": "Tolerations are the tolerations to apply to the pod.",
"items": {
"type": "object"
},
"type": "array"
},
"topologySpreadConstraints": {
"description": "TopologySpreadConstraints are the topology spread constraints for the pod.",
"items": true,
"type": "array"
}
},
"type": "object"
},
"ControlPlaneSecurity": {
"additionalProperties": false,
"properties": {
"containerSecurityContext": {
"description": "ContainerSecurityContext specifies security context options on the container level.",
"type": "object"
},
"podSecurityContext": {
"description": "PodSecurityContext specifies security context options on the pod level.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the control plane service should be enabled",
"type": "boolean"
},
"httpsNodePort": {
"description": "HTTPSNodePort is the node port where https is exposed. Defaults to 0.",
"type": "integer"
},
"kubeletNodePort": {
"description": "KubeletNodePort is the node port where the fake kubelet is exposed. Defaults to 0.",
"type": "integer"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec allows you to configure extra service options.",
"type": "object"
}
},
"type": "object"
},
"ControlPlaneServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"args": {
"description": "Args allows you to override the main arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command allows you to override the main command.",
"items": {
"type": "string"
},
"type": "array"
},
"env": {
"description": "Env are additional environment variables for the statefulSet container.",
"items": {
"type": "object"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ControlPlaneHighAvailability",
"description": "HighAvailability holds options related to high availability."
},
"image": {
"$ref": "#/$defs/StatefulSetImage",
"description": "Image is the image for the controlPlane statefulSet container"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the policy how to pull the image.",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ControlPlanePersistence",
"description": "Persistence defines options around persistence for the statefulSet."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Additional labels or annotations for the statefulSet pods."
},
"probes": {
"$ref": "#/$defs/ControlPlaneProbes",
"description": "Probes enables or disables the main container probes."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resource requests and limits for the statefulSet container."
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling holds options related to scheduling."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security defines pod or container security context."
},
"workingDir": {
"description": "WorkingDir specifies in what folder the main process should get started.",
"type": "string"
}
},
"type": "object"
},
"ControlPlaneWorkloadServiceAccount": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled specifies if the service account for the workloads should get deployed.",
"type": "boolean"
},
"imagePullSecrets": {
"description": "ImagePullSecrets defines extra image pull secrets for the workload service account.",
"items": {
"$ref": "#/$defs/ImagePullSecretName"
},
"type": "array"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"name": {
"description": "Name specifies what name to use for the service account for the virtual cluster workloads.",
"type": "string"
}
},
"type": "object"
},
"CoreDNS": {
"additionalProperties": false,
"properties": {
"deployment": {
"$ref": "#/$defs/CoreDNSDeployment",
"description": "Deployment holds extra options for the coredns deployment deployed within the virtual cluster"
},
"embedded": {
"description": "Embedded defines if vCluster will start the embedded coredns service within the control-plane and not as a separate deployment. This is a PRO feature.",
"pro": true,
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if coredns is enabled",
"type": "boolean"
},
"overwriteConfig": {
"description": "OverwriteConfig can be used to overwrite the coredns config",
"type": "string"
},
"overwriteManifests": {
"description": "OverwriteManifests can be used to overwrite the coredns manifests used to deploy coredns",
"type": "string"
},
"service": {
"$ref": "#/$defs/CoreDNSService",
"description": "Service holds extra options for the coredns service deployed within the virtual cluster"
}
},
"type": "object"
},
"CoreDNSDeployment": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"image": {
"description": "Image is the coredns image to use",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"description": "NodeSelector is the node selector to use for coredns.",
"type": "object"
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods is additional metadata for the coredns pods."
},
"replicas": {
"description": "Replicas is the amount of coredns pods to run.",
"type": "integer"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the desired resources for coredns."
}
},
"type": "object"
},
"CoreDNSService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"spec": {
"description": "Spec holds extra options for the coredns service",
"type": "object"
}
},
"type": "object"
},
"Database": {
"additionalProperties": false,
"properties": {
"embedded": {
"$ref": "#/$defs/DatabaseKine",
"description": "Embedded defines that an embedded database (sqlite) should be used as the backend for the virtual cluster"
},
"external": {
"$ref": "#/$defs/DatabaseKine",
"description": "External defines that an external database should be used as the backend for the virtual cluster"
}
},
"type": "object"
},
"DatabaseKine": {
"additionalProperties": false,
"properties": {
"caFile": {
"description": "CaFile is the ca file to use for the database. This is optional.",
"type": "string"
},
"certFile": {
"description": "CertFile is the cert file to use for the database. This is optional.",
"type": "string"
},
"dataSource": {
"description": "DataSource is the kine dataSource to use for the database. This depends on the database format.\nThis is optional for the embedded database. Examples:\n* mysql: mysql://username:password@tcp(hostname:3306)/k3s\n* postgres: postgres://username:password@hostname:5432/k3s",
"type": "string"
},
"enabled": {
"description": "Enabled defines if the database should be used.",
"type": "boolean"
},
"keyFile": {
"description": "KeyFile is the key file to use for the database. This is optional.",
"type": "string"
}
},
"type": "object"
},
"DenyRule": {
"additionalProperties": false,
"properties": {
"excludedUsers": {
"description": "ExcludedUsers describe a list of users for which the checks will be skipped.\nImpersonation attempts on these users will still be subjected to the checks.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "The name of the check.",
"type": "string"
},
"namespaces": {
"description": "Namespace describe a list of namespaces that will be affected by the check.\nAn empty list means that all namespaces will be affected.\nIn case of ClusterScoped rules, only the Namespace resource is affected.",
"items": {
"type": "string"
},
"type": "array"
},
"rules": {
"description": "Rules describes on which verbs and on what resources/subresources the webhook is enforced.\nThe webhook is enforced if it matches any Rule.\nThe version of the request must match the rule version exactly. Equivalent matching is not supported.",
"items": {
"$ref": "#/$defs/RuleWithVerbs"
},
"type": "array"
}
},
"type": "object"
},
"Distro": {
"additionalProperties": false,
"properties": {
"eks": {
"$ref": "#/$defs/DistroK8s",
"description": "EKS holds eks relevant configuration."
},
"k0s": {
"$ref": "#/$defs/DistroK0s",
"description": "K0S holds k0s relevant configuration."
},
"k3s": {
"$ref": "#/$defs/DistroK3s",
"description": "K3S holds K3s relevant configuration."
},
"k8s": {
"$ref": "#/$defs/DistroK8s",
"description": "K8S holds K8s relevant configuration."
}
},
"type": "object"
},
"DistroContainer": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroContainerEnabled": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled signals this container should be enabled.",
"type": "boolean"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
}
},
"type": "object"
},
"DistroK0s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config allows you to override the k0s config passed to the k0s binary.",
"type": "string"
},
"enabled": {
"description": "Enabled specifies if the k0s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"DistroK3s": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Command is the command to start the distro binary. This will override the existing command.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled specifies if the K3s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are additional arguments to pass to the distro binary.",
"items": {
"type": "string"
},
"type": "array"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the distro image"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the distro image",
"type": "string"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
},
"token": {
"description": "Token is the K3s token to use. If empty, vCluster will choose one.",
"type": "string"
}
},
"type": "object"
},
"DistroK8s": {
"additionalProperties": false,
"properties": {
"apiServer": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "APIServer holds configuration specific to starting the api server."
},
"controllerManager": {
"$ref": "#/$defs/DistroContainerEnabled",
"description": "ControllerManager holds configuration specific to starting the controller manager."
},
"enabled": {
"description": "Enabled specifies if the K8s distro should be enabled. Only one distro can be enabled at the same time.",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables to use for the main container and NOT the init container.",
"items": {
"type": "object"
},
"type": "array"
},
"resources": {
"description": "Resources for the distro init container",
"type": "object"
},
"scheduler": {
"$ref": "#/$defs/DistroContainer",
"description": "Scheduler holds configuration specific to starting the scheduler. Enable this via controlPlane.advanced.virtualScheduler.enabled"
},
"securityContext": {
"description": "Security options can be used for the distro init container",
"type": "object"
}
},
"type": "object"
},
"EnableAutoSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
}
},
"type": "object"
},
"EnableSwitch": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"Etcd": {
"additionalProperties": false,
"properties": {
"deploy": {
"$ref": "#/$defs/EtcdDeploy",
"description": "Deploy defines to use an external etcd that is deployed by the helm chart"
},
"embedded": {
"$ref": "#/$defs/EtcdEmbedded",
"description": "Embedded defines to use embedded etcd as a storage backend for the virtual cluster",
"pro": true
}
},
"type": "object"
},
"EtcdDeploy": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines that an external etcd should be deployed.",
"type": "boolean"
},
"headlessService": {
"$ref": "#/$defs/EtcdDeployHeadlessService",
"description": "HeadlessService holds options for the external etcd headless service."
},
"service": {
"$ref": "#/$defs/EtcdDeployService",
"description": "Service holds options for the external etcd service."
},
"statefulSet": {
"$ref": "#/$defs/EtcdDeployStatefulSet",
"description": "StatefulSet holds options for the external etcd statefulSet."
}
},
"type": "object"
},
"EtcdDeployHeadlessService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd headless service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd headless service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployService": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for the external etcd service",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the etcd service should be deployed",
"type": "boolean"
}
},
"type": "object"
},
"EtcdDeployStatefulSet": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the statefulSet should be deployed",
"type": "boolean"
},
"env": {
"description": "Env are extra environment variables",
"items": {
"type": "object"
},
"type": "array"
},
"extraArgs": {
"description": "ExtraArgs are appended to the etcd command.",
"items": {
"type": "string"
},
"type": "array"
},
"highAvailability": {
"$ref": "#/$defs/ExternalEtcdHighAvailability",
"description": "HighAvailability are high availability options"
},
"image": {
"$ref": "#/$defs/Image",
"description": "Image is the image to use for the external etcd statefulSet"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy for the external etcd image",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"persistence": {
"$ref": "#/$defs/ExternalEtcdPersistence",
"description": "Persistence options for the etcd pods."
},
"pods": {
"$ref": "#/$defs/LabelsAndAnnotations",
"description": "Pods defines extra metadata for the etcd pods."
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources the etcd can consume"
},
"scheduling": {
"$ref": "#/$defs/ControlPlaneScheduling",
"description": "Scheduling options for the etcd pods."
},
"security": {
"$ref": "#/$defs/ControlPlaneSecurity",
"description": "Security options for the etcd pods."
}
},
"type": "object"
},
"EtcdEmbedded": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the embedded etcd should be used.",
"pro": true,
"type": "boolean"
},
"migrateFromDeployedEtcd": {
"description": "MigrateFromDeployedEtcd signals that vCluster should migrate from the deployed external etcd to embedded etcd.",
"type": "boolean"
}
},
"type": "object"
},
"Experimental": {
"additionalProperties": false,
"properties": {
"denyProxyRequests": {
"description": "DenyProxyRequests denies certain requests in the vCluster proxy.",
"items": {
"$ref": "#/$defs/DenyRule"
},
"pro": true,
"type": "array"
},
"deploy": {
"$ref": "#/$defs/ExperimentalDeploy",
"description": "Deploy allows you to configure manifests and Helm charts to deploy within the virtual cluster."
},
"genericSync": {
"$ref": "#/$defs/ExperimentalGenericSync",
"description": "GenericSync holds options to generically sync resources from virtual cluster to host."
},
"isolatedControlPlane": {
"$ref": "#/$defs/ExperimentalIsolatedControlPlane",
"description": "IsolatedControlPlane is a feature to run the vCluster control plane in a different Kubernetes cluster than the workloads themselves.",
"pro": true
},
"multiNamespaceMode": {
"$ref": "#/$defs/ExperimentalMultiNamespaceMode",
"description": "MultiNamespaceMode tells virtual cluster to sync to multiple namespaces instead of a single one. This will map each virtual cluster namespace to a single namespace in the host cluster."
},
"syncSettings": {
"$ref": "#/$defs/ExperimentalSyncSettings",
"description": "SyncSettings are advanced settings for the syncer controller."
},
"virtualClusterKubeConfig": {
"$ref": "#/$defs/VirtualClusterKubeConfig",
"description": "VirtualClusterKubeConfig allows you to override distro specifics and specify where vCluster will find the required certificates and vCluster config."
}
},
"type": "object"
},
"ExperimentalDeploy": {
"additionalProperties": false,
"properties": {
"helm": {
"description": "Helm are Helm charts that should get deployed into the virtual cluster",
"items": {
"$ref": "#/$defs/ExperimentalDeployHelm"
},
"type": "array"
},
"manifests": {
"description": "Manifests are raw Kubernetes manifests that should get applied within the virtual cluster.",
"type": "string"
},
"manifestsTemplate": {
"description": "ManifestsTemplate is a Kubernetes manifest template that will be rendered with vCluster values before applying it within the virtual cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelm": {
"additionalProperties": false,
"properties": {
"bundle": {
"description": "Bundle allows to compress the Helm chart and specify this instead of an online chart",
"type": "string"
},
"chart": {
"$ref": "#/$defs/ExperimentalDeployHelmChart",
"description": "Chart defines what chart should get deployed."
},
"release": {
"$ref": "#/$defs/ExperimentalDeployHelmRelease",
"description": "Release defines what release should get deployed."
},
"timeout": {
"description": "Timeout defines the timeout for Helm",
"type": "string"
},
"values": {
"description": "Values defines what values should get used.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmChart": {
"additionalProperties": false,
"properties": {
"insecure": {
"type": "boolean"
},
"name": {
"type": "string"
},
"password": {
"type": "string"
},
"repo": {
"type": "string"
},
"username": {
"type": "string"
},
"version": {
"type": "string"
}
},
"type": "object"
},
"ExperimentalDeployHelmRelease": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the release",
"type": "string"
},
"namespace": {
"description": "Namespace of the release",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSync": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"export": {
"description": "Exports syncs a resource from the virtual cluster to the host",
"items": {
"$ref": "#/$defs/Export"
},
"type": "array"
},
"hooks": {
"$ref": "#/$defs/Hooks",
"description": "Hooks are hooks that can be used to inject custom patches before syncing"
},
"import": {
"description": "Imports syncs a resource from the host cluster to virtual cluster",
"items": {
"$ref": "#/$defs/Import"
},
"type": "array"
},
"role": {
"$ref": "#/$defs/ExperimentalGenericSyncExtraRules"
},
"version": {
"description": "Version is the config version",
"type": "string"
}
},
"type": "object"
},
"ExperimentalGenericSyncExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"items": true,
"type": "array"
}
},
"type": "object"
},
"ExperimentalIsolatedControlPlane": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if the isolated control plane feature should be enabled.",
"type": "boolean"
},
"headless": {
"description": "Headless states that Helm should deploy the vCluster in headless mode for the isolated control plane.",
"type": "boolean"
},
"kubeConfig": {
"description": "KubeConfig is the path where to find the remote workload cluster kubeconfig.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace where to sync the workloads into.",
"type": "string"
},
"service": {
"description": "Service is the vCluster service in the remote cluster.",
"type": "string"
}
},
"type": "object"
},
"ExperimentalMultiNamespaceMode": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if multi namespace mode should get enabled",
"type": "boolean"
},
"namespaceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "NamespaceLabels are extra labels that will be added by vCluster to each created namespace.",
"type": "object"
}
},
"type": "object"
},
"ExperimentalSyncSettings": {
"additionalProperties": false,
"properties": {
"disableSync": {
"description": "DisableSync will not sync any resources and disable most control plane functionality.",
"pro": true,
"type": "boolean"
},
"hostMetricsBindAddress": {
"description": "HostMetricsBindAddress is the bind address for the local manager",
"type": "string"
},
"rewriteKubernetesService": {
"description": "RewriteKubernetesService will rewrite the Kubernetes service to point to the vCluster service if disableSync is enabled",
"pro": true,
"type": "boolean"
},
"setOwner": {
"description": "SetOwner specifies if vCluster should set an owner reference on the synced objects to the vCluster service. This allows for easy garbage collection.",
"type": "boolean"
},
"syncLabels": {
"description": "SyncLabels are labels that should get not rewritten when syncing from the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"targetNamespace": {
"description": "TargetNamespace is the namespace where the workloads should get synced to.",
"type": "string"
},
"virtualMetricsBindAddress": {
"description": "VirtualMetricsBindAddress is the bind address for the virtual manager",
"type": "string"
}
},
"type": "object"
},
"Export": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"selector": {
"$ref": "#/$defs/Selector",
"description": "Selector is a label selector to select the synced objects in the virtual cluster.\nIf empty, all objects will be synced."
}
},
"type": "object"
},
"ExportKubeConfig": {
"additionalProperties": false,
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeconfig.",
"properties": {
"context": {
"description": "Context is the name of the context within the generated kubeconfig to use.",
"type": "string"
},
"secret": {
"$ref": "#/$defs/ExportKubeConfigSecretReference",
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.\nIf this is not defined, vCluster create it with `vc-NAME`. If you specify another name,\nvCluster creates the config in this other secret."
},
"server": {
"description": "Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.",
"type": "string"
}
},
"type": "object"
},
"ExportKubeConfigSecretReference": {
"additionalProperties": false,
"description": "Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.",
"properties": {
"name": {
"description": "Name is the name of the secret where the kubeconfig should get stored.",
"type": "string"
},
"namespace": {
"description": "Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace\nwhere you deployed vCluster, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"ExternalEtcdHighAvailability": {
"additionalProperties": false,
"properties": {
"replicas": {
"description": "Replicas are the amount of pods to use.",
"type": "integer"
}
},
"type": "object"
},
"ExternalEtcdPersistence": {
"additionalProperties": false,
"properties": {
"addVolumeMounts": {
"description": "AddVolumeMounts defines extra volume mounts for the container",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"addVolumes": {
"description": "AddVolumes defines extra volumes for the pod",
"items": {
"type": "object"
},
"type": "array"
},
"volumeClaim": {
"$ref": "#/$defs/ExternalEtcdPersistenceVolumeClaim",
"description": "VolumeClaim can be used to configure the persistent volume claim."
},
"volumeClaimTemplates": {
"description": "VolumeClaimTemplates defines the volumeClaimTemplates for the statefulSet",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ExternalEtcdPersistenceVolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim.",
"type": "boolean"
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"Hook": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"patches": {
"description": "Patches are the patches to apply on the object to be synced",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"verbs": {
"description": "Verbs are the verbs that the hook should mutate",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Hooks": {
"additionalProperties": false,
"properties": {
"hostToVirtual": {
"description": "HostToVirtual is a hook that is executed before syncing from the host to the virtual cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
},
"virtualToHost": {
"description": "VirtualToHost is a hook that is executed before syncing from the virtual to the host cluster",
"items": {
"$ref": "#/$defs/Hook"
},
"type": "array"
}
},
"type": "object"
},
"HostPathMapper": {
"additionalProperties": false,
"properties": {
"central": {
"description": "Central specifies if the central host path mapper will be used",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if the host path mapper will be used",
"type": "boolean"
}
},
"type": "object"
},
"IPBlock": {
"additionalProperties": false,
"properties": {
"cidr": {
"description": "cidr is a string representing the IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
},
"except": {
"description": "except is a slice of CIDRs that should not be included within an IPBlock\nValid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"\nExcept values will be rejected if they are outside the cidr range\n+optional",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Image": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Repository is the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"ImagePullSecretName": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name of the image pull secret to use.",
"type": "string"
}
},
"type": "object"
},
"Import": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion of the object to sync",
"type": "string"
},
"kind": {
"description": "Kind of the object to sync",
"type": "string"
},
"optional": {
"type": "boolean"
},
"patches": {
"description": "Patches are the patches to apply on the virtual cluster objects\nwhen syncing them from the host cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
},
"replaceOnConflict": {
"description": "ReplaceWhenInvalid determines if the controller should try to recreate the object\nif there is a problem applying",
"type": "boolean"
},
"reversePatches": {
"description": "ReversePatches are the patches to apply to host cluster objects\nafter it has been synced to the virtual cluster",
"items": {
"$ref": "#/$defs/Patch"
},
"type": "array"
}
},
"type": "object"
},
"LabelsAndAnnotations": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"LimitRange": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"default": {
"description": "Default are the default limits for the limit range",
"type": "object"
},
"defaultRequest": {
"description": "DefaultRequest are the default request options for the limit range",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the limit range should be deployed by vCluster.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
}
},
"type": "object"
},
"MetricsProxy": {
"additionalProperties": false,
"properties": {
"nodes": {
"description": "Nodes defines if metrics-server nodes api should get proxied from host to virtual cluster.",
"type": "boolean"
},
"pods": {
"description": "Pods defines if metrics-server pods api should get proxied from host to virtual cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MutatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"reinvocationPolicy": {
"description": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.\nAllowed values are \"Never\" and \"IfNeeded\".",
"type": "string"
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"MutatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/MutatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"NetworkPolicy": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the network policy should be deployed by vCluster.",
"type": "boolean"
},
"fallbackDns": {
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"outgoingConnections": {
"$ref": "#/$defs/OutgoingConnections"
}
},
"type": "object"
},
"NetworkProxyKubelets": {
"additionalProperties": false,
"properties": {
"byHostname": {
"description": "ByHostname will add a special vCluster hostname to the nodes where the node can be reached at. This doesn't work\nfor all applications, e.g. Prometheus requires a node IP.",
"type": "boolean"
},
"byIP": {
"description": "ByIP will create a separate service in the host cluster for every node that will point to virtual cluster and will be used to\nroute traffic.",
"type": "boolean"
}
},
"type": "object"
},
"Networking": {
"additionalProperties": false,
"properties": {
"advanced": {
"$ref": "#/$defs/NetworkingAdvanced",
"description": "Advanced holds advanced network options."
},
"replicateServices": {
"$ref": "#/$defs/ReplicateServices",
"description": "ReplicateServices allows replicating services from the host within the virtual cluster or the other way around."
},
"resolveDNS": {
"description": "ResolveDNS allows to define extra DNS rules. This only works if embedded coredns is configured.",
"items": {
"$ref": "#/$defs/ResolveDNS"
},
"pro": true,
"type": "array"
}
},
"type": "object"
},
"NetworkingAdvanced": {
"additionalProperties": false,
"properties": {
"clusterDomain": {
"description": "ClusterDomain is the Kubernetes cluster domain to use within the virtual cluster.",
"type": "string"
},
"fallbackHostCluster": {
"description": "FallbackHostCluster allows to fallback dns to the host cluster. This is useful if you want to reach host services without\nany other modification. You will need to provide a namespace for the service, e.g. my-other-service.my-other-namespace",
"type": "boolean"
},
"proxyKubelets": {
"$ref": "#/$defs/NetworkProxyKubelets",
"description": "ProxyKubelets allows rewriting certain metrics and stats from the Kubelet to \"fake\" this for applications such as\nprometheus or other node exporters."
}
},
"type": "object"
},
"ObjectMeta": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata.",
"type": "object"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.",
"type": "object"
},
"name": {
"description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.",
"type": "string"
}
},
"type": "object"
},
"Observability": {
"additionalProperties": false,
"properties": {
"metrics": {
"$ref": "#/$defs/ObservabilityMetrics",
"description": "Metrics allows to proxy metrics server apis from host to virtual cluster."
}
},
"type": "object"
},
"ObservabilityMetrics": {
"additionalProperties": false,
"properties": {
"proxy": {
"$ref": "#/$defs/MetricsProxy",
"description": "Proxy holds the configuration what metrics-server apis should get proxied."
}
},
"type": "object"
},
"OutgoingConnections": {
"additionalProperties": false,
"properties": {
"ipBlock": {
"$ref": "#/$defs/IPBlock",
"description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed\nto the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs\nthat should not be included within this rule."
}
},
"type": "object"
},
"Patch": {
"additionalProperties": false,
"properties": {
"conditions": {
"description": "Conditions are conditions that must be true for\nthe patch to get executed",
"items": {
"$ref": "#/$defs/PatchCondition"
},
"type": "array"
},
"fromPath": {
"description": "FromPath is the path from the other object",
"type": "string"
},
"ignore": {
"description": "Ignore determines if the path should be ignored if handled as a reverse patch",
"type": "boolean"
},
"namePath": {
"description": "NamePath is the path to the name of a child resource within Path",
"type": "string"
},
"namespacePath": {
"description": "NamespacePath is path to the namespace of a child resource within Path",
"type": "string"
},
"op": {
"description": "Operation is the type of the patch",
"type": "string"
},
"path": {
"description": "Path is the path of the patch",
"type": "string"
},
"regex": {
"description": "Regex - is regular expresion used to identify the Name,\nand optionally Namespace, parts of the field value that\nwill be replaced with the rewritten Name and/or Namespace",
"type": "string"
},
"sync": {
"$ref": "#/$defs/PatchSync",
"description": "Sync defines if a specialized syncer should be initialized using values\nfrom the rewriteName operation as Secret/Configmap names to be synced"
},
"value": {
"description": "Value is the new value to be set to the path"
}
},
"type": "object"
},
"PatchCondition": {
"additionalProperties": false,
"properties": {
"empty": {
"description": "Empty means that the path value should be empty or unset",
"type": "boolean"
},
"equal": {
"description": "Equal is the value the path should be equal to"
},
"notEqual": {
"description": "NotEqual is the value the path should not be equal to"
},
"path": {
"description": "Path is the path within the object to select",
"type": "string"
},
"subPath": {
"description": "SubPath is the path below the selected object to select",
"type": "string"
}
},
"type": "object"
},
"PatchSync": {
"additionalProperties": false,
"properties": {
"configmap": {
"type": "boolean"
},
"secret": {
"type": "boolean"
}
},
"type": "object"
},
"Platform": {
"additionalProperties": false,
"properties": {
"api": {
"$ref": "#/$defs/PlatformAPI",
"description": "API defines how vCluster can contact the platform api."
},
"name": {
"description": "Name is the name of the vCluster instance in the vCluster platform",
"type": "string"
},
"owner": {
"$ref": "#/$defs/PlatformOwner",
"description": "Owner is the desired owner of the vCluster instance within the vCluster platform. If empty will take the current user."
},
"project": {
"description": "Project is the project within the platform where the vCluster instance should connect.",
"type": "string"
}
},
"type": "object"
},
"PlatformAPI": {
"additionalProperties": false,
"properties": {
"accessKey": {
"description": "AccessKey specifies the access key as a regular text value.",
"type": "string"
},
"host": {
"description": "Host specifies the platform host to use.",
"type": "string"
},
"insecure": {
"description": "Insecure specifies if the host uses a self-signed certificate.",
"type": "boolean"
},
"secretRef": {
"$ref": "#/$defs/PlatformAccessKeySecretReference",
"description": "SecretRef defines where to find the platform access key and host. By default, vCluster will search in the following locations in this precedence:\n* platform.api.accessKey\n* environment variable called LICENSE\n* secret specified under platform.api.secretRef.name\n* secret called \"vcluster-platform-api-key\" in the vCluster namespace"
}
},
"type": "object"
},
"PlatformAccessKeySecretReference": {
"additionalProperties": false,
"description": "PlatformAccessKeySecretReference defines where to find the platform access key.",
"properties": {
"name": {
"description": "Name is the name of the secret where the platform access key is stored. This defaults to vcluster-platform-api-key if undefined.",
"type": "string"
},
"namespace": {
"description": "Namespace defines the namespace where the access key secret should be retrieved from. If this is not equal to the namespace\nwhere the vCluster instance is deployed, you need to make sure vCluster has access to this other namespace.",
"type": "string"
}
},
"type": "object"
},
"PlatformOwner": {
"additionalProperties": false,
"properties": {
"team": {
"description": "Team is the team id within the platform. This is mutually exclusive with user.",
"type": "string"
},
"user": {
"description": "User is the user id within the platform. This is mutually exclusive with team.",
"type": "string"
}
},
"type": "object"
},
"Plugin": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"env": {
"items": true,
"type": "array"
},
"envFrom": {
"items": true,
"type": "array"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"lifecycle": {
"type": "object"
},
"livenessProbe": {
"type": "object"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"optional": {
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"readinessProbe": {
"type": "object"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"startupProbe": {
"type": "object"
},
"version": {
"description": "Version is the plugin version, this is only needed for legacy plugins.",
"type": "string"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
},
"workingDir": {
"type": "string"
}
},
"type": "object"
},
"Plugins": {
"additionalProperties": false,
"properties": {
"args": {
"description": "Args are the arguments that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Command is the command that should be used for the init container",
"items": {
"type": "string"
},
"type": "array"
},
"config": {
"description": "Config is the plugin config to use. This can be arbitrary config used for the plugin.",
"type": "object"
},
"image": {
"description": "Image is the container image that should be used for the plugin",
"type": "string"
},
"imagePullPolicy": {
"description": "ImagePullPolicy is the pull policy to use for the container image",
"type": "string"
},
"name": {
"description": "Name is the name of the init-container and NOT the plugin name",
"type": "string"
},
"rbac": {
"$ref": "#/$defs/PluginsRBAC",
"description": "RBAC holds additional rbac configuration for the plugin"
},
"resources": {
"description": "Resources are the container resources used for the init container",
"type": "object"
},
"securityContext": {
"description": "SecurityContext is the container security context used for the init container",
"type": "object"
},
"volumeMounts": {
"description": "VolumeMounts are extra volume mounts for the init container",
"items": true,
"type": "array"
}
},
"type": "object"
},
"PluginsExtraRules": {
"additionalProperties": false,
"properties": {
"extraRules": {
"description": "ExtraRules are extra rbac permissions roles that will be added to role or cluster role",
"items": {
"$ref": "#/$defs/RBACPolicyRule"
},
"type": "array"
}
},
"type": "object"
},
"PluginsRBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "ClusterRole holds extra virtual cluster cluster role permissions required for the plugin"
},
"role": {
"$ref": "#/$defs/PluginsExtraRules",
"description": "Role holds extra virtual cluster role permissions for the plugin"
}
},
"type": "object"
},
"Policies": {
"additionalProperties": false,
"properties": {
"centralAdmission": {
"$ref": "#/$defs/CentralAdmission",
"description": "CentralAdmission defines what validating or mutating webhooks should be enforced within the virtual cluster.",
"pro": true
},
"limitRange": {
"$ref": "#/$defs/LimitRange",
"description": "LimitRange specifies limit range options."
},
"networkPolicy": {
"$ref": "#/$defs/NetworkPolicy",
"description": "NetworkPolicy specifies network policy options."
},
"podSecurityStandard": {
"description": "PodSecurityStandard that can be enforced can be one of: empty (\"\"), baseline, restricted or privileged",
"type": "string"
},
"resourceQuota": {
"$ref": "#/$defs/ResourceQuota",
"description": "ResourceQuota specifies resource quota options."
}
},
"type": "object"
},
"RBAC": {
"additionalProperties": false,
"properties": {
"clusterRole": {
"$ref": "#/$defs/RBACClusterRole",
"description": "ClusterRole holds virtual cluster cluster role configuration"
},
"role": {
"$ref": "#/$defs/RBACRole",
"description": "Role holds virtual cluster role configuration"
}
},
"type": "object"
},
"RBACClusterRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the cluster role should be enabled or disabled. If auto, vCluster automatically determines whether the virtual cluster requires a cluster role.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"extraRules": {
"description": "ExtraRules will add rules to the cluster role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the cluster role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"RBACPolicyRule": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of\nthe enumerated resources in any API group will be allowed. \"\" represents the core API group and \"*\" represents all API groups.",
"items": {
"type": "string"
},
"type": "array"
},
"nonResourceURLs": {
"description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path\nSince non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.\nRules can either apply to API resources (such as \"pods\" or \"secrets\") or non-resource URL paths (such as \"/api\"), but not both.",
"items": {
"type": "string"
},
"type": "array"
},
"resourceNames": {
"description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to. '*' represents all resources.",
"items": {
"type": "string"
},
"type": "array"
},
"verbs": {
"description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RBACRole": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if the role should be enabled or disabled.",
"type": "boolean"
},
"extraRules": {
"description": "ExtraRules will add rules to the role.",
"items": {
"type": "object"
},
"type": "array"
},
"overwriteRules": {
"description": "OverwriteRules will overwrite the role rules completely.",
"items": {
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"ReplicateServices": {
"additionalProperties": false,
"properties": {
"fromHost": {
"description": "FromHost defines the services that should get synced from the host to the virtual cluster.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
},
"toHost": {
"description": "ToHost defines the services that should get synced from virtual cluster to the host cluster. If services are\nsynced to a different namespace than the virtual cluster is in, additional permissions for the other namespace\nare required.",
"items": {
"$ref": "#/$defs/ServiceMapping"
},
"type": "array"
}
},
"type": "object"
},
"ResolveDNS": {
"additionalProperties": false,
"properties": {
"hostname": {
"description": "Hostname is the hostname within the vCluster that should be resolved from.",
"type": "string"
},
"namespace": {
"description": "Namespace is the virtual cluster namespace that should be resolved from.",
"type": "string"
},
"service": {
"description": "Service is the virtual cluster service that should be resolved from.",
"type": "string"
},
"target": {
"$ref": "#/$defs/ResolveDNSTarget",
"description": "Target is the DNS target that should get mapped to"
}
},
"type": "object"
},
"ResolveDNSTarget": {
"additionalProperties": false,
"properties": {
"hostNamespace": {
"description": "HostNamespace to target",
"type": "string"
},
"hostService": {
"description": "HostService to target, format is hostNamespace/hostService",
"type": "string"
},
"hostname": {
"description": "Hostname to use as a DNS target",
"type": "string"
},
"ip": {
"description": "IP to use as a DNS target",
"type": "string"
},
"vClusterService": {
"description": "VClusterService format is hostNamespace/vClusterName/vClusterNamespace/vClusterService",
"type": "string"
}
},
"type": "object"
},
"ResourceQuota": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are extra annotations for this resource.",
"type": "object"
},
"enabled": {
"description": "Enabled defines if the resource quota should be enabled.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are extra labels for this resource.",
"type": "object"
},
"quota": {
"description": "Quota are the quota options",
"type": "object"
},
"scopeSelector": {
"description": "ScopeSelector is the resource quota scope selector",
"type": "object"
},
"scopes": {
"description": "Scopes are the resource quota scopes",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Resources": {
"additionalProperties": false,
"properties": {
"limits": {
"description": "Limits are resource limits for the container",
"type": "object"
},
"requests": {
"description": "Requests are minimal resources that will be consumed by the container",
"type": "object"
}
},
"type": "object"
},
"RuleWithVerbs": {
"additionalProperties": false,
"properties": {
"apiGroups": {
"description": "APIGroups is the API groups the resources belong to. '*' is all groups.",
"items": {
"type": "string"
},
"type": "array"
},
"apiVersions": {
"description": "APIVersions is the API versions the resources belong to. '*' is all versions.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "Verb is the kube verb associated with the request for API requests, not the http verb. This includes things like list and watch.\nFor non-resource requests, this is the lowercase http verb.\nIf '*' is present, the length of the slice must be one.",
"items": {
"type": "string"
},
"type": "array"
},
"resources": {
"description": "Resources is a list of resources this rule applies to.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"description": "Scope specifies the scope of this rule.",
"type": "string"
}
},
"type": "object"
},
"Selector": {
"additionalProperties": false,
"properties": {
"labelSelector": {
"additionalProperties": {
"type": "string"
},
"description": "LabelSelector are the labels to select the object from",
"type": "object"
}
},
"type": "object"
},
"ServiceMapping": {
"additionalProperties": false,
"properties": {
"from": {
"description": "From is the service that should get synced. Can be either in the form name or namespace/name.",
"type": "string"
},
"to": {
"description": "To is the target service that it should get synced to. Can be either in the form name or namespace/name.",
"type": "string"
}
},
"type": "object"
},
"ServiceMonitor": {
"additionalProperties": false,
"properties": {
"annotations": {
"additionalProperties": {
"type": "string"
},
"description": "Annotations are the extra annotations to add to the service monitor.",
"type": "object"
},
"enabled": {
"description": "Enabled configures if Helm should create the service monitor.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the extra labels to add to the service monitor.",
"type": "object"
}
},
"type": "object"
},
"StatefulSetImage": {
"additionalProperties": false,
"properties": {
"repository": {
"description": "Configure the registry and repository of the container image, e.g. my-registry.com/my-repo/my-image.\nIt defaults to the vCluster pro repository that includes the optional pro modules that are turned off by default.\nIf you still want to use the pure OSS build, use 'ghcr.io/loft-sh/vcluster-oss' instead.",
"type": "string"
},
"tag": {
"description": "Tag is the tag of the container image, e.g. latest",
"type": "string"
}
},
"type": "object"
},
"Sync": {
"additionalProperties": false,
"properties": {
"fromHost": {
"$ref": "#/$defs/SyncFromHost",
"description": "Configure what resources vCluster should sync from the host cluster to the virtual cluster."
},
"toHost": {
"$ref": "#/$defs/SyncToHost",
"description": "Configure resources to sync from the virtual cluster to the host cluster."
}
},
"type": "object"
},
"SyncAllResource": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All defines if all resources of that type should get synced or only the necessary ones that are needed.",
"type": "boolean"
},
"enabled": {
"description": "Enabled defines if this option should be enabled.",
"type": "boolean"
}
},
"type": "object"
},
"SyncFromHost": {
"additionalProperties": false,
"properties": {
"csiDrivers": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIDrivers defines if csi drivers should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiNodes": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSINodes defines if csi nodes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"csiStorageCapacities": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "CSIStorageCapacities defines if csi storage capacities should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
},
"events": {
"$ref": "#/$defs/EnableSwitch",
"description": "Events defines if events should get synced from the host cluster to the virtual cluster, but not back."
},
"ingressClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "IngressClasses defines if ingress classes should get synced from the host cluster to the virtual cluster, but not back."
},
"nodes": {
"$ref": "#/$defs/SyncNodes",
"description": "Nodes defines if nodes should get synced from the host cluster to the virtual cluster, but not back."
},
"storageClasses": {
"$ref": "#/$defs/EnableAutoSwitch",
"description": "StorageClasses defines if storage classes should get synced from the host cluster to the virtual cluster, but not back. If auto, is automatically enabled when the virtual scheduler is enabled."
}
},
"type": "object"
},
"SyncNodeSelector": {
"additionalProperties": false,
"properties": {
"all": {
"description": "All specifies if all nodes should get synced by vCluster from the host to the virtual cluster or only the ones where pods are assigned to.",
"type": "boolean"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels are the node labels used to sync nodes from host cluster to virtual cluster. This will also set the node selector when syncing a pod from virtual cluster to host cluster to the same value.",
"type": "object"
}
},
"type": "object"
},
"SyncNodes": {
"additionalProperties": false,
"properties": {
"clearImageStatus": {
"description": "ClearImageStatus will erase the image status when syncing a node. This allows to hide images that are pulled by the node.",
"type": "boolean"
},
"enabled": {
"description": "Enabled specifies if syncing real nodes should be enabled. If this is disabled, vCluster will create fake nodes instead.",
"type": "boolean"
},
"selector": {
"$ref": "#/$defs/SyncNodeSelector",
"description": "Selector can be used to define more granular what nodes should get synced from the host cluster to the virtual cluster."
},
"syncBackChanges": {
"description": "SyncBackChanges enables syncing labels and taints from the virtual cluster to the host cluster. If this is enabled someone within the virtual cluster will be able to change the labels and taints of the host cluster node.",
"type": "boolean"
}
},
"type": "object"
},
"SyncPods": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled defines if pod syncing should be enabled.",
"type": "boolean"
},
"enforceTolerations": {
"description": "EnforceTolerations will add the specified tolerations to all pods synced by the virtual cluster.",
"items": {
"type": "string"
},
"type": "array"
},
"rewriteHosts": {
"$ref": "#/$defs/SyncRewriteHosts",
"description": "RewriteHosts is a special option needed to rewrite statefulset containers to allow the correct FQDN. virtual cluster will add\na small container to each stateful set pod that will initially rewrite the /etc/hosts file to match the FQDN expected by\nthe virtual cluster."
},
"translateImage": {
"additionalProperties": {
"type": "string"
},
"description": "TranslateImage maps an image to another image that should be used instead. For example this can be used to rewrite\na certain image that is used within the virtual cluster to be another image on the host cluster",
"type": "object"
},
"useSecretsForSATokens": {
"description": "UseSecretsForSATokens will use secrets to save the generated service account tokens by virtual cluster instead of using a\npod annotation.",
"type": "boolean"
}
},
"type": "object"
},
"SyncRewriteHosts": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies if rewriting stateful set pods should be enabled.",
"type": "boolean"
},
"initContainer": {
"$ref": "#/$defs/SyncRewriteHostsInitContainer",
"description": "InitContainer holds extra options for the init container used by vCluster to rewrite the FQDN for stateful set pods."
}
},
"type": "object"
},
"SyncRewriteHostsInitContainer": {
"additionalProperties": false,
"properties": {
"image": {
"description": "Image is the image virtual cluster should use to rewrite this FQDN.",
"type": "string"
},
"resources": {
"$ref": "#/$defs/Resources",
"description": "Resources are the resources that should be assigned to the init container for each stateful set init container."
}
},
"type": "object"
},
"SyncToHost": {
"additionalProperties": false,
"properties": {
"configMaps": {
"$ref": "#/$defs/SyncAllResource",
"description": "ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster."
},
"endpoints": {
"$ref": "#/$defs/EnableSwitch",
"description": "Endpoints defines if endpoints created within the virtual cluster should get synced to the host cluster."
},
"ingresses": {
"$ref": "#/$defs/EnableSwitch",
"description": "Ingresses defines if ingresses created within the virtual cluster should get synced to the host cluster."
},
"networkPolicies": {
"$ref": "#/$defs/EnableSwitch",
"description": "NetworkPolicies defines if network policies created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumeClaims": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumeClaims defines if persistent volume claims created within the virtual cluster should get synced to the host cluster."
},
"persistentVolumes": {
"$ref": "#/$defs/EnableSwitch",
"description": "PersistentVolumes defines if persistent volumes created within the virtual cluster should get synced to the host cluster."
},
"podDisruptionBudgets": {
"$ref": "#/$defs/EnableSwitch",
"description": "PodDisruptionBudgets defines if pod disruption budgets created within the virtual cluster should get synced to the host cluster."
},
"pods": {
"$ref": "#/$defs/SyncPods",
"description": "Pods defines if pods created within the virtual cluster should get synced to the host cluster."
},
"priorityClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "PriorityClasses defines if priority classes created within the virtual cluster should get synced to the host cluster."
},
"secrets": {
"$ref": "#/$defs/SyncAllResource",
"description": "Secrets defines if secrets created within the virtual cluster should get synced to the host cluster."
},
"serviceAccounts": {
"$ref": "#/$defs/EnableSwitch",
"description": "ServiceAccounts defines if service accounts created within the virtual cluster should get synced to the host cluster."
},
"services": {
"$ref": "#/$defs/EnableSwitch",
"description": "Services defines if services created within the virtual cluster should get synced to the host cluster."
},
"storageClasses": {
"$ref": "#/$defs/EnableSwitch",
"description": "StorageClasses defines if storage classes created within the virtual cluster should get synced to the host cluster."
},
"volumeSnapshots": {
"$ref": "#/$defs/EnableSwitch",
"description": "VolumeSnapshots defines if volume snapshots created within the virtual cluster should get synced to the host cluster."
}
},
"type": "object"
},
"Telemetry": {
"additionalProperties": false,
"properties": {
"enabled": {
"description": "Enabled specifies that the telemetry for the vCluster control plane should be enabled.",
"type": "boolean"
},
"instanceCreator": {
"type": "string"
},
"machineID": {
"type": "string"
},
"platformInstanceID": {
"type": "string"
},
"platformUserID": {
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhook": {
"additionalProperties": false,
"properties": {
"admissionReviewVersions": {
"description": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview`\nversions the Webhook expects.",
"items": {
"type": "string"
},
"type": "array"
},
"clientConfig": {
"$ref": "#/$defs/ValidatingWebhookClientConfig",
"description": "ClientConfig defines how to communicate with the hook."
},
"failurePolicy": {
"description": "FailurePolicy defines how unrecognized errors from the admission endpoint are handled -\nallowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
"description": "MatchConditions is a list of conditions that must be met for a request to be sent to this\nwebhook. Match conditions filter requests that have already been matched by the rules,\nnamespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.\nThere are a maximum of 64 match conditions allowed.",
"items": true,
"type": "array"
},
"matchPolicy": {
"description": "matchPolicy defines how the \"rules\" list is used to match incoming requests.\nAllowed values are \"Exact\" or \"Equivalent\".",
"type": "string"
},
"name": {
"description": "The name of the admission webhook.\nName should be fully qualified, e.g., imagepolicy.kubernetes.io, where\n\"imagepolicy\" is the name of the webhook, and kubernetes.io is the name\nof the organization.",
"type": "string"
},
"namespaceSelector": {
"description": "NamespaceSelector decides whether to run the webhook on an object based\non whether the namespace for that object matches the selector. If the\nobject itself is a namespace, the matching is performed on\nobject.metadata.labels. If the object is another cluster scoped resource,\nit never skips the webhook."
},
"objectSelector": {
"description": "ObjectSelector decides whether to run the webhook based on if the\nobject has matching labels. objectSelector is evaluated against both\nthe oldObject and newObject that would be sent to the webhook, and\nis considered to match if either object matches the selector."
},
"rules": {
"description": "Rules describes what operations on what resources/subresources the webhook cares about.\nThe webhook cares about an operation if it matches _any_ Rule.",
"items": true,
"type": "array"
},
"sideEffects": {
"description": "SideEffects states whether this webhook has side effects.",
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds specifies the timeout for this webhook.",
"type": "integer"
}
},
"type": "object"
},
"ValidatingWebhookClientConfig": {
"additionalProperties": false,
"description": "ValidatingWebhookClientConfig contains the information to make a TLS connection with the webhook",
"properties": {
"caBundle": {
"contentEncoding": "base64",
"description": "CABundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate.\nIf unspecified, system trust roots on the apiserver are used.",
"type": "string"
},
"service": {
"$ref": "#/$defs/ValidatingWebhookServiceReference",
"description": "Service is a reference to the service for this webhook. Either\n`service` or `url` must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
"url": {
"description": "URL gives the location of the webhook, in standard URL form\n(`scheme://host:port/path`). Exactly one of `url` or `service`\nmust be specified.",
"type": "string"
}
},
"type": "object"
},
"ValidatingWebhookConfiguration": {
"additionalProperties": false,
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.",
"type": "string"
},
"metadata": {
"$ref": "#/$defs/ObjectMeta",
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"webhooks": {
"description": "Webhooks is a list of webhooks and the affected resources and operations.",
"items": {
"$ref": "#/$defs/ValidatingWebhook"
},
"type": "array"
}
},
"type": "object"
},
"ValidatingWebhookServiceReference": {
"additionalProperties": false,
"properties": {
"name": {
"description": "Name is the name of the service.",
"type": "string"
},
"namespace": {
"description": "Namespace is the namespace of the service.",
"type": "string"
},
"path": {
"description": "Path is an optional URL path which will be sent in any request to\nthis service.",
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook.\nDefault to 443 for backward compatibility.\n`port` should be a valid port number (1-65535, inclusive).",
"type": "integer"
}
},
"type": "object"
},
"VirtualClusterKubeConfig": {
"additionalProperties": false,
"properties": {
"clientCACert": {
"description": "ServerCAKey is the client ca cert path.",
"type": "string"
},
"kubeConfig": {
"description": "KubeConfig is the virtual cluster kubeconfig path.",
"type": "string"
},
"requestHeaderCACert": {
"description": "RequestHeaderCACert is the request header ca cert path.",
"type": "string"
},
"serverCACert": {
"description": "ServerCAKey is the server ca cert path.",
"type": "string"
},
"serverCAKey": {
"description": "ServerCAKey is the server ca key path.",
"type": "string"
}
},
"type": "object"
},
"VolumeClaim": {
"additionalProperties": false,
"properties": {
"accessModes": {
"description": "AccessModes are the persistent volume claim access modes.",
"items": {
"type": "string"
},
"type": "array"
},
"enabled": {
"description": "Enabled enables deploying a persistent volume claim. If auto, vCluster will automatically determine\nbased on the chosen distro and other options if this is required.",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
}
]
},
"retentionPolicy": {
"description": "RetentionPolicy is the persistent volume claim retention policy.",
"type": "string"
},
"size": {
"description": "Size is the persistent volume claim storage size.",
"type": "string"
},
"storageClass": {
"description": "StorageClass is the persistent volume claim storage class.",
"type": "string"
}
},
"type": "object"
},
"VolumeMount": {
"additionalProperties": false,
"description": "VolumeMount describes a mounting of a Volume within a container.",
"properties": {
"mountPath": {
"description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'.",
"type": "string"
},
"mountPropagation": {
"description": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.",
"type": "string"
},
"name": {
"description": "This must match the Name of a Volume.",
"type": "string"
},
"readOnly": {
"description": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.",
"type": "boolean"
},
"subPath": {
"description": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).",
"type": "string"
},
"subPathExpr": {
"description": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.",
"type": "string"
}
},
"type": "object"
}
},
"$id": "https://vcluster.com/schemas/config",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Config is the vCluster config.",
"properties": {
"controlPlane": {
"$ref": "#/$defs/ControlPlane",
"description": "Configure vCluster's control plane components and deployment."
},
"experimental": {
"$ref": "#/$defs/Experimental",
"description": "Experimental features for vCluster. Configuration here might change, so be careful with this."
},
"exportKubeConfig": {
"$ref": "#/$defs/ExportKubeConfig",
"description": "ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file."
},
"global": {
"description": "Global values shared across all (sub)charts"
},
"networking": {
"$ref": "#/$defs/Networking",
"description": "Networking options related to the virtual cluster."
},
"observability": {
"$ref": "#/$defs/Observability",
"description": "Observability holds options to proxy metrics from the host cluster into the virtual cluster."
},
"platform": {
"$ref": "#/$defs/Platform",
"description": "Platform holds options for connecting to vCluster Platform."
},
"plugin": {
"additionalProperties": {
"$ref": "#/$defs/Plugin"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Plugin specifies which vCluster plugins to enable. Use \"plugins\" instead. Do not use this option anymore."
},
"plugins": {
"additionalProperties": {
"$ref": "#/$defs/Plugins"
},
"anyOf": [
{
"patternProperties": {
".*": {
"type": "string"
}
},
"type": "object"
},
{
"type": "object"
},
{
"type": "object"
}
],
"description": "Define which vCluster plugins to load."
},
"policies": {
"$ref": "#/$defs/Policies",
"description": "Policies to enforce for the virtual cluster deployment as well as within the virtual cluster."
},
"pro": {
"description": "Specifies whether to use vCluster Pro. This is automatically inferred in newer versions. Do not use that option anymore.",
"type": "boolean"
},
"rbac": {
"$ref": "#/$defs/RBAC",
"description": "RBAC options for the virtual cluster."
},
"serviceCIDR": {
"description": "ServiceCIDR holds the service cidr for the virtual cluster. Do not use this option anymore.",
"type": "string"
},
"sync": {
"$ref": "#/$defs/Sync",
"description": "Sync describes how to sync resources from the virtual cluster to host cluster and back."
},
"telemetry": {
"$ref": "#/$defs/Telemetry",
"description": "Configuration related to telemetry gathered about vCluster usage."
}
},
"type": "object"
} | Apache-2.0 | en |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.