Skip to content

Commit 1f14b40

Browse files
authored
Merge pull request #24938 from adellape/proc_disconn_sdk
Update OSDK disconnected reqs
2 parents 5105ea1 + 727a68a commit 1f14b40

File tree

1 file changed

+26
-10
lines changed

1 file changed

+26
-10
lines changed

modules/olm-enabling-operator-restricted-network.adoc

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,33 @@
55
[id="olm-enabling-operator-for-restricted-network_{context}"]
66
= Enabling your Operator for restricted network environments
77

8-
As an Operator author, your CSV must meet the following additional requirements
9-
for your Operator to run properly in a restricted network environment:
8+
As an Operator author, your Operator must meet additional requirements to run
9+
properly in a restricted network, or disconnected, environment.
1010

11-
* List any _related images_, or other container images that your Operator might
11+
.Operator requirements for supporting disconnected mode
12+
13+
* In the ClusterServiceVersion (CSV) of your Operator:
14+
** List any _related images_, or other container images that your Operator might
1215
require to perform their functions.
13-
* Reference all specified images by a digest (SHA) and not by a tag.
16+
** Reference all specified images by a digest (SHA) and not by a tag.
17+
* All dependencies of your Operator must also support running in a disconnected
18+
mode.
19+
* Your Operator must not require any off-cluster resources.
20+
// TODO: Include more info w/ better steps on how to do this:
21+
//* You must understand the {product-title} proxy configuration.
22+
23+
For the CSV requirements, you can make the following changes as the Operator
24+
author.
25+
26+
.Prerequisites
27+
28+
* An Operator project with a CSV.
29+
30+
.Procedure
1431

15-
You must use SHA references to related images in two places in the Operator's
16-
CSV:
32+
. Use SHA references to related images in two places in the CSV for your Operator:
1733

18-
* in `spec.relatedImages`:
34+
.. Update `spec.relatedImages`:
1935
+
2036
[source,yaml]
2137
----
@@ -32,7 +48,7 @@ spec:
3248
<2> Specify a unique identifier for the image.
3349
<3> Specify each image by a digest (SHA), not by an image tag.
3450

35-
* in the `env` section of the Operators Deployments when declaring environment
51+
.. Update the `env` section of the Operators Deployments when declaring environment
3652
variables that inject the image that the Operator should use:
3753
+
3854
[source,yaml]
@@ -89,8 +105,8 @@ spec:
89105
<2> Specify each image by a digest (SHA), not by an image tag.
90106
<3> Also reference the Operator container image by a digest (SHA), not by an image tag.
91107

92-
* Look for the `Disconnected` annotation, which indicates that the Operator works
93-
in a disconnected environment:
108+
. Add the `Disconnected` annotation, which indicates that the Operator works in a
109+
disconnected environment:
94110
+
95111
[source,yaml]
96112
----

0 commit comments

Comments
 (0)