Skip to content

Commit f06c171

Browse files
Anthony Sansonejwilliams-mongo
authored andcommitted
(DOCSP-9020): Updated docker import to docker load on install
1 parent e5409d3 commit f06c171

File tree

2 files changed

+51
-51
lines changed

2 files changed

+51
-51
lines changed

source/includes/steps-helm-master.yaml

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Change to the directory in which you cloned the repository."
3-
level: 4
3+
level: 4
44
ref: helm-master-cd
55
---
66
title: "{{method}}"
@@ -10,20 +10,20 @@ replacement:
1010
k8sonline: |
1111
1212
.. code-block:: sh
13-
13+
1414
helm_chart > operator.yaml \
1515
-- values helm_chart/values.yaml
1616
kubectl apply -f operator.yaml
17-
17+
1818
.. include:: /includes/install/helm-install-k8s-options.rst
1919
20-
.. note::
21-
22-
You can also pass these values as options when you apply the
20+
.. note::
21+
22+
You can also pass these values as options when you apply the
2323
Helm Chart:
24-
24+
2525
.. code-block:: sh
26-
26+
2727
helm template --set namespace=<testNamespace> \
2828
helm_chart > operator.yaml \
2929
-- values helm_chart/values.yaml
@@ -32,75 +32,75 @@ replacement:
3232
k8soffline: |
3333
3434
.. code-block:: sh
35-
35+
3636
helm template --set registry.pullPolicy=IfNotPresent \
3737
helm_chart > operator.yaml \
3838
-- values helm_chart/values.yaml
3939
kubectl apply -f operator.yaml
40-
40+
4141
.. include:: /includes/install/helm-install-k8s-options.rst
42-
43-
.. note::
44-
42+
43+
.. note::
44+
4545
You can also pass these values as options when you apply the Helm
4646
Chart:
47-
47+
4848
.. code-block:: sh
49-
49+
5050
helm template --set registry.pullPolicy=IfNotPresent \
5151
--set namespace=<testNamespace> \
5252
helm_chart > operator.yaml \
5353
-- values helm_chart/values.yaml
54-
kubectl apply -f operator.yaml
55-
54+
kubectl apply -f operator.yaml
55+
5656
osonline: |
5757
5858
.. code-block:: sh
59-
59+
6060
helm_chart > operator.yaml \
6161
-- values helm_chart/values-openshift.yaml
6262
oc apply -f operator.yaml
63-
63+
6464
.. include:: /includes/install/helm-install-os-options.rst
65-
66-
.. note::
67-
65+
66+
.. note::
67+
6868
You can also pass these values as options when you apply the Helm
6969
Chart:
70-
70+
7171
.. code-block:: sh
72-
72+
7373
helm template --set registry.imagePullSecrets=<openshift-pull-secret> \
7474
helm_chart > operator.yaml \
7575
-- values helm_chart/values-openshift.yaml
76-
oc apply -f operator.yaml
77-
76+
oc apply -f operator.yaml
77+
7878
osoffline: |
7979
8080
.. code-block:: sh
81-
81+
8282
helm template --set registry.pullPolicy=IfNotPresent \
8383
--set registry.imagePullSecrets=<openshift-pull-secret> \
8484
helm_chart > operator.yaml \
8585
-- values helm_chart/values-openshift.yaml
8686
oc apply -f operator.yaml
87-
87+
8888
.. include:: /includes/install/helm-install-os-options.rst
89-
90-
.. note::
91-
89+
90+
.. note::
91+
9292
You can also pass these values as options when you apply the Helm
9393
Chart:
94-
94+
9595
.. code-block:: sh
96-
96+
9797
helm template --set registry.pullPolicy=IfNotPresent \
9898
--set registry.imagePullSecrets=<openshift-pull-secret> \
9999
--set namespace=<testNamespace> \
100100
helm_chart > operator.yaml \
101101
-- values helm_chart/values-openshift.yaml
102-
oc apply -f operator.yaml
103-
102+
oc apply -f operator.yaml
103+
104104
---
105105
title: "Connect to the internet."
106106
level: 4
@@ -110,16 +110,16 @@ title: "Disconnect from the internet."
110110
level: 4
111111
ref: helm-master-disconnect-internet
112112
---
113-
title: "Add the name of your ``<openshift-pull-secret>`` to the
114-
``registry.imagePullSecrets`` setting in the
113+
title: "Add the name of your ``<openshift-pull-secret>`` to the
114+
``registry.imagePullSecrets`` setting in the
115115
``helm_chart/values-openshift.yaml`` file:"
116116
level: 4
117117
ref: helm-master-openshift-pull-secret
118118
content: |
119119
120120
.. code-block:: sh
121121
:emphasize-lines: 3
122-
122+
123123
registry:
124124
# The pull secret must be specified
125125
imagePullSecrets: <openshift-pull-secret>
@@ -163,17 +163,17 @@ replacement:
163163
164164
.. code-block:: sh
165165
166-
docker import mongodb-enterprise-operator.tar quay.io/mongodb/mongodb-enterprise-operator:<op-version>; \
167-
docker import mongodb-enterprise-database.tar quay.io/mongodb/mongodb-enterprise-database:<op-version>; \
168-
docker import mongodb-enterprise-ops-manager.tar quay.io/mongodb/mongodb-enterprise-ops-manager:<om-version>-operator<op-version>
169-
166+
docker load -i mongodb-enterprise-operator.tar; \
167+
docker load -i mongodb-enterprise-database.tar; \
168+
docker load -i mongodb-enterprise-ops-manager.tar
169+
170170
rhimport: |
171-
171+
172172
.. code-block:: sh
173173
174-
docker import mongodb-enterprise-operator.tar registry.connect.redhat.com/mongodb/mongodb-enterprise-operator:<op-version>; \
175-
docker import mongodb-enterprise-database.tar registry.connect.redhat.com/mongodb/mongodb-enterprise-database:<op-version>; \
176-
docker import mongodb-enterprise-ops-manager.tar registry.connect.redhat.com/mongodb/mongodb-enterprise-ops-manager:<om-version>-operator<op-version>
174+
docker load -i mongodb-enterprise-operator.tar; \
175+
docker load -i mongodb-enterprise-database.tar; \
176+
docker load -i mongodb-enterprise-ops-manager.tar
177177
178178
---
179179
title: "Use ``docker`` to request the files."
@@ -198,7 +198,7 @@ replacement:
198198
199199
versions: |
200200
201-
.. include:: /includes/install/replace-op-and-om-versions.rst
201+
.. include:: /includes/install/replace-op-and-om-versions.rst
202202
...
203203

204204

source/tutorial/install-k8s-operator.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Install the |k8s-op-full|
1414
:depth: 1
1515
:class: singlecol
1616

17-
.. include:: /includes/styles/corrections.rst
17+
.. include:: /includes/styles/corrections.rst
1818

1919
Use the |k8s-op-full| to deploy:
2020

@@ -136,21 +136,21 @@ Install the |k8s-op-full|
136136
- id: os
137137
name: Online using oc
138138
content: |
139-
139+
140140
.. include:: /includes/install/same-namespace-oc.rst
141141

142142
.. include:: /includes/steps/install-oc.rst
143143

144144
- id: os-helm-online
145145
name: Online using Helm
146146
content: |
147-
147+
148148
.. include:: /includes/install/install-os-online-helm.rst
149149

150150
- id: os-helm-offline
151151
name: Offline using Helm and Docker
152152
content: |
153-
153+
154154
.. include:: /includes/install/install-os-offline-helm.rst
155155

156156
.. include:: /includes/troubleshoot-k8s.rst

0 commit comments

Comments
 (0)