aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deployment.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/deployment.yaml b/deployment.yaml
new file mode 100644
index 00000000..b74e42d4
--- /dev/null
+++ b/deployment.yaml
@@ -0,0 +1,23 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: site
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: site
+ template:
+ metadata:
+ labels:
+ app: site
+ spec:
+ containers:
+ - name: site
+ image: ghcr.io/python-discord/site:latest
+ imagePullPolicy: Always
+ ports:
+ - containerPort: 8000
+ envFrom:
+ - secretRef:
+ name: site-env