I am trying to install Sonarqube using helm from repo : helm-chart-sonarqube/charts/sonarqube at master · SonarSource/helm-chart-sonarqube · GitHub
In values.yaml, i have given the below values;
deploymentType: “Deployment”
replicaCount: 2
ingress:
enabled: true
hosts:
- name:
path: /sonarqube
serviceName: sonarqube-sonarqube
servicePort: 9000 Exact|Prefix|ImplementationSpecific(default)
pathType: Prefix
annotations:
kubernetes.io/ingress.class: traefik
readinessProbe:
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 6
sonarWebContext: /sonarqube/
livenessProbe:
initialDelaySeconds: 60
periodSeconds: 30
failureThreshold: 6
sonarWebContext: /sonarqube/
sonar.web.context: /sonarqube
startupProbe:
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 24
sonarWebContext: /sonarqube/
With these configuration, i tried deploying sonar. But i was getting readiness probe failure. So i had given the ingress path which in my case is /sonarqube as an environment variable in deployment file as below,
env:
- name: SONAR_WEB_CONTEXT
value: /sonarqube
After this, the pods are running and i am able to see the login page, But after entering the admin username and password(username: admin, password: admin), it is again getting redirected to the login page. Its not getting logged in.
If i give a wrong password, then i get the authentication error message.
Is there anything, i am doing wrong?