Skip to content

Commit 065d8e6

Browse files
authored
Merge pull request #37284 from chandansingh1653/patch-1
Update custom-resource-definition-versioning.md
2 parents b100990 + 8b1209d commit 065d8e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,13 @@ spec:
297297
versions:
298298
- name: v1alpha1
299299
served: true
300+
storage: false
300301
# This indicates the v1alpha1 version of the custom resource is deprecated.
301302
# API requests to this version receive a warning header in the server response.
302303
deprecated: true
303304
# This overrides the default warning returned to API clients making v1alpha1 API requests.
304305
deprecationWarning: "example.com/v1alpha1 CronTab is deprecated; see http://example.com/v1alpha1-v1 for instructions to migrate to example.com/v1 CronTab"
306+
305307
schema: ...
306308
- name: v1beta1
307309
served: true
@@ -334,6 +336,7 @@ spec:
334336
versions:
335337
- name: v1alpha1
336338
served: true
339+
storage: false
337340
# This indicates the v1alpha1 version of the custom resource is deprecated.
338341
# API requests to this version receive a warning header in the server response.
339342
deprecated: true

0 commit comments

Comments
 (0)