-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add some Init Containers to make sure Postgres is up * Governance/Multitenant Agent * Mediator * Trust Registry * NATS does not depend on Istio
- Loading branch information
Showing
9 changed files
with
96 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,8 +70,13 @@ readinessProbe: | |
autoscaling: | ||
enabled: false | ||
|
||
initContainers: | ||
- name: nc-postgres | ||
image: busybox | ||
command: ['sh', '-c', 'until nc -z cloudapi-pgproxy 5432; do echo waiting for pgproxy; sleep 2; done;'] | ||
|
||
secretData: | ||
POSTGRES_DATABASE_URL: postgresql://trust-registry:trust-registry@cloudapi-postgresql:5432/trust-registry?sslmode=prefer | ||
POSTGRES_DATABASE_URL: postgresql://trust-registry:trust-registry@cloudapi-pgproxy:5432/trust-registry?sslmode=prefer | ||
Check failure Code scanning / SonarCloud PostgreSQL database passwords should not be disclosed High
Make sure this PostgreSQL database password gets changed and removed from the code. See more on SonarQube Cloud
|
||
|
||
env: | ||
LOG_LEVEL: warning | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,8 +70,13 @@ readinessProbe: | |
autoscaling: | ||
enabled: false | ||
|
||
initContainers: | ||
- name: nc-postgres | ||
image: busybox | ||
command: ['sh', '-c', 'until nc -z cloudapi-pgproxy 5432; do echo waiting for pgproxy; sleep 2; done;'] | ||
|
||
secretData: | ||
POSTGRES_DATABASE_URL: postgresql://trust-registry:trust-registry@cloudapi-postgresql:5432/trust-registry?sslmode=prefer | ||
POSTGRES_DATABASE_URL: postgresql://trust-registry:trust-registry@$cloudapi-pgproxy:5432/trust-registry?sslmode=prefer | ||
Check failure Code scanning / SonarCloud PostgreSQL database passwords should not be disclosed High
Make sure this PostgreSQL database password gets changed and removed from the code. See more on SonarQube Cloud
|
||
|
||
env: | ||
LOG_LEVEL: warning | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters