Skip to content

Commit

Permalink
add hachimitsu-random-bot (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zel9278 authored Jul 10, 2024
1 parent 438bd72 commit 4563a25
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions hachimitsu-random-bot/hachimitsu-random-bot-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hachimitsu-random-bot
labels:
app: hachimitsu-random-bot
spec:
replicas: 1
selector:
matchLabels:
app: hachimitsu-random-bot
template:
metadata:
labels:
app: hachimitsu-random-bot
spec:
containers:
- name: hachimitsu-random-bot
image: ghcr.io/zel9278/hachimitsu-random-bot:main@sha256:c7a4fa886f48ab58ef41ad38256c6c2d7dc863fcacb9c95c6eda8d1ecf4d0567
imagePullPolicy: IfNotPresent # because digest pinning
envFrom:
- secretRef:
name: hrb-secrets
securityContext:
capabilities:
drop:
- CAP_MKNOD
- CAP_NET_RAW
- CAP_AUDIT_WRITE
tolerations:
- key: "low-spec"
operator: "Equal"
value: "E2.1.Micro"
effect: "NoExecute"

0 comments on commit 4563a25

Please sign in to comment.