Questions about the helm chart

Hi,

I see all the conversations to install sonarqube in k8s goes back to max 2024 (??) haven’t found any post newer than that. I wonder why.

The fact is that I am trying to use the Helm chart but it fails to install postgres as a first problem.

It refers to an image docker.io/bitnami/postgresql:11.14.0-debian-10-r22

And Bitnami has now, famously, died. There are no publications there, and it is not possible to use anything coming from them.

Reading some other threads here, I could change the helm values to pick an image from a different place, and for my surprise, the name “bitnami” is hardcoded somewhere, as such, if I add on the helm like this:

        postgresql:
          enabled: false
       global:
          imageRegistry: 'dhi.io/postgres'
       image:
          tag: 18

       service:
          port: 5432

He will try to deploy with postgres as: dhi.io/postgres/bitnami/postgresql:18

So the word bitname is hardcoded somewhere, which I could not find in the Helm templates…

I think the solution here is to deploy a postgress “on the side” , inside the same namespace and make it available to sonarqube…

Is there any idea why this is like that? Is there an “undocumented” solution?

This is a Helm deployment pretty much with the options from the documentation, so nothing really magical.

Let me know what could be done

To update to the previous idea – I deployed successfully a postgres on the same namespace, that went well..

Then sonarqube (from the latest helm == “~8” ) gives me:

NotFound desc = failed to pull and unpack image "``docker.io/library/sonarqube:9.9.9-community``": failed to resolve image: ``docker.io/library/sonarqube:9.9.9-community:`` not found

Using the Helm with default options and based on the documentation is completely broken?

The options now are:

`monitoringPasscode: "something"`

community:
enabled: false
buildNumber: "26.3.0.120487"
edition: "developer"

postgresql:
enabled: false

jdbcOverwrite:
enabled: true
jdbcUrl: "jdbc:postgresql://postgres-sonarqube:5432/sonarDB?ssl=false"
jdbcUsername: "someuser"
jdbcPassword: "somepass"

service:
type: LoadBalancer
port: 80

Hi,

Welcome to the community!

Our chart isn’t supposed to install Postgres, and our docs are clear on that.

Where are you getting your chart from?

 
Ann

1 Like