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

Ensure only one of helm or fluxv2 plugins are configured. #4257

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

absoludity
Copy link
Contributor

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.).

Signed-off-by: Michael Nelson <minelson@vmware.com>
@@ -1,12 +1,12 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.11.0
version: 1.11.1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was getting the following error until I updated the deps:

Error: UPGRADE FAILED: template: kubeapps/templates/ingress.yaml:54:42: executing "kubeapps/templates/ingress.yaml" at <include "common.ingress.certManagerRequest" (dict "annotations" .Values.ingress.annotations)>: error calling include: template: no template "common.ingress.certManagerRequest" associated with template "gotpl"

Copy link
Contributor

@antgamdia antgamdia left a comment

Choose a reason for hiding this comment

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

Great, it's good to prevent some undesired combinations before actually installing the release.
(btw, I've to check again my IDE config wrt the trailing spaces :P)

@castelblanque
Copy link
Collaborator

Great, thanks for the improvement.
I'll merge the PR straight away so that it makes it to the upcoming release. Main reason being the fix for the Chart.lock you mention.

@castelblanque castelblanque merged commit f4b1f30 into main Feb 10, 2022
@castelblanque castelblanque deleted the 3695-dont-require-explicit-enable-redis branch February 10, 2022 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants