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

When openfaas addon is enabled, gopaddle-lite shows as enabled - and vice versa #209

Open
jtraxy opened this issue Nov 17, 2023 · 0 comments

Comments

@jtraxy
Copy link

jtraxy commented Nov 17, 2023

Summary

When you enable the openfaas addon, if you check what addons are enabled, the gopaddle-lite addon shows as enabled, which is not the case. This is because openfaas creates a gateway deployment which gopaddle-lite uses to check whether it is enabled. The same situation occurs in reverse; if gopaddle-lite is enabled, openfaas will report as enabled as well.

What Should Happen Instead?

The 'enabled' checks for openfaas and gopaddle-lite should be granular enough to distinguish between which is enabled and only then show as enabled the addon that is enabled (when you perform a microk8s status command).

Reproduction Steps

Easily reproducible:

  1. In a MicroK8s cluster, perform microk8s enable openfaas
  2. Then: microk8s status

Introspection Report

N/A

Can you suggest a fix?

The 'enabled' checks for openfaas and gopaddle-lite should be more granular, focusing on checking for something that is specific to each of those addon which the other of the addons does not have.
If it is difficult to find something specific per addon, it might be worth implementing the regex check code that Ali suggested in #166 and using a regex instead.

Are you interested in contributing with a fix?

no

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

No branches or pull requests

1 participant