Skip to content

Commit 701c20d

Browse files
committed
Extend README
1 parent 4c98531 commit 701c20d

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

charts/psmdb-operator-crds/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ helm repo add percona https://percona.github.io/percona-helm-charts/
2626
helm install psmdb-operator-crds percona/psmdb-operator-crds --namespace psmdb --create-namespace
2727
```
2828

29+
> **Note:** Deleting CRD chart will trigger deletion of all the custom resources created using the CRDs thus deleting all clusters.
30+
> Uninstalling percona/psmdb-operator-crds chart should be approached with caution.
31+
2932
Then install the operator:
3033

3134
```sh

charts/psmdb-operator/README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,26 @@ This chart will deploy the Operator Pod for the further Percona Server for Mongo
1515

1616
## Installing the chart
1717

18-
To install the chart with the `psmdb` release name using a dedicated namespace (recommended):
18+
There are two ways to insall operator: using separate chart with operator Custom Resource Defenitions or using CRDs from the `crds/` directory.
19+
20+
### Using separate chart
21+
22+
Install CRD chart:
23+
24+
```sh
25+
helm repo add percona https://percona.github.io/percona-helm-charts/
26+
helm install psmdb-operator-crds percona/psmdb-operator-crds --namespace psmdb --create-namespace
27+
```
28+
> **Note:** Deleting CRD chart will trigger deletion of all the custom resources created using the CRDs thus deleting all clusters.
29+
> Uninstalling percona/psmdb-operator-crds chart should be approached with caution.
30+
31+
32+
Install operator chart:
33+
```sh
34+
helm install my-operator percona/psmdb-operator --version 1.22.0 --namespace my-namespace
35+
```
36+
37+
### Using the `crds/` directory.
1938

2039
```sh
2140
helm repo add percona https://percona.github.io/percona-helm-charts/

0 commit comments

Comments
 (0)