aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-11-15 16:59:48 +0000
committerGravatar Joe Banks <[email protected]>2020-11-15 16:59:48 +0000
commit5759caed607a47fa115b23d67199265daf2ec5d8 (patch)
tree51b75b1cdbb0bd0f3d5ca9322236a9abf12e3387
parentRemove duplicated step (diff)
Add deployment manifest
-rw-r--r--deployment.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/deployment.yaml b/deployment.yaml
new file mode 100644
index 0000000..2c2a8c7
--- /dev/null
+++ b/deployment.yaml
@@ -0,0 +1,21 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: metricity
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ app: metricity
+ template:
+ metadata:
+ labels:
+ app: metricity
+ spec:
+ containers:
+ - name: metricity
+ image: ghcr.io/python-discord/metricity:latest
+ imagePullPolicy: "Always"
+ envFrom:
+ - secretRef:
+ name: metricity-env