Skip to content

Commit 14652b0

Browse files
author
Yann Hamon
committed
Adding new schemas
1 parent bfcb7aa commit 14652b0

File tree

12,880 files changed

+5326486
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,880 files changed

+5326486
-0
lines changed

master-local/_definitions.json

+39
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,20 @@
13661366
}
13671367
]
13681368
},
1369+
"io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy": {
1370+
"description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.",
1371+
"properties": {
1372+
"whenDeleted": {
1373+
"description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
1374+
"type": "string"
1375+
},
1376+
"whenScaled": {
1377+
"description": "WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.",
1378+
"type": "string"
1379+
}
1380+
},
1381+
"type": "object"
1382+
},
13691383
"io.k8s.api.apps.v1.StatefulSetSpec": {
13701384
"description": "A StatefulSetSpec is the specification of a StatefulSet.",
13711385
"properties": {
@@ -1374,6 +1388,10 @@
13741388
"format": "int32",
13751389
"type": "integer"
13761390
},
1391+
"persistentVolumeClaimRetentionPolicy": {
1392+
"$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy",
1393+
"description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional"
1394+
},
13771395
"podManagementPolicy": {
13781396
"description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.\n\nPossible enum values:\n - `\"OrderedReady\"` will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated. At most one pod will be changed at any time.\n - `\"Parallel\"` will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.",
13791397
"enum": [
@@ -6688,6 +6706,23 @@
66886706
],
66896707
"type": "object"
66906708
},
6709+
"io.k8s.api.core.v1.GRPCAction": {
6710+
"properties": {
6711+
"port": {
6712+
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
6713+
"format": "int32",
6714+
"type": "integer"
6715+
},
6716+
"service": {
6717+
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
6718+
"type": "string"
6719+
}
6720+
},
6721+
"required": [
6722+
"port"
6723+
],
6724+
"type": "object"
6725+
},
66916726
"io.k8s.api.core.v1.GitRepoVolumeSource": {
66926727
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
66936728
"properties": {
@@ -9171,6 +9206,10 @@
91719206
"format": "int32",
91729207
"type": "integer"
91739208
},
9209+
"gRPC": {
9210+
"$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction",
9211+
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate."
9212+
},
91749213
"httpGet": {
91759214
"$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction",
91769215
"description": "HTTPGet specifies the http request to perform."

master-local/all.json

+6
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
{
121121
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetList"
122122
},
123+
{
124+
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy"
125+
},
123126
{
124127
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetSpec"
125128
},
@@ -660,6 +663,9 @@
660663
{
661664
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"
662665
},
666+
{
667+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GRPCAction"
668+
},
663669
{
664670
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource"
665671
},

master-local/grpcaction-v1.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"properties": {
3+
"port": {
4+
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
5+
"format": "int32",
6+
"type": [
7+
"integer",
8+
"null"
9+
]
10+
},
11+
"service": {
12+
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
13+
"type": [
14+
"string",
15+
"null"
16+
]
17+
}
18+
},
19+
"required": [
20+
"port"
21+
],
22+
"type": "object",
23+
"$schema": "http://json-schema.org/schema#"
24+
}

master-local/grpcaction.json

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"properties": {
3+
"port": {
4+
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
5+
"format": "int32",
6+
"type": [
7+
"integer",
8+
"null"
9+
]
10+
},
11+
"service": {
12+
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
13+
"type": [
14+
"string",
15+
"null"
16+
]
17+
}
18+
},
19+
"required": [
20+
"port"
21+
],
22+
"type": "object",
23+
"$schema": "http://json-schema.org/schema#"
24+
}

master-local/probe-v1.json

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"null"
1414
]
1515
},
16+
"gRPC": {
17+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GRPCAction",
18+
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate."
19+
},
1620
"httpGet": {
1721
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.HTTPGetAction",
1822
"description": "HTTPGet specifies the http request to perform."

master-local/probe.json

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
"null"
1414
]
1515
},
16+
"gRPC": {
17+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GRPCAction",
18+
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate."
19+
},
1620
"httpGet": {
1721
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.HTTPGetAction",
1822
"description": "HTTPGet specifies the http request to perform."
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.",
3+
"properties": {
4+
"whenDeleted": {
5+
"description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
6+
"type": [
7+
"string",
8+
"null"
9+
]
10+
},
11+
"whenScaled": {
12+
"description": "WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.",
13+
"type": [
14+
"string",
15+
"null"
16+
]
17+
}
18+
},
19+
"type": "object",
20+
"$schema": "http://json-schema.org/schema#"
21+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.",
3+
"properties": {
4+
"whenDeleted": {
5+
"description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
6+
"type": [
7+
"string",
8+
"null"
9+
]
10+
},
11+
"whenScaled": {
12+
"description": "WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.",
13+
"type": [
14+
"string",
15+
"null"
16+
]
17+
}
18+
},
19+
"type": "object",
20+
"$schema": "http://json-schema.org/schema#"
21+
}

