This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update v1alpha2 HNCConfig modes to camel case
Update v1alpha2 HNCConfig sync modes to camel case, e.g. 'propagate' to 'Propagate'. In addition, add e2e test case to make sure v1alpha2 HNCConfig reconciler is working as expected. Verify v1alpha1 'propagate' is not treated as unknown and converted to v1alpha2 'Ignore'. Verify object propagation is still working after conversion. Tested by 'make test-conversion'. When the old cached image was used, v1alpha1 'propagate' was converted to v1alpha2 'Ignore'. After the image was re-pulled, it was converted to v1alpha2 'Propagate' correctly.
- Loading branch information
1 parent
8c65c19
commit 9a9e4a7
Showing
4 changed files
with
102 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters