summaryrefslogtreecommitdiff
path: root/k8s/cas-deployment.yaml
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-09-15 16:02:02 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-09-15 16:02:02 +0200
commit7b404a6d2321f27e9a808aca267bf8f9e4e681aa (patch)
tree472003eba97e891d68b241254531bb07033e810e /k8s/cas-deployment.yaml
parent02e41bc8e457ffb6a96e8ae551f172df8140c578 (diff)
Remove K8s stuff
Diffstat (limited to 'k8s/cas-deployment.yaml')
-rw-r--r--k8s/cas-deployment.yaml52
1 files changed, 0 insertions, 52 deletions
diff --git a/k8s/cas-deployment.yaml b/k8s/cas-deployment.yaml
deleted file mode 100644
index fc0289a..0000000
--- a/k8s/cas-deployment.yaml
+++ /dev/null
@@ -1,52 +0,0 @@
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: cas-deployment
-spec:
- replicas: 1
- selector:
- matchLabels:
- app: cas
- template:
- metadata:
- labels:
- app: cas
- spec:
- containers:
- - name: cas
- image: ghcr.io/cas-4/backend:latest
- imagePullPolicy: Always
- env:
- - name: RUST_LOG
- valueFrom:
- configMapKeyRef:
- name: cas-config
- key: RUST_LOG
- - name: DATABASE_URL
- valueFrom:
- configMapKeyRef:
- name: cas-config
- key: DATABASE_URL
- - name: JWT_SECRET
- valueFrom:
- secretKeyRef:
- name: cas-secret
- key: JWT_SECRET
- - name: EXPO_ACCESS_TOKEN
- valueFrom:
- secretKeyRef:
- name: cas-secret
- key: EXPO_ACCESS_TOKEN
- - name: UNREALSPEECH_TOKEN
- valueFrom:
- secretKeyRef:
- name: cas-secret
- key: UNREALSPEECH_TOKEN
- - name: ALLOWED_HOST
- valueFrom:
- configMapKeyRef:
- name: cas-config
- key: ALLOWED_HOST
- ports:
- - containerPort: 8000
- restartPolicy: Always