add "-o yaml" to "kubectl get deployment..."

Signed-off-by: Daniel Chambre <smiyc@pm.me>
This commit is contained in:
Daniel Chambre 2025-02-18 09:36:19 +01:00 committed by Marco Nenciarini
parent 5dde0c18cd
commit dc14630838

View File

@ -74,7 +74,7 @@ Heres an enhanced version of your instructions for verifying the prerequisite
If CloudNativePG is installed in the default `cnpg-system` namespace, verify its version using the following command:
```sh
kubectl get deployment -n cnpg-system cnpg-controller-manager \
kubectl get deployment -n cnpg-system cnpg-controller-manager -o yaml \
| grep ghcr.io/cloudnative-pg/cloudnative-pg
```