Skip to content

Commit 8b72bfa

Browse files
committed
fix: adjust readiness parameters
Signed-off-by: Zvi Grinberg <[email protected]>
1 parent 2909086 commit 8b72bfa

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

deploy/exhort.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ spec:
6464
httpGet:
6565
path: /q/health/ready
6666
port: 9000
67-
initialDelaySeconds: 5
68-
periodSeconds: 20
67+
initialDelaySeconds: 2
68+
periodSeconds: 15
6969
---
7070
apiVersion: v1
7171
kind: Service

deploy/openshift/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ objects:
7777
httpGet:
7878
path: /q/health/ready
7979
port: '${{MANAGEMENT_PORT}}'
80-
initialDelaySeconds: 5
81-
periodSeconds: 10
80+
initialDelaySeconds: 2
81+
periodSeconds: 15
8282
ports:
8383
- name: http
8484
containerPort: '${{SERVICE_PORT}}'

src/main/resources/application.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ api.snyk.host=https://app.snyk.io/api/v1
1111
# api.snyk.timeout=10s
1212
# api.snyk.disabled=true
1313

14-
api.trustedcontent.host=https://exhort.staging.trustification.dev/api/v1/
14+
api.trustedcontent.host=https://exhort.trust.rhcloud.com/api/v1/
1515
api.osvnvd.host=http://onguard:8080/
16-
api.osvnvd.management.host=http://onguard:9000/
1716

1817
api.ossindex.host=https://ossindex.sonatype.org/api/v3
19-
api.ossindex.disabled=true
18+
2019
report.snyk.issue.regex=https://security.snyk.io/vuln/__ISSUE_ID__
2120
report.ossindex.issue.regex=http://ossindex.sonatype.org/vulnerability/__ISSUE_ID__
2221
report.nvd.issue.regex=https://nvd.nist.gov/vuln/detail/__ISSUE_ID__

0 commit comments

Comments
 (0)