docs(chart_hooks.md): Rename annotation from hookWeight to hook-weight

pull/2157/head
Jonathan Chauncey 9 years ago
parent b9ef8dbe56
commit fe57500930

@ -116,7 +116,7 @@ metadata:
# This is what defines this resource as a hook. Without this line, the # This is what defines this resource as a hook. Without this line, the
# job is considered part of the release. # job is considered part of the release.
"helm.sh/hook": post-install "helm.sh/hook": post-install
"helm.sh/hookWeight": "-5" "helm.sh/hook-weight": "-5"
spec: spec:
template: template:
metadata: metadata:
@ -161,7 +161,7 @@ It is also possible to define a weight for a hook which will help build a determ
``` ```
annotations: annotations:
"helm.sh/hookWeight": "5" "helm.sh/hook-weight": "5"
``` ```
Hook weights can be positive or negative numbers but must be represented as strings. When Tiller starts the execution cycle of hooks of a particular Kind it will sort those hooks in ascending order. Hook weights can be positive or negative numbers but must be represented as strings. When Tiller starts the execution cycle of hooks of a particular Kind it will sort those hooks in ascending order.

Loading…
Cancel
Save