Skip to content

Commit 1e773d0

Browse files
(Azure CXP) resolves MicrosoftDocs/azure-docs#48423
Sapped " and ' in the command from kubectl config view --raw -o jsonpath='{.clusters[?(@.name == "myAKSCluster")].cluster.certificate-authority-data}' | base64 -d > my-cert.crt to kubectl config view --raw -o jsonpath="{.clusters[?(@.name == 'myAKSCluster')].cluster.certificate-authority-data}" | base64 -d > my-cert.crt. Verified this running same command on poweshell and bash and it is working as expected.
1 parent 4aad9a3 commit 1e773d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/aks/certificate-rotation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ AKS generates and uses the following certificates, Certificate Authorities, and
3838
>
3939
> Additionally, you can check the expiration date of your cluster's certificate. For example, the following command displays the certificate details for the *myAKSCluster* cluster.
4040
> ```console
41-
> kubectl config view --raw -o jsonpath='{.clusters[?(@.name == "myAKSCluster")].cluster.certificate-authority-data}' | base64 -d > my-cert.crt
41+
> kubectl config view --raw -o jsonpath="{.clusters[?(@.name == 'myAKSCluster')].cluster.certificate-authority-data}" | base64 -d > my-cert.crt
4242
> openssl x509 -in my-cert.crt -text
4343
> ```
4444

0 commit comments

Comments
 (0)