Skip to content

Commit 593b78f

Browse files
committed
Deprecating --api-version flag
1 parent 5cc7790 commit 593b78f

File tree

111 files changed

+159
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+159
-221
lines changed

docs/man/man1/kubectl-annotate.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.
4949

5050
.PP
5151
\fB\-\-output\-version\fP=""
52-
Output the formatted object with the given version (default api\-version).
52+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
5353

5454
.PP
5555
\fB\-\-overwrite\fP=false
@@ -92,7 +92,7 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.
9292

9393
.PP
9494
\fB\-\-api\-version\fP=""
95-
The API version to use when talking to the server
95+
DEPRECATED: The API version to use when talking to the server
9696

9797
.PP
9898
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-api-versions.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Print the supported API versions on the server, in the form of "group/version".
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-apply.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ JSON and YAML formats are accepted.
4949

5050
.PP
5151
\fB\-\-api\-version\fP=""
52-
The API version to use when talking to the server
52+
DEPRECATED: The API version to use when talking to the server
5353

5454
.PP
5555
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-attach.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Attach to a process that is already running inside an existing container.
3737

3838
.PP
3939
\fB\-\-api\-version\fP=""
40-
The API version to use when talking to the server
40+
DEPRECATED: The API version to use when talking to the server
4141

4242
.PP
4343
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-autoscale.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ An autoscaler can automatically increase or decrease number of pods deployed wit
6161

6262
.PP
6363
\fB\-\-output\-version\fP=""
64-
Output the formatted object with the given version (default api\-version).
64+
Output the formatted object with the given group version (for ex: 'extensions/v1beta1').
6565

6666
.PP
6767
\fB\-\-record\fP=false
@@ -96,7 +96,7 @@ An autoscaler can automatically increase or decrease number of pods deployed wit
9696

9797
.PP
9898
\fB\-\-api\-version\fP=""
99-
The API version to use when talking to the server
99+
DEPRECATED: The API version to use when talking to the server
100100

101101
.PP
102102
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-cluster-info.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Display addresses of the master and services with label kubernetes.io/cluster\-s
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-current-context.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Displays the current\-context
2323

2424
.PP
2525
\fB\-\-api\-version\fP=""
26-
The API version to use when talking to the server
26+
DEPRECATED: The API version to use when talking to the server
2727

2828
.PP
2929
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-set-context.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Specifying a name that already exists will merge new fields on top of existing v
3838

3939
.PP
4040
\fB\-\-api\-version\fP=""
41-
The API version to use when talking to the server
41+
DEPRECATED: The API version to use when talking to the server
4242

4343
.PP
4444
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-set-credentials.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Bearer token and basic auth are mutually exclusive.
6565

6666
.PP
6767
\fB\-\-api\-version\fP=""
68-
The API version to use when talking to the server
68+
DEPRECATED: The API version to use when talking to the server
6969

7070
.PP
7171
\fB\-\-certificate\-authority\fP=""

docs/man/man1/kubectl-config-set.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PROPERTY\_VALUE is the new value you wish to set.
2525

2626
.PP
2727
\fB\-\-api\-version\fP=""
28-
The API version to use when talking to the server
28+
DEPRECATED: The API version to use when talking to the server
2929

3030
.PP
3131
\fB\-\-certificate\-authority\fP=""

0 commit comments

Comments
 (0)