update-federation-openapi-spec.sh and fix issue 38962
This commit is contained in:
parent
853167624e
commit
f15c8d0cf5
@ -10247,7 +10247,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"v1beta1.ClusterStatus": {
|
"v1beta1.ClusterStatus": {
|
||||||
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
|
"description": "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"conditions": {
|
"conditions": {
|
||||||
"description": "Conditions is an array of current cluster conditions.",
|
"description": "Conditions is an array of current cluster conditions.",
|
||||||
|
@ -40,7 +40,7 @@ kube::etcd::validate() {
|
|||||||
export PATH=$KUBE_ROOT/third_party/etcd:$PATH
|
export PATH=$KUBE_ROOT/third_party/etcd:$PATH
|
||||||
hash etcd
|
hash etcd
|
||||||
echo $PATH
|
echo $PATH
|
||||||
ls $KUBE_ROOT/third_party/etcd
|
#ls $KUBE_ROOT/third_party/etcd
|
||||||
version=$(etcd --version | head -n 1 | cut -d " " -f 3)
|
version=$(etcd --version | head -n 1 | cut -d " " -f 3)
|
||||||
if [[ "${version}" < "${ETCD_VERSION}" ]]; then
|
if [[ "${version}" < "${ETCD_VERSION}" ]]; then
|
||||||
kube::log::usage "etcd version ${ETCD_VERSION} or greater required."
|
kube::log::usage "etcd version ${ETCD_VERSION} or greater required."
|
||||||
|
@ -9782,7 +9782,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
|
|||||||
"v1beta1.ClusterStatus": {
|
"v1beta1.ClusterStatus": {
|
||||||
Schema: spec.Schema{
|
Schema: spec.Schema{
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "ClusterStatus is information about the current status of a cluster updated by cluster controller peridocally.",
|
Description: "ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.",
|
||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"conditions": {
|
"conditions": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
|
Loading…
Reference in New Issue
Block a user