mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Merge pull request #105726 from openshift-cherrypick-robot/cherry-pick-105650-to-enterprise-4.21
[enterprise-4.21] OCPBUGS#70310:Incorrect_Json_format
This commit is contained in:
@@ -65,12 +65,14 @@ $ oc create secret tls <secret> \//<1>
|
||||
----
|
||||
$ oc patch apiserver cluster \
|
||||
--type=merge -p \
|
||||
'{"spec":{"servingCerts": {"namedCertificates": \
|
||||
[{"names": ["<FQDN>"], \//<1>
|
||||
"servingCertificate": {"name": "<secret>"}}]}}}' <2>
|
||||
'{"spec":{"servingCerts": {"namedCertificates":
|
||||
[{"names": ["<FQDN>"],
|
||||
"servingCertificate": {"name": "<secret>"}}]}}}'
|
||||
----
|
||||
<1> Replace `<FQDN>` with the FQDN that the API server should provide the certificate for. Do not include the port number.
|
||||
<2> Replace `<secret>` with the name used for the secret in the previous step.
|
||||
where:
|
||||
|
||||
<FQDN>:: Replace `<FQDN>` with the FQDN that the API server should provide the certificate for. Do not include the port number.
|
||||
<secret>:: Replace `<secret>` with the name used for the secret in the previous step.
|
||||
|
||||
. Examine the `apiserver/cluster` object and confirm the secret is now
|
||||
referenced.
|
||||
|
||||
Reference in New Issue
Block a user