From a369185bfec83d98d8a739f58f54d31f22ea42ec Mon Sep 17 00:00:00 2001 From: Sofer Athlan-Guyot Date: Mon, 27 Jan 2025 15:42:58 +0100 Subject: [PATCH] Add missing namespace. --- roles/kustomize_deploy/tasks/authenticate_registry.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/kustomize_deploy/tasks/authenticate_registry.yml b/roles/kustomize_deploy/tasks/authenticate_registry.yml index c6280feb67..8b34061e84 100644 --- a/roles/kustomize_deploy/tasks/authenticate_registry.yml +++ b/roles/kustomize_deploy/tasks/authenticate_registry.yml @@ -34,7 +34,8 @@ PATH: "{{ cifmw_path }}" ansible.builtin.shell: | read -r username password < /tmp/podman.txt - oc create secret generic redhat-registry \ + # TODO: bug against doc: https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0/html-single/deploying_red_hat_openstack_services_on_openshift/index#proc_creating-the-data-plane-secrets_dataplane + oc create -n openstack secret generic redhat-registry \ --from-literal edpm_container_registry_logins="{\"registry.redhat.io\": {\"${username}\": \"${password}\"}}" args: executable: /bin/bash