Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

Commit

Permalink
static db name (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Kruggel authored Aug 29, 2023
1 parent b7ad879 commit 69d233c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 37 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The SonarQube Capability expects the database listed below to exist in the clust

- A Postgres database is running on port `5432` and accessible to the cluster
- This database can be logged into via the username `sonarqube`
- This database instance has a psql database created matching what is defined in the deploy time variable `SONARQUBE_DB`. Default is `sonarqubedb`
- This database instance has a psql database created named `sonarqubedb`
- The `sonarqube` user has read/write access to above mentioned database
- Create `sonarqube-postgres` service in `sonarqube` namespace that points to the psql database
- Create `sonarqube-postgres` secret in `sonarqube` namespace with the key `password` that contains the password to the `sonarqube` user for the psql database
4 changes: 2 additions & 2 deletions sonarqube-flux-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ application:

jdbcOverwrite:
enable: true
jdbcUrl: jdbc:postgresql://sonarqube-postgres.sonarqube.svc.cluster.local:5432/###ZARF_VAR_SONARQUBE_DB###
jdbcUrl: jdbc:postgresql://sonarqube-postgres.sonarqube.svc.cluster.local:5432/sonarqubedb
jdbcUsername: sonarqube
jdbcSecretName: sonarqube-postgres
jdbcSecretPasswordKey: password
Expand All @@ -90,6 +90,6 @@ application:
existingSecret: "sonarqube-postgres"
existingSecretPasswordKey: "password"
postgresqlUsername: "sonarqube"
postgresqlDatabase: "###ZARF_VAR_SONARQUBE_DB###"
postgresqlDatabase: "sonarqubedb"
service:
port: 5432
32 changes: 0 additions & 32 deletions values-sonarqube.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ variables:
default: "[]"
- name: SONARQUBE_CREATE_NAMESPACE
default: "true"
- name: SONARQUBE_DB
default: "sonarqubedb"
- name: DOMAIN
default: "bigbang.dev"

Expand Down

0 comments on commit 69d233c

Please sign in to comment.