Skip to content

Commit 4b4677b

Browse files
committed
sonar
1 parent 7205e6a commit 4b4677b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

ansible/inventory/group_vars/all.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ db:
165165
lc_collate: C
166166
lc_ctype: C
167167

168+
- name: sonarqube_db
169+
owner: sonarqube_user
170+
encoding: UTF8
171+
lc_collate: en_US.UTF-8
172+
lc_ctype: en_US.UTF-8
173+
168174
users:
169175
# Utenti applicativi con accesso completo al loro database
170176
- name: invidious_user
@@ -190,6 +196,14 @@ db:
190196
privileges: ALL
191197
table_privs: ALL
192198
sequence_privs: ALL
199+
200+
- name: sonarqube_user
201+
password: "{{ lookup('community.hashi_vault.hashi_vault', 'cross/data/apps/sonarqube:postgres_password') }}"
202+
databases:
203+
- sonarqube_db
204+
privileges: ALL
205+
table_privs: ALL
206+
sequence_privs: ALL
193207

194208
redis:
195209
config:

kubernetes/charts/sonarqube/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ sonarqube:
6464
gateway: "cilium-gateway"
6565
gatewayNamespace: "kube-system"
6666
hostnames:
67-
- "sonarqube.local.ildoc.it"
67+
- "sonar.local.ildoc.it"
6868

6969
# Disabilita ingress tradizionale
7070
ingress:

0 commit comments

Comments
 (0)