Comments (5)
@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.
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.
@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.
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.
@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)
- [nexus3] Allow user credentials specified by kubernetes secret HOT 11
- FR: thoughts about adding tar to the nexus container HOT 2
- Update PlantUML PodDisruptionBudget API HOT 1
- Problem using rootPassword and persistence HOT 5
- [thanos] Unable to update to 1.13.0 - YAML parsing error HOT 3
- [Thanos] StatefulSet PVC Retention Policy HOT 1
- Aggregator Not Sending Logs to outputs After Running for a Few Hours HOT 6
- bug(confluence-server): No template "postgresql.primary.fullname" HOT 2
- More info regarding blob store configuration for Nexus HOT 4
- Allow overriding repository for init containers in Nexus helm chart HOT 2
- [thanos] How to implement authentication HOT 3
- Would you add `resources.extra` field so that I can add my gpu value into the resource? HOT 1
- [Nexus3] Deployment doesn't scale more than one HOT 7
- [nexus] Ldap password escaping \ breaks other passwords that have sed special characters (&) HOT 3
- [thanos] support prometheus sidecar method of deployment HOT 2
- [nexus3] Setting rootPassword.key has no effect HOT 2
- thanos-recever-router ingress creation issue HOT 1
- [nexus3] Question: Requirement for groovy script files in helm chart? HOT 2
- Missing Permissions for ippools in tigera-operator ClusterRole v2.10.0
- softQuota option in blobStore chart section HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.