Corev1.Node: Link to node doc and not PV doc in status.capacity

Currently, the go doc and as a result the generated swagger docs for
node.status.capacity links to a documentation page for PV capacity.
Update it to link to our nodes about node capacity and alloctable
instead.
This commit is contained in:
Alvaro Aleman
2024-06-18 22:50:57 -04:00
parent 466b10fcab
commit 5e56953337
6 changed files with 6 additions and 6 deletions

View File

@@ -8389,7 +8389,7 @@
"additionalProperties": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity",
"type": "object"
},
"conditions": {

View File

@@ -3935,7 +3935,7 @@
"additionalProperties": {
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"
},
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
"description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity",
"type": "object"
},
"conditions": {