Skip to content

Commit

Permalink
Move namespace to bots
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 authored Apr 14, 2024
1 parent b8f2165 commit f726f85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: metricity
namespace: bots
spec:
replicas: 1
selector:
Expand All @@ -12,10 +13,16 @@ spec:
labels:
app: metricity
spec:
securityContext:
fsGroup: 2000
runAsUser: 1000
runAsNonRoot: true
containers:
- name: metricity
image: ghcr.io/python-discord/metricity:latest
imagePullPolicy: "Always"
envFrom:
- secretRef:
name: metricity-env
securityContext:
readOnlyRootFilesystem: true

0 comments on commit f726f85

Please sign in to comment.