Commit a2631c1
authored
When calculating Kustomize dependencies, include components (#6534)
When calling "kustomize(<directory>)" in a Tiltfile, the directory
is watched as well as any paths the Kustomization includes. This
doesn't currently include components, so Kustomizations that
include components[1] don't trigger a reload of the Tiltfile
and the Kustomization when files in those components change.
This commit adds the "components:"" field of a Kustomization to
the list of paths "dependenciesForKustomization" will inspect.
[1]: https://github.com/kubernetes-sigs/kustomize/blob/master/examples/components.md
Signed-off-by: Sam Clements <[email protected]>1 parent 661604e commit a2631c1
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
127 | 134 | | |
128 | 135 | | |
129 | 136 | | |
| 137 | + | |
130 | 138 | | |
131 | 139 | | |
132 | 140 | | |
| |||
0 commit comments