mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
docs: avoid using grep to parse kubectl output (#404)
Updated the installation instructions to use only `kubectl` for displaying the CNPG operator version. Signed-off-by: George Gaál <gb12335@gmail.com>
This commit is contained in:
parent
2a75d40356
commit
5b69cdf253
@ -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**.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user