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: version with:
```sh ```sh
kubectl get deployment -n cnpg-system cnpg-controller-manager -o yaml \ kubectl get deployment -n cnpg-system cnpg-controller-manager \
| grep ghcr.io/cloudnative-pg/cloudnative-pg -o jsonpath="{.spec.template.spec.containers[*].image}"
``` ```
Example output: Example output:
```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**. The version **must be 1.26 or newer**.