From 2db4892d00d439a17b8b5db813a9e7a500e6566b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Ga=C3=A1l?= Date: Thu, 12 Jun 2025 18:04:08 +0200 Subject: [PATCH] Update installation.mdx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix the kubectl command to not depend in external grep Signed-off-by: George Gaál --- web/docs/installation.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/docs/installation.mdx b/web/docs/installation.mdx index 85bd41b..027d1e8 100644 --- a/web/docs/installation.mdx +++ b/web/docs/installation.mdx @@ -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**.