diff --git a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc index 100ff15eb..6f542f337 100644 --- a/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-compute-services-to-the-data-plane.adoc @@ -213,7 +213,7 @@ EOF The resources in the `ConfigMap` contain cell-specific configurations. ifeval::["{build}" == "downstream"] -. Create a secret for the subscription manager and a secret for the Red Hat registry: +. Create a secret for the subscription manager: + [source,yaml] ---- @@ -225,16 +225,20 @@ metadata: data: username: password: ---- -apiVersion: v1 -kind: Secret -metadata: - name: redhat-registry -data: - username: - password: EOF ---- ++ +* Replace `` and `` with strings that are base64-encoded. + +. Create a secret for the Red Hat registry: ++ +---- +$ oc create secret generic redhat-registry \ +--from-literal edpm_container_registry_logins='{"registry.redhat.io": {"": ""}}' +---- ++ +* Replace `` with the applicable user name. +* Replace `` with the applicable password. endif::[] . Deploy the `OpenStackDataPlaneNodeSet` CR: @@ -297,8 +301,7 @@ ifeval::["{build}" == "downstream"] - prefix: subscription_manager_ secretRef: name: subscription-manager - - prefix: registry_ - secretRef: + - secretRef: name: redhat-registry endif::[] ansibleVars: @@ -396,7 +399,6 @@ ifeval::["{build}" == "downstream"] # here we only ensuring that decontainerized libvirt can start dnf -y upgrade openstack-selinux rm -f /run/virtlogd.pid - podman login -u {{ registry_username }} -p {{ registry_password }} registry.redhat.io endif::[] gather_facts: false diff --git a/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc b/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc index 3a88e924d..f0364a267 100644 --- a/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc +++ b/docs_user/modules/proc_adopting-networker-services-to-the-data-plane.adoc @@ -86,8 +86,7 @@ ifeval::["{build}" == "downstream"] - prefix: subscription_manager_ secretRef: name: subscription-manager - - prefix: registry_ - secretRef: + - secretRef: name: redhat-registry endif::[] ansibleVars: @@ -180,7 +179,6 @@ ifeval::["{build}" == "downstream"] subscription-manager release --set=9.2 subscription-manager repos --disable=* subscription-manager repos --enable=rhel-9-for-x86_64-baseos-eus-rpms --enable=rhel-9-for-x86_64-appstream-eus-rpms --enable=rhel-9-for-x86_64-highavailability-eus-rpms --enable=openstack-17.1-for-rhel-9-x86_64-rpms --enable=fast-datapath-for-rhel-9-x86_64-rpms --enable=openstack-dev-preview-for-rhel-9-x86_64-rpms - podman login -u {{ registry_username }} -p {{ registry_password }} registry.redhat.io endif::[] gather_facts: false