Skip to content

Commit

Permalink
Removed annugame leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
07joshua03 committed Oct 4, 2024
1 parent 6b29fc2 commit 2567d1d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 94 deletions.
37 changes: 0 additions & 37 deletions apps/annugame/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,43 +51,6 @@ spec:
requests:
cpu: 50m
memory: 150Mi
- name: annugame-leaderboard
image: ghcr.io/wisvch/annugame-leaderboard:20241002-7ea48fc # {"$imagepolicy": "flux-system:annugame-leaderboard"}
imagePullPolicy: IfNotPresent
ports:
- name: backend
containerPort: 5000
protocol: TCP
livenessProbe:
httpGet:
path: /api/
port: backend
initialDelaySeconds: 15
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /api/
port: backend
initialDelaySeconds: 15
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 5
resources:
limits:
memory: 512Mi
requests:
cpu: 50m
memory: 150Mi
env:
- name: "BASE"
value: "/api"
- name: "DB_BASE"
value: "/db"
volumeMounts:
- mountPath: /db
name: annugame-data
volumes:
- name: annugame-data
persistentVolumeClaim:
Expand Down
19 changes: 0 additions & 19 deletions apps/annugame/healthcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,3 @@ spec:
group: ""
kind: Service
name: annugame
---
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
metadata:
namespace: default
name: annugame-leaderboard
spec:
default:
config:
type: HTTP
httpHealthCheck:
port: 5000
requestPath: /
logConfig:
enabled: true
targetRef:
group: ""
kind: Service
name: annugame
9 changes: 1 addition & 8 deletions apps/annugame/httproute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,4 @@ spec:
rules:
- backendRefs:
- name: annugame
port: 80
- matches:
- path:
type: PathPrefix
value: "/api"
backendRefs:
- name: annugame
port: 5000
port: 80
27 changes: 1 addition & 26 deletions apps/annugame/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,4 @@ spec:
extract: "$ts"
policy:
numerical:
order: asc
---
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageRepository
metadata:
name: annugame-leaderboard
namespace: flux-system
spec:
image: ghcr.io/wisvch/annugame-leaderboard
interval: 15m0s
---
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImagePolicy
metadata:
name: annugame-leaderboard
namespace: flux-system
spec:
imageRepositoryRef:
name: annugame-leaderboard
filterTags:
pattern: "^(?P<ts>.*)-[a-fA-F0-9]+"
extract: "$ts"
policy:
numerical:
order: asc

order: asc
4 changes: 0 additions & 4 deletions apps/annugame/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ spec:
port: 80
protocol: TCP
targetPort: 80
- name: backend
port: 5000
protocol: TCP
targetPort: 5000
selector:
app: annugame
sessionAffinity: None
Expand Down

0 comments on commit 2567d1d

Please sign in to comment.