From 833451bd9f6c685d47c25da68d2fbe134ec6b814 Mon Sep 17 00:00:00 2001 From: Elaine Fonaro Date: Tue, 10 Jan 2023 16:30:08 -0300 Subject: [PATCH] Fix errors in the proc. to config. HTTPS and use remote CLI with it r6/r7 Updates: https://review.opendev.org/c/starlingx/docs/+/869828 - Back "organizations" and "ABC-Company" from command. - Fixed the code block structure. - Replaced "-o=jsonpath='{.data.ca\.crt}'" command. - Removed "organizations" and "ABC-Company" from command. - Added the "touch ${OUTPUT_FILE}" command. - Fixed the "platform -r admin_openrc.sh" command. Signed-off-by: Elaine Fonaro Change-Id: Icd09250e48e89b25157b5db2afac01658317c501 --- ...rity-configure-container-backed-remote-clis-and-clients.rst | 3 ++- ...applications-and-the-web-admin-server-cert-9196c5794834.rst | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst b/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst index 3209e551d..b77f88715 100644 --- a/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst +++ b/doc/source/security/kubernetes/security-configure-container-backed-remote-clis-and-clients.rst @@ -166,6 +166,7 @@ CLIs and Clients for an admin user with cluster-admin clusterrole. .. code-block:: none + ~(keystone_admin)]$ touch ${OUTPUT_FILE} ~(keystone_admin)]$ sudo chown sysadmin:sys_protected ${OUTPUT_FILE} sudo chmod 644 ${OUTPUT_FILE} @@ -255,7 +256,7 @@ CLIs and Clients for an admin user with cluster-admin clusterrole. .. parsed-literal:: - $ ./configure_client.sh -t platform -r admin_openrc.sh -k admin-kubeconfig -w HOME/remote_cli_wd -p |registry-url|/starlingx/stx-platformclients:stx.8.0-v1.5.9 + $ ./configure_client.sh -t platform -r admin-openrc.sh -k admin-kubeconfig -w HOME/remote_cli_wd -p |registry-url|/starlingx/stx-platformclients:stx.8.0-v1.5.9 If you specify repositories that require authentication, as shown above, you must first perform a :command:`docker login` to that diff --git a/doc/source/security/kubernetes/starlingx-rest-api-applications-and-the-web-admin-server-cert-9196c5794834.rst b/doc/source/security/kubernetes/starlingx-rest-api-applications-and-the-web-admin-server-cert-9196c5794834.rst index ac6c10fc8..100e395c3 100644 --- a/doc/source/security/kubernetes/starlingx-rest-api-applications-and-the-web-admin-server-cert-9196c5794834.rst +++ b/doc/source/security/kubernetes/starlingx-rest-api-applications-and-the-web-admin-server-cert-9196c5794834.rst @@ -99,7 +99,7 @@ certificates. .. code-block:: - ~(keystone_admin)]$ kubectl get secret -n -o=jsonpath='{.data.ca\.crt}' | base64 --decode > + ~(keystone_admin)]$ kubectl get secret -n -o=jsonpath='{.data.tls\.crt}' | base64 --decode > Create a local Intermediate CA ------------------------------