Skip to content

Commit 4e94cb1

Browse files
DOCSP-42234 removed openshift create secret step (#1862)
1 parent 41d21c6 commit 4e94cb1

File tree

2 files changed

+0
-90
lines changed

2 files changed

+0
-90
lines changed

source/includes/steps-install-prereqs.yaml

Lines changed: 0 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -75,85 +75,4 @@ content: |
7575
host, see the documentation for `RHEL
7676
<https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/s1-checking_the_status_of_ntp>`__.
7777
78-
---
79-
stepnum: 5
80-
level: 4
81-
ref: create-k8s-secret
82-
title: "**Required for OpenShift Installs:** Create a |k8s-secret| that
83-
contains credentials authorized to pull images from the
84-
``registry.connect.redhat.com`` repository."
85-
content: |
86-
87-
If you use the |k8s-op-short| to deploy MongoDB
88-
resources to :ref:`multiple namespaces <ns-scope-different-ns>` or with
89-
a :ref:`cluster-wide scope <cluster-wide-scope>`, create the secret
90-
only in the namespace where you intend to deploy the |k8s-op-short|. The
91-
|k8s-op-short| synchronizes the secret across all watched namespaces.
92-
93-
a. If you have not already, obtain a Red Hat subscription.
94-
95-
#. Create a `Registry Service Account <https://access.redhat.com/terms-based-registry/>`__.
96-
97-
#. Click on your Registry Service Account, then click the
98-
:guilabel:`Docker Configuration` tab.
99-
100-
#. Download the ``<account-name>-auth.json`` file and open it in a
101-
text editor.
102-
103-
#. Copy the ``registry.redhat.io`` object, and paste another instance
104-
of this object into the file. Remember to add a comma after the
105-
first object. Rename the second object
106-
``registry.connect.redhat.com``, then save the file:
107-
108-
.. code-block:: json
109-
:emphasize-lines: 6-8
110-
111-
{
112-
"auths": {
113-
"registry.redhat.io": {
114-
"auth": "<encoded-string>"
115-
},
116-
"registry.connect.redhat.com": {
117-
"auth": "<encoded-string>"
118-
}
119-
}
120-
}
121-
122-
#. Create an ``openshift-pull-secret.yaml`` file and add the contents
123-
of the modified ``<account-name>-auth.json`` file as
124-
``stringData`` named ``.dockerconfigjson`` to the
125-
``openshift-pull-secret.yaml`` secret file.
126-
127-
.. code-block:: yaml
128-
:emphasize-lines: 4-16
129-
130-
apiVersion: v1
131-
kind: Secret
132-
metadata:
133-
name: openshift-pull-secret
134-
stringData:
135-
.dockerconfigjson: |
136-
{
137-
"auths": {
138-
"registry.redhat.io": {
139-
"auth": "<encoded-string>"
140-
},
141-
"registry.connect.redhat.com": {
142-
"auth": "<encoded-string>"
143-
}
144-
}
145-
}
146-
type: kubernetes.io/dockerconfigjson
147-
148-
The value you provide in the ``metadata.name`` field contains
149-
the secret name. Provide this value when asked for the
150-
``<openshift-pull-secret>``.
151-
152-
#. Create a |k8s-secret| from the ``openshift-pull-secret.yaml``
153-
file in the same namespace in which you will deploy the |k8s-op-short|.
154-
155-
.. code-block:: sh
156-
157-
oc apply -f openshift-pull-secret.yaml -n <metadata.namespace>
158-
15978
...

source/includes/steps-openshift-quick-start.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,6 @@ content: |
3939
---
4040
stepnum: 4
4141
level: 4
42-
ref: create-k8s-secret-openshift
43-
title: "Create a |k8s-secret| that contains credentials authorized to pull images from the ``registry.connect.redhat.com`` repository."
44-
source:
45-
file: steps-install-prereqs.yaml
46-
ref: create-k8s-secret
47-
48-
---
49-
stepnum: 5
50-
level: 4
5142
title: "Install the |k8s-op-full|"
5243
ref: install-k8s-openshift
5344
content: |

0 commit comments

Comments
 (0)