Skip to content

Commit

Permalink
Attempt to tombstone StaticPodOperatorStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqi-zhang committed Feb 29, 2024
1 parent b59260a commit d583e3b
Show file tree
Hide file tree
Showing 8 changed files with 200 additions and 648 deletions.
105 changes: 6 additions & 99 deletions openapi/generated_openapi/zz_generated.openapi.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 4 additions & 59 deletions openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -28747,71 +28747,30 @@
},
"com.github.openshift.api.operator.v1.MachineConfigurationStatus": {
"type": "object",
"required": [
"readyReplicas"
],
"properties": {
"conditions": {
"description": "conditions is a list of conditions and their status",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/com.github.openshift.api.operator.v1.OperatorCondition"
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition"
},
"x-kubernetes-list-map-keys": [
"type"
],
"x-kubernetes-list-type": "map"
},
"generations": {
"description": "generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/com.github.openshift.api.operator.v1.GenerationStatus"
},
"x-kubernetes-list-type": "atomic"
},
"latestAvailableRevision": {
"description": "latestAvailableRevision is the deploymentID of the most recent deployment",
"type": "integer",
"format": "int32"
},
"latestAvailableRevisionReason": {
"description": "latestAvailableRevisionReason describe the detailed reason for the most recent deployment",
"type": "string"
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"nodeDisruptionPolicyStatus": {
"description": "nodeDisruptionPolicyStatus status reflects what the latest cluster-validated policies are, and will be used by the Machine Config Daemon during future node updates.",
"default": {},
"$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeDisruptionPolicyStatus"
},
"nodeStatuses": {
"description": "nodeStatuses track the deployment values and errors across individual nodes",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeStatus"
},
"x-kubernetes-list-map-keys": [
"nodeName"
],
"x-kubernetes-list-type": "map"
},
"observedGeneration": {
"description": "observedGeneration is the last generation change you've dealt with",
"type": "integer",
"format": "int64"
},
"readyReplicas": {
"description": "readyReplicas indicates how many replicas are ready and at the desired state",
"type": "integer",
"format": "int32",
"default": 0
},
"version": {
"description": "version is the level this availability applies to",
"type": "string"
}
}
},
Expand Down Expand Up @@ -29385,20 +29344,6 @@
"description": "clusterPolicies is a merge of cluster default and user provided node disruption policies.",
"default": {},
"$ref": "#/definitions/com.github.openshift.api.operator.v1.NodeDisruptionPolicyClusterStatus"
},
"conditions": {
"description": "conditions represent the current validation status of the NodeDisruptionPolicy in spec",
"type": "array",
"items": {
"default": {},
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Condition"
},
"x-kubernetes-list-map-keys": [
"type"
],
"x-kubernetes-list-type": "map",
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
}
}
},
Expand Down

0 comments on commit d583e3b

Please sign in to comment.