Ensure only one of helm or fluxv2 plugins are configured. #4257
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.
Signed-off-by: Michael Nelson minelson@vmware.com
Description of the change
Currently it's possible to configure the kubeapps apis service with both the fluxv2 and helm plugins running. This is not something we are able to support right now, since it would enable interacting with the helm releases directly when they are being managed by flux (as well as confusingly display apps twice).
I've used the new chart validation that @antgamdia added recently, since it's nice to catch the configuration issue before doing the deployment.
Benefits
We don't allow a configuration which we don't intend to support.
Possible drawbacks
Applicable issues
Additional information
Next up, removing the need to enable redis (and removing postgres when helm plugin is not used? - possibly, depends on effects, may need to also remove assetsvc, apprepo controller etc.).