Skip to content

Commit

Permalink
backend + k8s update
Browse files Browse the repository at this point in the history
  • Loading branch information
sritanmotati committed Feb 5, 2025
1 parent aa6e90f commit 6637972
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/Platform/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
path("accounts/", include("accounts.urls", namespace="oauth2_provider")),
path("options/", include("options.urls", namespace="options")),
path("identity/", include("identity.urls", namespace="identity")),
path("", include("health.urls", namespace="health")),
path("healthbackend/", include("health.urls", namespace="health")),
path("s/", include("shortener.urls", namespace="shortener")),
path(
"openapi/",
Expand Down
2 changes: 1 addition & 1 deletion backend/tests/identity/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def setUp(self):
self.client = Client()

def test_health(self):
url = reverse("health")
url = reverse("healthbackend:health")
resp = self.client.get(url)
self.assertEqual(resp.status_code, 200)
self.assertEqual(resp.json(), {"message": "OK"})
2 changes: 2 additions & 0 deletions k8s/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ export class MyChart extends PennLabsChart {
"/openapi",
"/documentation",
"/Shibboleth.sso",
"/healthbackend",
],
isSubdomain: true,
}],

ingressProps: {
annotations: {
["ingress.kubernetes.io/protocol"]: "https",
Expand Down

0 comments on commit 6637972

Please sign in to comment.