mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 13:55:41 +00:00
Fix list_type_missing in api/apps
This commit is contained in:
parent
460df86f2a
commit
a3ea994fa2
@ -1,16 +1,3 @@
|
|||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1,DaemonSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1,DeploymentStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1,ReplicaSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1,StatefulSetSpec,VolumeClaimTemplates
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1,StatefulSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta1,DeploymentStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta1,StatefulSetSpec,VolumeClaimTemplates
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta1,StatefulSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,DaemonSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,DeploymentStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,ReplicaSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,StatefulSetSpec,VolumeClaimTemplates
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/apps/v1beta2,StatefulSetStatus,Conditions
|
|
||||||
API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenRequestSpec,Audiences
|
API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenRequestSpec,Audiences
|
||||||
API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenReviewSpec,Audiences
|
API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenReviewSpec,Audiences
|
||||||
API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenReviewStatus,Audiences
|
API rule violation: list_type_missing,k8s.io/api/authentication/v1,TokenReviewStatus,Audiences
|
||||||
|
19
api/openapi-spec/swagger.json
generated
19
api/openapi-spec/swagger.json
generated
@ -1740,6 +1740,10 @@
|
|||||||
"$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetCondition"
|
"$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSetCondition"
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
@ -1974,6 +1978,10 @@
|
|||||||
"$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentCondition"
|
"$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentCondition"
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
@ -2158,6 +2166,10 @@
|
|||||||
"$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetCondition"
|
"$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSetCondition"
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
@ -2404,7 +2416,8 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim"
|
"$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim"
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array",
|
||||||
|
"x-kubernetes-list-type": "atomic"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -2433,6 +2446,10 @@
|
|||||||
"$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetCondition"
|
"$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSetCondition"
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
|
@ -287,6 +287,10 @@
|
|||||||
"default": {}
|
"default": {}
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
@ -583,6 +587,10 @@
|
|||||||
"default": {}
|
"default": {}
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
@ -816,6 +824,10 @@
|
|||||||
"default": {}
|
"default": {}
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
@ -1143,7 +1155,8 @@
|
|||||||
],
|
],
|
||||||
"default": {}
|
"default": {}
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array",
|
||||||
|
"x-kubernetes-list-type": "atomic"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -1178,6 +1191,10 @@
|
|||||||
"default": {}
|
"default": {}
|
||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
"x-kubernetes-list-map-keys": [
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge"
|
"x-kubernetes-patch-strategy": "merge"
|
||||||
},
|
},
|
||||||
|
55
pkg/generated/openapi/zz_generated.openapi.go
generated
55
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -5389,6 +5389,10 @@ func schema_k8sio_api_apps_v1_DaemonSetStatus(ref common.ReferenceCallback) comm
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -5731,6 +5735,10 @@ func schema_k8sio_api_apps_v1_DeploymentStatus(ref common.ReferenceCallback) com
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -6034,6 +6042,10 @@ func schema_k8sio_api_apps_v1_ReplicaSetStatus(ref common.ReferenceCallback) com
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -6371,6 +6383,11 @@ func schema_k8sio_api_apps_v1_StatefulSetSpec(ref common.ReferenceCallback) comm
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"volumeClaimTemplates": {
|
"volumeClaimTemplates": {
|
||||||
|
VendorExtensible: spec.VendorExtensible{
|
||||||
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-type": "atomic",
|
||||||
|
},
|
||||||
|
},
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
|
Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
@ -6509,6 +6526,10 @@ func schema_k8sio_api_apps_v1_StatefulSetStatus(ref common.ReferenceCallback) co
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -7028,6 +7049,10 @@ func schema_k8sio_api_apps_v1beta1_DeploymentStatus(ref common.ReferenceCallback
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -7504,6 +7529,11 @@ func schema_k8sio_api_apps_v1beta1_StatefulSetSpec(ref common.ReferenceCallback)
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"volumeClaimTemplates": {
|
"volumeClaimTemplates": {
|
||||||
|
VendorExtensible: spec.VendorExtensible{
|
||||||
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-type": "atomic",
|
||||||
|
},
|
||||||
|
},
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
|
Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
@ -7641,6 +7671,10 @@ func schema_k8sio_api_apps_v1beta1_StatefulSetStatus(ref common.ReferenceCallbac
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -8085,6 +8119,10 @@ func schema_k8sio_api_apps_v1beta2_DaemonSetStatus(ref common.ReferenceCallback)
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -8426,6 +8464,10 @@ func schema_k8sio_api_apps_v1beta2_DeploymentStatus(ref common.ReferenceCallback
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -8728,6 +8770,10 @@ func schema_k8sio_api_apps_v1beta2_ReplicaSetStatus(ref common.ReferenceCallback
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
@ -9182,6 +9228,11 @@ func schema_k8sio_api_apps_v1beta2_StatefulSetSpec(ref common.ReferenceCallback)
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"volumeClaimTemplates": {
|
"volumeClaimTemplates": {
|
||||||
|
VendorExtensible: spec.VendorExtensible{
|
||||||
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-type": "atomic",
|
||||||
|
},
|
||||||
|
},
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
|
Description: "volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
@ -9319,6 +9370,10 @@ func schema_k8sio_api_apps_v1beta2_StatefulSetStatus(ref common.ReferenceCallbac
|
|||||||
"conditions": {
|
"conditions": {
|
||||||
VendorExtensible: spec.VendorExtensible{
|
VendorExtensible: spec.VendorExtensible{
|
||||||
Extensions: spec.Extensions{
|
Extensions: spec.Extensions{
|
||||||
|
"x-kubernetes-list-map-keys": []interface{}{
|
||||||
|
"type",
|
||||||
|
},
|
||||||
|
"x-kubernetes-list-type": "map",
|
||||||
"x-kubernetes-patch-merge-key": "type",
|
"x-kubernetes-patch-merge-key": "type",
|
||||||
"x-kubernetes-patch-strategy": "merge",
|
"x-kubernetes-patch-strategy": "merge",
|
||||||
},
|
},
|
||||||
|
@ -200,6 +200,8 @@ message DaemonSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated DaemonSetCondition conditions = 10;
|
repeated DaemonSetCondition conditions = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -341,6 +343,8 @@ message DeploymentStatus {
|
|||||||
// Represents the latest available observations of a deployment's current state.
|
// Represents the latest available observations of a deployment's current state.
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated DeploymentCondition conditions = 6;
|
repeated DeploymentCondition conditions = 6;
|
||||||
|
|
||||||
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
||||||
@ -475,6 +479,8 @@ message ReplicaSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated ReplicaSetCondition conditions = 6;
|
repeated ReplicaSetCondition conditions = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -688,6 +694,7 @@ message StatefulSetSpec {
|
|||||||
// any volumes in the template, with the same name.
|
// any volumes in the template, with the same name.
|
||||||
// TODO: Define the behavior if a claim already exists with the same name.
|
// TODO: Define the behavior if a claim already exists with the same name.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +listType=atomic
|
||||||
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
|
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
|
||||||
|
|
||||||
// serviceName is the name of the service that governs this StatefulSet.
|
// serviceName is the name of the service that governs this StatefulSet.
|
||||||
@ -782,6 +789,8 @@ message StatefulSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated StatefulSetCondition conditions = 10;
|
repeated StatefulSetCondition conditions = 10;
|
||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
||||||
|
@ -211,6 +211,7 @@ type StatefulSetSpec struct {
|
|||||||
// any volumes in the template, with the same name.
|
// any volumes in the template, with the same name.
|
||||||
// TODO: Define the behavior if a claim already exists with the same name.
|
// TODO: Define the behavior if a claim already exists with the same name.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +listType=atomic
|
||||||
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
|
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
|
||||||
|
|
||||||
// serviceName is the name of the service that governs this StatefulSet.
|
// serviceName is the name of the service that governs this StatefulSet.
|
||||||
@ -305,6 +306,8 @@ type StatefulSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
||||||
@ -507,6 +510,8 @@ type DeploymentStatus struct {
|
|||||||
// Represents the latest available observations of a deployment's current state.
|
// Represents the latest available observations of a deployment's current state.
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
|
|
||||||
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
||||||
@ -714,6 +719,8 @@ type DaemonSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -884,6 +891,8 @@ type ReplicaSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -208,6 +208,8 @@ message DeploymentStatus {
|
|||||||
// Conditions represent the latest available observations of a deployment's current state.
|
// Conditions represent the latest available observations of a deployment's current state.
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated DeploymentCondition conditions = 6;
|
repeated DeploymentCondition conditions = 6;
|
||||||
|
|
||||||
// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this
|
// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this
|
||||||
@ -445,6 +447,7 @@ message StatefulSetSpec {
|
|||||||
// any volumes in the template, with the same name.
|
// any volumes in the template, with the same name.
|
||||||
// TODO: Define the behavior if a claim already exists with the same name.
|
// TODO: Define the behavior if a claim already exists with the same name.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +listType=atomic
|
||||||
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
|
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
|
||||||
|
|
||||||
// serviceName is the name of the service that governs this StatefulSet.
|
// serviceName is the name of the service that governs this StatefulSet.
|
||||||
@ -536,6 +539,8 @@ message StatefulSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated StatefulSetCondition conditions = 10;
|
repeated StatefulSetCondition conditions = 10;
|
||||||
|
|
||||||
// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
||||||
|
@ -251,6 +251,7 @@ type StatefulSetSpec struct {
|
|||||||
// any volumes in the template, with the same name.
|
// any volumes in the template, with the same name.
|
||||||
// TODO: Define the behavior if a claim already exists with the same name.
|
// TODO: Define the behavior if a claim already exists with the same name.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +listType=atomic
|
||||||
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
|
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
|
||||||
|
|
||||||
// serviceName is the name of the service that governs this StatefulSet.
|
// serviceName is the name of the service that governs this StatefulSet.
|
||||||
@ -342,6 +343,8 @@ type StatefulSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
||||||
|
|
||||||
// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
||||||
@ -577,6 +580,8 @@ type DeploymentStatus struct {
|
|||||||
// Conditions represent the latest available observations of a deployment's current state.
|
// Conditions represent the latest available observations of a deployment's current state.
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
|
|
||||||
// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this
|
// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this
|
||||||
|
@ -204,6 +204,8 @@ message DaemonSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated DaemonSetCondition conditions = 10;
|
repeated DaemonSetCondition conditions = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -346,6 +348,8 @@ message DeploymentStatus {
|
|||||||
// Represents the latest available observations of a deployment's current state.
|
// Represents the latest available observations of a deployment's current state.
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated DeploymentCondition conditions = 6;
|
repeated DeploymentCondition conditions = 6;
|
||||||
|
|
||||||
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
||||||
@ -481,6 +485,8 @@ message ReplicaSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated ReplicaSetCondition conditions = 6;
|
repeated ReplicaSetCondition conditions = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -733,6 +739,7 @@ message StatefulSetSpec {
|
|||||||
// any volumes in the template, with the same name.
|
// any volumes in the template, with the same name.
|
||||||
// TODO: Define the behavior if a claim already exists with the same name.
|
// TODO: Define the behavior if a claim already exists with the same name.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +listType=atomic
|
||||||
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
|
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
|
||||||
|
|
||||||
// serviceName is the name of the service that governs this StatefulSet.
|
// serviceName is the name of the service that governs this StatefulSet.
|
||||||
@ -824,6 +831,8 @@ message StatefulSetStatus {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
repeated StatefulSetCondition conditions = 10;
|
repeated StatefulSetCondition conditions = 10;
|
||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
||||||
|
@ -261,6 +261,7 @@ type StatefulSetSpec struct {
|
|||||||
// any volumes in the template, with the same name.
|
// any volumes in the template, with the same name.
|
||||||
// TODO: Define the behavior if a claim already exists with the same name.
|
// TODO: Define the behavior if a claim already exists with the same name.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +listType=atomic
|
||||||
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
|
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
|
||||||
|
|
||||||
// serviceName is the name of the service that governs this StatefulSet.
|
// serviceName is the name of the service that governs this StatefulSet.
|
||||||
@ -352,6 +353,8 @@ type StatefulSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
||||||
|
|
||||||
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
|
||||||
@ -555,6 +558,8 @@ type DeploymentStatus struct {
|
|||||||
// Represents the latest available observations of a deployment's current state.
|
// Represents the latest available observations of a deployment's current state.
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
|
|
||||||
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
// Count of hash collisions for the Deployment. The Deployment controller uses this
|
||||||
@ -765,6 +770,8 @@ type DaemonSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -951,6 +958,8 @@ type ReplicaSetStatus struct {
|
|||||||
// +optional
|
// +optional
|
||||||
// +patchMergeKey=type
|
// +patchMergeKey=type
|
||||||
// +patchStrategy=merge
|
// +patchStrategy=merge
|
||||||
|
// +listType=map
|
||||||
|
// +listMapKey=type
|
||||||
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user