GithubHelp home page GithubHelp logo

Comments (5)

stevehipwell avatar stevehipwell commented on July 23, 2024

@oisis where are you sourcing this information from? The official docs show the current variables as correct and the installation guide shows the variables that you've quoted as deprecated.

from helm-charts.

oisis avatar oisis commented on July 23, 2024

I was trying to setup SonarQube with Postgres on K8s with your chart and i couldn't get it working. After some small investigation all was set up properly but had to change env variables names. Please check this:
https://github.com/SonarSource/docker-sonarqube/blob/master/7/community/Dockerfile#L7-L11
https://github.com/SonarSource/docker-sonarqube/blob/master/8/community/run.sh#L49-L51
I believe, you have to use the same ENV VAR names as is in SonarQube docker images.

from helm-charts.

stevehipwell avatar stevehipwell commented on July 23, 2024

@oisis the latest chart is for v9 and doesn't support v7, if it works so be it but I doubt it would, or v8, which should work fine as there haven't been any chart changes that would stop this. If you want to use v7 or v8 in a supported way please use an older chart version.

To clarify the issue you reported (I'm assuming that you're on v8 or v9) the function you've highlighted set_prop_from_deprecated_env_var specifically calls out that the env variables you so confidently told me I should swap in are in fact deprecated, I gave you the link to the official documentation and a deprecation notice above.

These charts are provided as is and with the usual advice of not running DBs in K8s; I personally use RDS instances and can confirm that the env variables in the chart work correctly. I wouldn't go as far as to say that the embedded PSQL chart definitely work, although it did last time I tested it. I'm happy to look at the values you're providing to see if there is anything obvious but besides that you could use a different source for PSQL, such as a separate chart, and pass in the connection values.

from helm-charts.

oisis avatar oisis commented on July 23, 2024

Yes, you are right, i was trying to setup SQ 7 with latest chart version. Will try next to setup later SQ 8 and 9(upgrade process from 7) with this chart. Anyway thanks for your help. If chart is working ok with SQ9 i think you can close this ticket.

from helm-charts.

stevehipwell avatar stevehipwell commented on July 23, 2024

@oisis I remembered wrong, I've never supported v7 in my chart but there is a v7 chart in the legacy repo.

In general a Helm chart should be compatible with a different patch version to the one it's released with; it might be compatible with a different minor version; but it's unlikely to be compatible with a different major version. This rule is made even more likely with something complex, like SonarQube, or something not necessarily designed for Kubernetes or even containers, like SonarQube.

from helm-charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.