Skip to content

sonarqube plugin

TODO(jiafeng meng): I will add this document later.

Usage

YAML
tools:
# name of the tool
- name: sonarqube
  # id of the tool instance
  instanceID: default
  # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool.
  dependsOn: [ ]
  # options for the plugin
  options:
    # Helm repo information, this section is optional
    repo:
      # name of the Helm repo
      name: sonarqube
      # url of the Helm repo
      url: https://SonarSource.github.io/helm-chart-sonarqube
    # Helm chart information
    chart:
      # name of the chart
      chartName: sonarqube/sonarqube
      # release name of the chart
      releaseName: sonarqube
      # k8s namespace where SonarQube will be installed
      namespace: sonarqube
      # whether to wait for the release to be deployed or not
      wait: true
      # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s
      timeout: 20m
      # whether to perform a CRD upgrade during installation
      upgradeCRDs: true
      # custom configuration (Optional). You can refer to [SonarQube values.yaml](https://github.com/SonarSource/helm-chart-sonarqube/blob/master/charts/sonarqube/values.yaml)
      valuesYaml: |