Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module update based on manifests without dependencies to module-manager #166

Merged
merged 22 commits into from
Feb 14, 2023

Conversation

szwedm
Copy link
Contributor

@szwedm szwedm commented Feb 9, 2023

Description

Changes proposed in this pull request:

Continuation of #98.

This pull request introduces changes in the provisioning and update workflows. It replaces module-manager dependency in favour of a new solution based on manifests rendered from the chart. The reconciler deletes outdated resources listed in module-resources/delete/to-delete.yml and applies objects fetched from manifests in module-resources/apply. The reconciler ensures that specs between manifests and cluster resources stay consistent and doesn't allow any difference between them.

Related issue(s)

Closes #148.

@kyma-bot kyma-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 9, 2023
@kyma-bot
Copy link
Contributor

kyma-bot commented Feb 9, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kyma-bot kyma-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Feb 9, 2023
@szwedm szwedm force-pushed the feature/update-based-on-manifests branch from 57c4ca4 to b791b02 Compare February 13, 2023 05:52
@szwedm szwedm marked this pull request as ready for review February 13, 2023 05:58
@szwedm szwedm changed the title [WIP] Module update based on manifests without dependencies to module-manager Module update based on manifests without dependencies to module-manager Feb 13, 2023
@kyma-bot kyma-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 13, 2023
@szwedm szwedm force-pushed the feature/update-based-on-manifests branch 3 times, most recently from e64f0c0 to b651b92 Compare February 13, 2023 07:27
@szwedm szwedm force-pushed the feature/update-based-on-manifests branch from b651b92 to 0576dac Compare February 13, 2023 07:34
timeout := time.After(ReadyTimeout)
for i := 0; i < numOfResources; i++ {
select {
case <-resourcesReadinessInformer:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WaitGroup doesn't have a timeout

controllers/btpoperator_controller_test.go Show resolved Hide resolved
controllers/btpoperator_controller_test.go Show resolved Hide resolved
controllers/btpoperator_controller_test.go Show resolved Hide resolved
controllers/btpoperator_controller_test.go Show resolved Hide resolved
internal/ymlutils/extractor.go Show resolved Hide resolved
internal/ymlutils/renamer.go Show resolved Hide resolved
internal/ymlutils/renamer.go Show resolved Hide resolved
internal/ymlutils/extractor.go Show resolved Hide resolved
controllers/btpoperator_controller.go Show resolved Hide resolved
controllers/btpoperator_controller.go Outdated Show resolved Hide resolved
@kyma-bot kyma-bot added the lgtm Looks good to me! label Feb 14, 2023
@kyma-bot kyma-bot merged commit 2adb769 into kyma-project:main Feb 14, 2023
@szwedm szwedm mentioned this pull request Feb 16, 2023
@szwedm szwedm deleted the feature/update-based-on-manifests branch April 5, 2024 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me! size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Module update based on manifests
3 participants