Skip to content

Commit 25a4148

Browse files
committed
update with CQA DITA compliance
1 parent 0275123 commit 25a4148

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

modules/images-managing-images-enabling-imagestreams-kube.adoc

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
[id="images-managing-images-enabling-imagestreams-kube_{context}"]
88
= Enabling image streams with Kubernetes resources
99

10-
When using image streams with Kubernetes resources, you can only reference image streams that reside in the same project as the resource. The image stream reference must consist of a single segment value, for example `ruby:2.5`, where `ruby` is the name of an image stream that has a tag named `2.5` and resides in the same project as the resource making the reference.
10+
[role="_abstract"]
11+
When using Kubernetes resources, you must reference image streams located within the same project by specifying a single segment value, such as `ruby:2.5`, which identifies the image stream name and its tag. This ensures the resource correctly targets the local image stream within its scope.
1112

1213
include::snippets/default-projects.adoc[]
1314

@@ -16,10 +17,10 @@ There are two ways to enable image streams with Kubernetes resources:
1617
* Enabling image stream resolution on a specific resource. This allows only this resource to use the image stream name in the image field.
1718
* Enabling image stream resolution on an image stream. This allows all resources pointing to this image stream to use it in the image field.
1819
19-
.Procedure
20-
2120
You can use `oc set image-lookup` to enable image stream resolution on a specific resource or image stream resolution on an image stream.
2221

22+
.Procedure
23+
2324
. To allow all resources to reference the image stream named `mysql`, enter the following command:
2425
+
2526
[source,terminal]
@@ -53,9 +54,9 @@ When enabled, the behavior is enabled for all tags within the image stream.
5354
$ oc set image-lookup imagestream --list
5455
----
5556

56-
You can enable image lookup on a specific resource.
57-
58-
* To allow the Kubernetes deployment named `mysql` to use image streams, run the following command:
57+
. Optional: You can enable image lookup on a specific resource.
58+
+
59+
To allow the Kubernetes deployment named `mysql` to use image streams, run the following command:
5960
+
6061
[source,terminal]
6162
----
@@ -86,9 +87,7 @@ spec:
8687
name: mysql
8788
----
8889

89-
You can disable image lookup.
90-
91-
* To disable image lookup, pass `--enabled=false`:
90+
. Optional: To disable image lookup, pass `--enabled=false`:
9291
+
9392
[source,terminal]
9493
----

0 commit comments

Comments
 (0)