[patch] Allow mas update to work when no local mongodb #1658
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
When you run
mas updatetoday on a cluster that does not have MongoDB CE installed the PipelineRun will fail withmongodb_versionnot being suppliedTo fix this I have:
mongodb_versionto""mongodb_actiontononemongodb_actiontoinstallwhen MongoDB CE is found on the clusterRelated Issues
Testing
Installed MAS
9.0.2fromv9-240827-amd64catalog using CLI11.1.3Updated MAS to
9.0.10withv9-250403-amd64catalog using CLI13.27.0-pre.mongo-upd-arm64Observed mas update pipeline - mongodb task ran and updated mongodb from
6.0.12to7.0.12Removed everything from cluster using mas uninstall
Installed MAS
9.0.2fromv9-240827-amd64catalog using CLI11.1.3Removed MongoDB CE from cluster and connected MAS to external MongoDB
Updated MAS to
9.0.10withv9-250403-amd64catalog using CLI13.27.0-pre.mongo-upd-arm64Observed mas update pipeline - mongodb task did not update mongodb because we pass in
noneas mongodb_action