mulesoft-catalyst / mule-sonarqube-plugin

The Mule SonarQube Plugin provides the capability to do code inspecting and taking project metrics from a mule project using SonarQube.
The Unlicense
48 stars 69 forks source link

Plugin is not installing with Helm Chart on EKS Cluster #50

Open hasinireddy24 opened 2 years ago

hasinireddy24 commented 2 years ago

Hi,

I'm running sonarqube on EKS cluster, I installed sonarqube with the helm chart. Sonarqube version is 9.6.0 developer edition.

When I try to install the "mule-sonarqube-plugin" along with the rule-3 and rule-4 it is not getting installed. I added the plugin in values.yml file and did the helm upgrade, it is not installing. When I try to install the other plugins it is installing correctly. Only the mule-sonarqube-plugin having an issue.

The strange behavior observed: if I try to install this plugin it is not installing and it is removing the other existing plugin. But this is not happening if i use someother plugin.

Is this a bug or am I doing anywhere wrong?

Is this plugin can be installed with helmchart? If so how can I do that?

Note: Used terraform to install the sonarqube on EKS cluster

Any help is appreciated. Thank you.

hasinireddy24 commented 2 years ago

@fperezpa can you please look into this issue

brvaland commented 1 year ago

@fperezpa we are facing same issue with installing this plugin on EKS cluster. Is there a workaround or an update available ?

hectoralicea commented 1 year ago

wow, I'm about to start installing this plugin on my EKS cluster. Does it work on EKS?

hectoralicea commented 1 year ago

When using the helm install of sonarqube, can someone provide what the values.yaml entries should be other than:

plugins:
  install:
    - https://github.com/mulesoft-catalyst/mule-sonarqube-plugin/releases/download/1.06/mule-validation-sonarqube-plugin-1.0.6-mule.jar

does jvmOpts or jvmCeOpts need to be set?

hasinireddy24 commented 1 year ago

EKS sonarqube has some limitations,

Pod Security Policies : [ReadOnlyFileSystem] - SonarQube is doing some filesystem operations to the container filesystem in order to deploy the correct language analyzers and community plugins.

Sonarqube on EKS won’t support the 3rd party plugins installed. Mule-sonarqube-plugin won't work on EKS.

To use this plugin we went back to sonarqube on EC2.