Sonar Helm Release failing using Bitnami Helmchart

apiVersion: “”
kind: HelmRelease
metadata:
name: sonarqube
namespace: cluster-config
spec:
values:
ingress:
enabled: true
hosts:
- “company.com
tls:
- hosts:
- “company.com
rbac:
create: false
sonarqubeUsername: “”
sonarqubePassword: “”
provisioningFolder: “/bitnami/sonarqube-provisioning”
persistence:
enabled: true
storageClass: default
accessMode: ReadWriteOnce
size: 10Gi
service:
type: ClusterIP
port: 9000
postgresql:
enabled: true
auth:
password: “”
username: “”
database: “”
primary:
service:
ports:
postgresql: 5432
persistence:
enabled: true
storageClass: default
accessMode: ReadWriteOnce
size: 8Gi
livenessProbe:
enabled: true
initialDelaySeconds: 300
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
readinessProbe:
enabled: true
initialDelaySeconds: 300
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3

HelmChart ‘cluster-config/cluster-config-sonarqube’ is not ready
Getting this error in my helmrelease

Hey there.

If you want to use bitnami’s chart, go ahead, but you’ll have to raise an issue on their GitHub repo.

We also maintain a Helm chart, which you’ll find more support for on this forum.

Ok, So I am now using the helmchart provided by sonarqube and am getting the error as shown in the image

My release.yaml

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: sonarqube
  namespace: cluster-config
spec:
  targetNamespace: general
  releaseName: sonarqube
  chart:
    spec:
      chart: sonarqube
      version: 8.0.0
      sourceRef:
        kind: HelmRepository
        name: sonarqube
        namespace: cluster-config
  interval: 5m
  install:
    remediation:
      retries: 3
  values:
    ingress:
      enabled: false
      hosts:
        - ""
      tls:
        - hosts:
             ""

and my values.yaml looks like

apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: sonarqube
  namespace: cluster-config
spec:
  values:
    ingress:
      enabled: true
      hosts:
      - ""
      tls:
      - hosts:
        - ""
    rbac:
      create: false
    persistence:
      enabled: true
      storageClass: default
      accessMode: ReadWriteOnce
      size: 10Gi
    postgresql:
      enabled: true
      postgresqlUsername: "sonarUser"
      postgresqlPassword: "sonarPass"
      postgresqlDatabase: "sonarDB"
      service:
        port: 5432
      resources:
        limits:
          cpu: 2
          memory: 2Gi
        requests:
          cpu: 100m
          memory: 200Mi
    service:
      type: ClusterIP
      port: 9000
    livenessProbe:
      enabled: true
      initialDelaySeconds: 300
      periodSeconds: 10
      timeoutSeconds: 5
      successThreshold: 1
      failureThreshold: 3
    readinessProbe:
      enabled: true
      initialDelaySeconds: 300
      periodSeconds: 10
      timeoutSeconds: 5
      successThreshold: 1
      failureThreshold: 3

image
Getting this error as of now

A good place to start would be fetching the logs

kubectl logs -f statefulsets/general/sonarqube-sonarqube