From 9f3b36a4d88f9d5751cf77152e4378c509c386cd Mon Sep 17 00:00:00 2001 From: sgehlot Date: Thu, 29 Jan 2026 15:18:25 +0530 Subject: [PATCH] GH#OCPBUGS#70310:Incorrect_Json_format --- modules/customize-certificates-api-add-named.adoc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/customize-certificates-api-add-named.adoc b/modules/customize-certificates-api-add-named.adoc index 03aa9d285c..42382f214b 100644 --- a/modules/customize-certificates-api-add-named.adoc +++ b/modules/customize-certificates-api-add-named.adoc @@ -65,12 +65,14 @@ $ oc create secret tls \//<1> ---- $ oc patch apiserver cluster \ --type=merge -p \ - '{"spec":{"servingCerts": {"namedCertificates": \ - [{"names": [""], \//<1> - "servingCertificate": {"name": ""}}]}}}' <2> + '{"spec":{"servingCerts": {"namedCertificates": + [{"names": [""], + "servingCertificate": {"name": ""}}]}}}' ---- -<1> Replace `` with the FQDN that the API server should provide the certificate for. Do not include the port number. -<2> Replace `` with the name used for the secret in the previous step. +where: + +:: Replace `` with the FQDN that the API server should provide the certificate for. Do not include the port number. +:: Replace `` with the name used for the secret in the previous step. . Examine the `apiserver/cluster` object and confirm the secret is now referenced.