Commit c85bee3
authored
Notebook Instance Lifecycle Configuration Code + Integration test (#75)
This is a pull request for the Notebook Instance Lifecycle configuration operator and it's integration test.
Files modified:
generator.yaml: Adds necessary status fields, hooks, errors for Notebook Instance Lifecycle Configuration.
Files added:
delta_post_compare.go.tpl: hook that uses functions in custom_delta.go to update the delta(difference between latest/desired).
sdk_update_post_set_output.go.tpl: hook that makes the controller re queue after an update.
custom_delta.go: Contains function to compare the onCreate and onStart fields of the Notebook Instance Life cycle Configuration.
hooks.go: Contains the requeueWhileUpdating variable that is used in sdk.go to requeue after an update, this is to make sure the LastModifiedTime status field gets updated.
test_notebook_instance_lifecycle.py: Contains the integration test for the Notebook Instance Lifecycle configuration.
This integration test creates, updates and deletes a Notebook Instance Lifecycle configuration.
notebook_instance_lifecycle_config.yaml: Contains the crd(thats used for the integration test) for Notebook Instance Lifecycle configuration.1 parent 74a8ec3 commit c85bee3
File tree
30 files changed
+2105
-5
lines changed- apis/v1alpha1
- cmd/controller
- config
- crd
- bases
- rbac
- helm
- crds
- templates
- pkg/resource/notebook_instance_lifecycle_config
- templates/notebook_instance_lifecycle_config
- test/e2e
- resources
- tests
30 files changed
+2105
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
728 | 767 | | |
729 | 768 | | |
730 | 769 | | |
| |||
757 | 796 | | |
758 | 797 | | |
759 | 798 | | |
760 | | - | |
| 799 | + | |
761 | 800 | | |
762 | 801 | | |
763 | 802 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments