Skip to content

Instantly share code, notes, and snippets.

@hardyscc
Created November 21, 2024 14:34
Show Gist options
  • Save hardyscc/0b34b46a82e61b9344c70f98d412e1b8 to your computer and use it in GitHub Desktop.
Save hardyscc/0b34b46a82e61b9344c70f98d412e1b8 to your computer and use it in GitHub Desktop.
Sonarqube on MicroK8s

Sonarqube on MicroK8s

https://docs.sonarsource.com/sonarqube/9.9/setup-and-upgrade/deploy-on-kubernetes/deploy-sonarqube-on-kubernetes/

helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo update
kubectl create namespace sonarqube
helm upgrade --install -n sonarqube sonarqube sonarqube/sonarqube \
  --set ingress.enabled="true" \
  --set ingress.hosts[0].name="sonarqube.apps.mydomain.com" \
  --set ingress.tls[0].hosts[0]="sonarqube.apps.mydomain.com" \
  --set ingress.tls[0].secretName="sonarqube.apps.mydomain.com-tls" \
  --set ingress.annotations.'cert-manager\.io/cluster-issuer'="letsencrypt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment