-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement configuration injection in PackageVariant (#3939)
* Add injection API * Add validation for config injectors * Add updated CRD * Partial implementation of config injection * Test and fix setInjectionPointConditionsAndGates * Fix PVS test due to changed hash * Initial complete injection implementation Note that ensurePackageVariant needed some fixes. When I introduced applyMutations, I didn't properly update it to account for subsequent reconciliations; if an error happened in the first reconciation, it was never retried and rectified in later reconciliations. So, this change also includes that fix. Still more tests to do. * Additional tests, cleanup, bug fixes * Address review comments * Add TODO about watches for injected objects, fix nit
- Loading branch information
1 parent
4b107b7
commit 190dc23
Showing
10 changed files
with
1,588 additions
and
48 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
37 changes: 37 additions & 0 deletions
37
porch/controllers/packagevariants/api/v1alpha1/zz_generated.deepcopy.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.