master-local/statefulsetspec-apps-v1.json

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"null"
1010
]
1111
},
12+
"persistentVolumeClaimRetentionPolicy": {
13+
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy",
14+
"description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional"
15+
},
1216
"podManagementPolicy": {
1317
"description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.\n\nPossible enum values:\n - `\"OrderedReady\"` will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated. At most one pod will be changed at any time.\n - `\"Parallel\"` will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.",
1418
"enum": [

master-local/statefulsetspec.json

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"null"
1010
]
1111
},
12+
"persistentVolumeClaimRetentionPolicy": {
13+
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy",
14+
"description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional"
15+
},
1216
"podManagementPolicy": {
1317
"description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.\n\nPossible enum values:\n - `\"OrderedReady\"` will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated. At most one pod will be changed at any time.\n - `\"Parallel\"` will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.",
1418
"enum": [

master-standalone-strict/_definitions.json

+41
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,21 @@
14051405
],
14061406
"additionalProperties": false
14071407
},
1408+
"io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy": {
1409+
"description": "StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.",
1410+
"properties": {
1411+
"whenDeleted": {
1412+
"description": "WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.",
1413+
"type": "string"
1414+
},
1415+
"whenScaled": {
1416+
"description": "WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.",
1417+
"type": "string"
1418+
}
1419+
},
1420+
"type": "object",
1421+
"additionalProperties": false
1422+
},
14081423
"io.k8s.api.apps.v1.StatefulSetSpec": {
14091424
"description": "A StatefulSetSpec is the specification of a StatefulSet.",
14101425
"properties": {
@@ -1413,6 +1428,10 @@
14131428
"format": "int32",
14141429
"type": "integer"
14151430
},
1431+
"persistentVolumeClaimRetentionPolicy": {
1432+
"$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy",
1433+
"description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional"
1434+
},
14161435
"podManagementPolicy": {
14171436
"description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.\n\nPossible enum values:\n - `\"OrderedReady\"` will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated. At most one pod will be changed at any time.\n - `\"Parallel\"` will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.",
14181437
"enum": [
@@ -6907,6 +6926,24 @@
69076926
"type": "object",
69086927
"additionalProperties": false
69096928
},
6929+
"io.k8s.api.core.v1.GRPCAction": {
6930+
"properties": {
6931+
"port": {
6932+
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
6933+
"format": "int32",
6934+
"type": "integer"
6935+
},
6936+
"service": {
6937+
"description": "Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).\n\nIf this is not specified, the default behavior is defined by gRPC.",
6938+
"type": "string"
6939+
}
6940+
},
6941+
"required": [
6942+
"port"
6943+
],
6944+
"type": "object",
6945+
"additionalProperties": false
6946+
},
69106947
"io.k8s.api.core.v1.GitRepoVolumeSource": {
69116948
"description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.",
69126949
"properties": {
@@ -9464,6 +9501,10 @@
94649501
"format": "int32",
94659502
"type": "integer"
94669503
},
9504+
"gRPC": {
9505+
"$ref": "#/definitions/io.k8s.api.core.v1.GRPCAction",
9506+
"description": "GRPC specifies an action involving a GRPC port. This is an alpha field and requires enabling GRPCContainerProbe feature gate."
9507+
},
94679508
"httpGet": {
94689509
"$ref": "#/definitions/io.k8s.api.core.v1.HTTPGetAction",
94699510
"description": "HTTPGet specifies the http request to perform."

master-standalone-strict/all.json

+6
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@
120120
{
121121
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetList"
122122
},
123+
{
124+
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetPersistentVolumeClaimRetentionPolicy"
125+
},
123126
{
124127
"$ref": "_definitions.json#/definitions/io.k8s.api.apps.v1.StatefulSetSpec"
125128
},
@@ -660,6 +663,9 @@
660663
{
661664
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GCEPersistentDiskVolumeSource"
662665
},
666+
{
667+
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GRPCAction"
668+
},
663669
{
664670
"$ref": "_definitions.json#/definitions/io.k8s.api.core.v1.GitRepoVolumeSource"
665671
},

0 commit comments

Comments
 (0)