Skip to content

Commit 57ae5a9

Browse files
authored
Merge branch 'main' into develop
2 parents 9d44c88 + 30c5c70 commit 57ae5a9

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

k8s/k8s.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
app.kubernetes.io/part-of: ctfpilot
77
app.kubernetes.io/name: error-fallback
8-
app.kubernetes.io/version: 1.0.0-r.1
8+
app.kubernetes.io/version: 1.0.0
99
app.kubernetes.io/component: challenges
1010
ctfpilot.com/component: error-fallback
1111

@@ -24,8 +24,8 @@ spec:
2424
enableServiceLinks: false
2525
automountServiceAccountToken: false
2626
containers:
27-
- name: instancing-fallback
28-
image: ctfpilot/error-fallback:1.0.0-r.1
27+
- name: error-fallback
28+
image: ctfpilot/error-fallback:1.0.0
2929
imagePullPolicy: Always
3030
ports:
3131
- name: http
@@ -43,6 +43,12 @@ spec:
4343
port: 80
4444
initialDelaySeconds: 5
4545
periodSeconds: 10
46+
readinessProbe:
47+
httpGet:
48+
path: /
49+
port: 80
50+
initialDelaySeconds: 2
51+
periodSeconds: 5
4652
---
4753
apiVersion: v1
4854
kind: Service
@@ -51,7 +57,7 @@ metadata:
5157
labels:
5258
app.kubernetes.io/part-of: ctfpilot
5359
app.kubernetes.io/name: error-fallback
54-
app.kubernetes.io/version: 1.0.0-r.1
60+
app.kubernetes.io/version: 1.0.0
5561
app.kubernetes.io/component: challenges
5662
ctfpilot.com/component: error-fallback
5763
spec:

0 commit comments

Comments
 (0)