Skip to content

Commit e2465aa

Browse files
committed
Reference newer 2.1.0 schemaVersion in samples
1 parent 545258b commit e2465aa

12 files changed

+24
-24
lines changed

docs/modules/user-guide/partials/proc_adding-a-name-to-a-devfile.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Adding a name to a devfile is mandatory. Both `name` and `generateName` are opti
1616

1717
[source,yaml]
1818
----
19-
schemaVersion: 2.0.0
19+
schemaVersion: 2.1.0
2020
metadata:
2121
name: devfile-sample
2222
version: 2.0.0
@@ -28,7 +28,7 @@ metadata:
2828

2929
[source,yaml]
3030
----
31-
schemaVersion: 2.0.0
31+
schemaVersion: 2.1.0
3232
metadata:
3333
name: devfile-sample
3434
version: 2.0.0

docs/modules/user-guide/partials/proc_adding-attributes-to-a-devfile.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ When no editor is specified, a default editor is provided. To represent this use
2121
====
2222
[source,yaml]
2323
----
24-
schemaVersion: 2.0.0
24+
schemaVersion: 2.1.0
2525
metadata:
2626
name: petclinic-dev-environment
2727
attributes:

docs/modules/user-guide/partials/proc_adding-commands-to-a-devfile.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ A devfile allows to specify commands to be available for execution in a workspac
3737
+
3838
[source,yaml]
3939
----
40-
schemaVersion: 2.0.0
40+
schemaVersion: 2.1.0
4141
metadata:
4242
name: mydevfile
4343
projects:
@@ -76,7 +76,7 @@ A given command can be assigned to one or more groups that represents the nature
7676
+
7777
[source,yaml]
7878
----
79-
schemaVersion: 2.0.0
79+
schemaVersion: 2.1.0
8080
metadata:
8181
name: mydevfile
8282
projects:
@@ -113,7 +113,7 @@ A composite command can be defined to chain multiple commands together. The indi
113113
+
114114
[source,yaml]
115115
----
116-
schemaVersion: 2.0.0
116+
schemaVersion: 2.1.0
117117
metadata:
118118
name: mydevfile
119119
projects:

docs/modules/user-guide/partials/proc_adding-container-component-to-a-devfile.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ A component type that allows to define a container image-based configuration of
4141
.A minimal `container` component*
4242
[source,yaml]
4343
----
44-
schemaVersion: 2.0.0
44+
schemaVersion: 2.1.0
4545
metadata:
4646
name: mydevfile
4747
components:
@@ -62,7 +62,7 @@ For the `container` component to have access to the project sources, you must se
6262
+
6363
[source,yaml]
6464
----
65-
schemaVersion: 2.0.0
65+
schemaVersion: 2.1.0
6666
metadata:
6767
name: mydevfile
6868
components:

docs/modules/user-guide/partials/proc_adding-projects-to-a-devfile.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This section describes how to add one or more projects to a devfile.
2020
====
2121
[source,yaml]
2222
----
23-
schemaVersion: 2.0.0
23+
schemaVersion: 2.1.0
2424
metadata:
2525
name: petclinic-dev-environment
2626
version: 2.0.0
@@ -38,7 +38,7 @@ projects:
3838
====
3939
[source,yaml]
4040
----
41-
schemaVersion: 2.0.0
41+
schemaVersion: 2.1.0
4242
metadata:
4343
name: example-devfile
4444
version: 2.0.0
@@ -95,7 +95,7 @@ source:
9595
====
9696
[source,yaml]
9797
----
98-
schemaVersion: 2.0.0
98+
schemaVersion: 2.1.0
9999
metadata:
100100
name: my-project-dev
101101
version: 2.0.0

docs/modules/user-guide/partials/proc_adding-schema-version-to-a-devfile.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ The `schemaVersion` attribute is mandatory in a devfile.
1313
====
1414
[source,yaml]
1515
----
16-
v2.0
16+
v2.1
1717
---
18-
schemaVersion: 2.0.0
18+
schemaVersion: 2.1.0
1919
metadata:
2020
name: devfile-sample
21-
version: 2.0.0
21+
version: 2.1.0
2222
----
2323
====
2424

docs/modules/user-guide/partials/proc_defining-endpoints.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Components of any type can specify the endpoints that the container exposes. The
1212
====
1313
[source,yaml]
1414
----
15-
schemaVersion: 2.0.0
15+
schemaVersion: 2.1.0
1616
metadata:
1717
name: mydevfile
1818
projects:
@@ -73,7 +73,7 @@ When starting a new server within a component, {prod-short} autodetects this, an
7373

7474
[source,yaml]
7575
----
76-
schemaVersion: 2.0.0
76+
schemaVersion: 2.1.0
7777
metadata:
7878
name: mydevfile
7979
components:

docs/modules/user-guide/partials/proc_defining-environment-variables.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If the component has multiple containers, environment variables will be provisio
1313
====
1414
[source,yaml]
1515
----
16-
schemaVersion: 2.0.0
16+
schemaVersion: 2.1.0
1717
metadata:
1818
name: mydevfile
1919
components:

docs/modules/user-guide/partials/proc_defining-kubernetes-resources.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Complex deployments can be described using Kubernetes or OpenShift resource list
1919

2020
[source,yaml]
2121
----
22-
schemaVersion: 2.0.0
22+
schemaVersion: 2.1.0
2323
metadata:
2424
name: mydevfile
2525
projects:

docs/modules/user-guide/partials/proc_migrating-schema-version.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This section describes how to migrate the existing schema version to a v2.x devf
66

77
.Procedure
88

9-
. To migrate a schema version from a v1.x devfile to a v2.x devfile, replace `apiVersion: 1.0.0` with `schemaVersion: 2.0.0`:
9+
. To migrate a schema version from a v1.x devfile to a v2.x devfile, replace `apiVersion: 1.0.0` with `schemaVersion: 2.1.0`:
1010
+
1111
[cols="1a,1a"]
1212
|====
@@ -24,7 +24,7 @@ metadata:
2424
----
2525
v2.0
2626
---
27-
schemaVersion: 2.0.0
27+
schemaVersion: 2.1.0
2828
metadata:
2929
name: devfile-sample
3030
----

0 commit comments

Comments
 (0)