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>

Signed-off-by: Kevin Labesse <kevin@labesse.me>
pull/4961/head
Eric Thiebaut-George 7 years ago committed by Matthew Fisher
parent 3c483d83ac
commit d87c96e4b0

@ -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