diff --git a/pkg/describe/describe.go b/pkg/describe/describe.go index ead94b38d..d2fdb3172 100644 --- a/pkg/describe/describe.go +++ b/pkg/describe/describe.go @@ -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 { @@ -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) } diff --git a/pkg/explain/v2/templates/batch.k8s.io_v1.json b/pkg/explain/v2/templates/batch.k8s.io_v1.json index a6b9b2eff..99dad730b 100644 --- a/pkg/explain/v2/templates/batch.k8s.io_v1.json +++ b/pkg/explain/v2/templates/batch.k8s.io_v1.json @@ -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": { @@ -9103,4 +9103,4 @@ } } } -} \ No newline at end of file +} diff --git a/testdata/openapi/swagger.json b/testdata/openapi/swagger.json index fb8907a54..b430874b7 100644 --- a/testdata/openapi/swagger.json +++ b/testdata/openapi/swagger.json @@ -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": { diff --git a/testdata/openapi/v3/api/v1.json b/testdata/openapi/v3/api/v1.json index a8e2c9f20..4c5f13d8d 100644 --- a/testdata/openapi/v3/api/v1.json +++ b/testdata/openapi/v3/api/v1.json @@ -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": { diff --git a/testdata/openapi/v3/apis/apps/v1.json b/testdata/openapi/v3/apis/apps/v1.json index 346170c7b..1fc9d1c4e 100644 --- a/testdata/openapi/v3/apis/apps/v1.json +++ b/testdata/openapi/v3/apis/apps/v1.json @@ -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": { @@ -15672,4 +15672,4 @@ ] } } -} \ No newline at end of file +}