blob: 5507d3d4d5fb7f10d9cb9c295016e51169d113c6 (
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
|
---
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_HOST
value: "redis-teddit-master"
- name: TRUST_PROXY
value: "true"
- name: USE_HELMET
value: "true"
- name: USE_HELMET_HSTS
value: "true"
...
|