Skip to content

Commit

Permalink
docs: add homebrew install method for kubectl plugin (cloudnative-pg#…
Browse files Browse the repository at this point in the history
…4602)

Now possible to install the CNPG plugin for kubectl using homebrew
as package manager, more information about the package created
by the community can be found in the following url:
https://formulae.brew.sh/formula/kubectl-cnpg


Signed-off-by: Niklas Wagner <[email protected]>
  • Loading branch information
Skaronator authored May 21, 2024
1 parent a36d680 commit 524d845
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/src/kubectl-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,30 @@ kubectl krew update
kubectl krew upgrade cnpg
```

### Using Homebrew

!!! Note
Please note that the Homebrew community manages the availability of the [kubectl-cnpg plugin on Homebrew](https://formulae.brew.sh/formula/kubectl-cnpg).

If you already have [Homebrew](https://brew.sh/) installed, you can simply
run:

```sh
brew install kubectl-cnpg
```

When a new version of the plugin is released, you can update the existing
installation with:

```sh
brew update
brew upgrade kubectl-cnpg
```

!!! Note
Auto-completion for the kubectl plugin is already managed by Homebrew.
There's no need to create the `kubectl_complete-cnpg` script mentioned below.

### Supported Architectures

CloudNativePG Plugin is currently built for the following
Expand Down

0 comments on commit 524d845

Please sign in to comment.