Adding and Deleting a Kyma Module Using Kyma CLI ​
This tutorial shows how you can add and delete a new module using Kyma CLI.
WARNING
Modules added without any specified form of the custom resource have the policy field set to Ignore.
Procedure ​
Adding a New Module ​
Check the list of modules that you can add:
bashkyma module catalogAdd a new module:
To add a new module with the default policy set to
CreateAndDelete, use the following command:bashkyma module add {MODULE-NAME} --default-crTo add a module with a different CR, use the
--cr-path={CR-FILEPATH}flag:bashkyma module add {MODULE-NAME} --cr-path={CR-PATH-FILEPATH}To specify which channel the module should use, add the
-c {CHANNEL-NAME}flag:bashkyma module add {MODULE-NAME} -c {CHANNEL-NAME} --default-cr
To see if your module is added, run the following command:
bashkyma module list
Deleting an Existing Module ​
To delete an existing module, use the following command:
bash
kyma module delete {MODULE-NAME}