blob: 9542cdeb6e41076614ff073b0944342e2d755711 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: teddit
namespace: public-services
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: teddit
app.kubernetes.io/part-of: public-services
template:
metadata:
labels:
app.kubernetes.io/created-by: tyil
app.kubernetes.io/managed-by: manual
app.kubernetes.io/name: teddit
app.kubernetes.io/part-of: public-services
spec:
containers:
- name: teddit
image: teddit/teddit:latest
ports:
- containerPort: 8080
env:
- name: DOMAIN
value: "reddit.alt.tyil.nl"
- name: REDIS_DB
value: "1"
- name: REDIS_HOST
value: "10.57.100.7"
- name: TRUST_PROXY
value: "true"
- name: USE_HELMET
value: "true"
- name: USE_HELMET_HSTS
value: "true"
...
|