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

static db name #17

Merged
merged 2 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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