Skip to content

Commit

Permalink
Add health probes to access-backend (#2738)
Browse files Browse the repository at this point in the history
Co-authored-by: burtonk <117617405+k-burt-uch@users.noreply.github.com>
  • Loading branch information
jawadqur and k-burt-uch authored Feb 24, 2025
1 parent 048979f commit 9f34c98
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,18 @@
{
"path": "detect_secrets.filters.allowlist.is_line_allowlisted"
},
{
"path": "detect_secrets.filters.common.is_baseline_file",
"filename": ".secrets.baseline"
},
{
"path": "detect_secrets.filters.common.is_ignored_due_to_verification_policies",
"min_level": 2
},
{
"path": "detect_secrets.filters.gibberish.should_exclude_secret",
"limit": 3.7
},
{
"path": "detect_secrets.filters.heuristic.is_indirect_reference"
},
Expand Down Expand Up @@ -651,15 +659,6 @@
"line_number": 25
}
],
"kube/services/access-backend/access-backend-deploy.yaml": [
{
"type": "Secret Keyword",
"filename": "kube/services/access-backend/access-backend-deploy.yaml",
"hashed_secret": "dbf88a0c3d905c669c0fd13bf8172bb34d4b1168",
"is_verified": false,
"line_number": 60
}
],
"kube/services/acronymbot/acronymbot-deploy.yaml": [
{
"type": "Secret Keyword",
Expand Down Expand Up @@ -3558,5 +3557,5 @@
}
]
},
"generated_at": "2025-02-06T17:46:51Z"
"generated_at": "2025-02-18T18:53:02Z"
}
8 changes: 8 additions & 0 deletions kube/services/access-backend/access-backend-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ spec:
- name: AWS_DEFAULT_REGION
value: "us-east-1"
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /_status
port: 80
readinessProbe:
httpGet:
path: /_status
port: 80
ports:
- containerPort: 80
volumeMounts:
Expand Down

0 comments on commit 9f34c98

Please sign in to comment.