You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPMENT.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -303,6 +303,21 @@ These are the general steps to do when replacing old Helm chart(s) with a Module
303
303
+ - crossplane-system/crossplane-packages
304
304
```
305
305
306
+
### Testing Modules
307
+
308
+
Modules should be tested just as components have been tested previously in the [tests](tests/).
309
+
310
+
#### Testing Chart to Module migration
311
+
312
+
For every release that replaces a Helm chart with a Module a maintenance test should be added to the migration prepare step.
313
+
This maintenance test will verify that the existing Helm release is adopted by the Module and not recreated as well as making sure that there is no unexpected diff in the resources managed by the Helm release.
314
+
315
+
The maintenance test implementation is [here](scripts/migration/crossplane.sh) and an example of a prepare step that uses the maintenance test looks like this:
0 commit comments