Recommend using crd-install instead of pre-install (#5139)

* 5138 Recommended using crd-install instead of pre-install

Signed-off-by: Eric Thiebaut-George <ethiebautgeorge@tycoint.com>

* 5138 Updated section title

Signed-off-by: Eric Thiebaut-George <ethiebautgeorge@tycoint.com>
pull/5141/head
Eric Thiebaut-George 6 years ago committed by Matthew Fisher
parent 5a404f114e
commit 4634f5f2fa

@ -28,10 +28,10 @@ resources that use that CRD in _another_ chart.
In this method, each chart must be installed separately. In this method, each chart must be installed separately.
### Method 2: Pre-install Hooks ### Method 2: Crd-install Hooks
To package the two together, add a `pre-install` hook to the CRD definition so To package the two together, add a `crd-install` hook to the CRD definition so
that it is fully installed before the rest of the chart is executed. that it is fully installed before the rest of the chart is executed.
Note that if you create the CRD with a `pre-install` hook, that CRD definition Note that if you create the CRD with a `crd-install` hook, that CRD definition
will not be deleted when `helm delete` is run. will not be deleted when `helm delete` is run.

Loading…
Cancel
Save