aboutsummaryrefslogtreecommitdiffstats
path: root/deployment.yaml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-15 01:25:01 +0000
committerGravatar Joe Banks <[email protected]>2020-11-15 01:25:01 +0000
commit85be1eaf96b37c141972bd88d3a18edeb1503943 (patch)
treedc9ae97873a5167c40adfb6632cdf6c9ed460008 /deployment.yaml
parentUpdate CI badges in README (diff)
Add site manifest
Diffstat (limited to 'deployment.yaml')
-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