Merge pull request #2395 from eduardobaitello/patch-1

Remove warnings about hook ordering guarantees
pull/2386/merge
Matt Butcher 8 years ago committed by GitHub
commit 5a3692a72e

@ -155,12 +155,10 @@ One resource can implement multiple hooks:
Similarly, there is no limit to the number of different resources that Similarly, there is no limit to the number of different resources that
may implement a given hook. For example, one could declare both a secret may implement a given hook. For example, one could declare both a secret
and a config map as a pre-install hook. It is important to keep in mind, and a config map as a pre-install hook.
though, that there are no ordering guarantees about hooks.
When subcharts declare hooks, those are also evaluated. There is no way When subcharts declare hooks, those are also evaluated. There is no way
for a top-level chart to disable the hooks declared by subcharts. And for a top-level chart to disable the hooks declared by subcharts.
again, there is no guaranteed ordering.
It is also possible to define a weight for a hook which will help build a It is also possible to define a weight for a hook which will help build a
deterministic executing order. Weights are defined using the following annotation: deterministic executing order. Weights are defined using the following annotation:

Loading…
Cancel
Save