Update installation.mdx

fix the kubectl command to not depend in external grep

Signed-off-by: George Gaál <gb12335@gmail.com>
This commit is contained in:
George Gaál 2025-06-12 18:04:08 +02:00 committed by Marco Nenciarini
parent 2a75d40356
commit 2db4892d00

View File

@ -23,14 +23,14 @@ plugin. If installed in the default `cnpg-system` namespace, you can verify the
version with:
```sh
kubectl get deployment -n cnpg-system cnpg-controller-manager -o yaml \
| grep ghcr.io/cloudnative-pg/cloudnative-pg
kubectl get deployment -n cnpg-system cnpg-controller-manager \
-o jsonpath="{.spec.template.spec.containers[*].image}"
```
Example output:
```output
image: ghcr.io/cloudnative-pg/cloudnative-pg:1.26.0
ghcr.io/cloudnative-pg/cloudnative-pg:1.26.0
```
The version **must be 1.26 or newer**.