Closed hilariocoelho closed 3 years ago
Just saw #579 and that seems to fix. It uses an helm method specifically to install CRDs which verifies if the CRD is already installed or not. It is documented here.
Hello,
just wanted to chime in and say that a toggle in the helm chart for the CRD would be needed still, in case you do not have permissions to create something at cluster level. Like you said, the CRDs are not on namespace level and thus someone with access rights to only namespaces cannot deploy the chart currently.
Or is there any other way?
Fixed in #696
Profile
is being installed on every helm chart installation and there isn't any flag that prevents this behavior. Since a CRD is not namespace scoped, this breaks my development environment where every develop has his own sandbox with his own openfaas installation.The first chart installation creates the kubernetes CRD but on the second installation it fails to install because the CRD is already installed.
Expected Behaviour
Should be possible to install multiple openfaas charts on the same kubernetes cluster.
Current Behaviour
On the second openfaas chart installation it prompts the following error:
Possible Solution
operator.createCRD
should be used as a flag to install the CRD or not.Steps to Reproduce (for bugs)
Install an openfaas chart on a kubernetes cluster
Install a second openfaas chart on the same kubernetes cluster
Function
CRD creation by settingoperator.createCRD=false
.Context
This issue is blocking me from having multiple openfaas instances running on the same cluster. This is an impediment to have a development environment where every developer has his own sandbox completely decoupled from the other.
I didn't have this issue while running Openfaas chart 5.8.4. Just tested with Openfaas 6.0.1 but seems like 6.0.3 still has the same issue
Your Environment
FaaS-CLI version ( Full output from:
faas-cli version
): N/ADocker version
docker version
(e.g. Docker 17.0.05 ): N/AWhat version and distriubtion of Kubernetes are you using?
kubectl version
N/AOperating System and version (e.g. Linux, Windows, MacOS): N/A
Link to your project or a code example to reproduce issue: N/A
What network driver are you using and what CIDR? i.e. Weave net / Flannel N/A