add app sonarqube
This commit is contained in:
12
apps/sonarqube/env/k3s-cluster/config.json
vendored
Normal file
12
apps/sonarqube/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "sonarqube",
|
||||
"userGivenName": "sonarqube",
|
||||
"namespace": "sonarqube",
|
||||
"destNamespace": "sonarqube",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/sonarqube/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
apps/sonarqube/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
apps/sonarqube/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: sonarqube
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 5.2.10
|
||||
releaseName: sonarqube
|
||||
valuesFile: values.yaml
|
||||
38
apps/sonarqube/env/k3s-cluster/values.yaml
vendored
Normal file
38
apps/sonarqube/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
clusterDomain: sonarqube.cluster.edward.sydney
|
||||
sonarqubeUsername: sonarqube
|
||||
existingSecret: "sonarqube-secrets"
|
||||
sonarqubeEmail: "me@edward.sydney"
|
||||
smtpHost: "smtp.gmail.com"
|
||||
smtpPort: "587"
|
||||
smtpUser: "me@edward.sydney"
|
||||
smtpProtocol: "TLS"
|
||||
smtpExistingSecret: "sonarqube-secrets"
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
service:
|
||||
ports:
|
||||
http: 8090
|
||||
elastic: 9091
|
||||
nodePorts:
|
||||
http: 30080
|
||||
elastic: 30091
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
hostname: "sonarqube.cluster.edward.sydney"
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: local-path
|
||||
size: "32Gi"
|
||||
existingClaim: "sonarqube-pvc"
|
||||
serviceAccount:
|
||||
name: "sonarqube"
|
||||
postgresql:
|
||||
enabled: false
|
||||
externalDatabase:
|
||||
host: "postgresql-primary.argocd.svc.cluster.local"
|
||||
user: "sonarqube_user"
|
||||
existingSecret: "sonarqube-secrets"
|
||||
Reference in New Issue
Block a user