Skip to content

Commit

Permalink
Cleanup: s/depreciated/deprecated/g
Browse files Browse the repository at this point in the history
Kubernetes-commit: 9f4b82bf3b079fe868effbd2498b61464db6d459
  • Loading branch information
thockin authored and k8s-publishing-bot committed Feb 18, 2024
1 parent 0e71586 commit 18e7a28
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pkg/describe/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ func describePod(pod *corev1.Pod, events *corev1.EventList) (string, error) {
w.Write(LEVEL_0, "LocalhostProfile:\t%s\n", *pod.Spec.SecurityContext.SeccompProfile.LocalhostProfile)
}
}
// remove when .IP field is depreciated
// remove when .IP field is deprecated
w.Write(LEVEL_0, "IP:\t%s\n", pod.Status.PodIP)
describePodIPs(pod, w, "")
if controlledBy := printController(pod); len(controlledBy) > 0 {
Expand Down Expand Up @@ -3745,7 +3745,7 @@ func describeNode(node *corev1.Node, nodeNonTerminatedPodsList *corev1.PodList,
w.Write(LEVEL_0, " Kubelet Version:\t%s\n", node.Status.NodeInfo.KubeletVersion)
w.Write(LEVEL_0, " Kube-Proxy Version:\t%s\n", node.Status.NodeInfo.KubeProxyVersion)

// remove when .PodCIDR is depreciated
// remove when .PodCIDR is deprecated
if len(node.Spec.PodCIDR) > 0 {
w.Write(LEVEL_0, "PodCIDR:\t%s\n", node.Spec.PodCIDR)
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/explain/v2/templates/batch.k8s.io_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6536,7 +6536,7 @@
]
},
"serviceAccount": {
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"type": "string"
},
"serviceAccountName": {
Expand Down Expand Up @@ -9103,4 +9103,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion testdata/openapi/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8925,7 +8925,7 @@
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."
},
"serviceAccount": {
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"type": "string"
},
"serviceAccountName": {
Expand Down
2 changes: 1 addition & 1 deletion testdata/openapi/v3/api/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25177,7 +25177,7 @@
]
},
"serviceAccount": {
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"type": "string"
},
"serviceAccountName": {
Expand Down
4 changes: 2 additions & 2 deletions testdata/openapi/v3/apis/apps/v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3738,7 +3738,7 @@
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field."
},
"serviceAccount": {
"description": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"description": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"type": "string"
},
"serviceAccountName": {
Expand Down Expand Up @@ -15672,4 +15672,4 @@
]
}
}
}
}

0 comments on commit 18e7a28

Please sign in to comment.