Skip to content

Commit

Permalink
(fix) Fix config
Browse files Browse the repository at this point in the history
(feat) Health check now checks the root, which is at least makes sure we can serve something.
  • Loading branch information
rrw-zilliqa committed Dec 30, 2024
1 parent 6b73c0d commit 116409a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cd/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ spec:
value: yes
volumeMounts:
- name: config-vol
subPath: config.json
mountPath: /usr/share/nginx/html/config.json
ports:
- containerPort: 80
Expand All @@ -35,7 +36,7 @@ spec:
memory: 100Mi
readinessProbe:
httpGet:
path: /health
path: /
port: 80
volumes:
- name: config-vol
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion cd/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ patches:
configMapGenerator:
- name: config
files:
- config.yaml
- config.json

namespace: otterscan-stg

0 comments on commit 116409a

Please sign in to comment.