-
Notifications
You must be signed in to change notification settings - Fork 7
/
deployment.yml
52 lines (52 loc) · 1.17 KB
/
deployment.yml
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
42
43
44
45
46
47
48
49
50
51
52
apiVersion: apps/v1
kind: Deployment
metadata:
name: e3dc-rest
labels:
app: e3dc-rest
spec:
replicas: 1
selector:
matchLabels:
app: e3dc-rest
template:
metadata:
labels:
app: e3dc-rest
spec:
containers:
- name: e3dc-rest
image: ghcr.io/vchrisb/e3dc-rest:latest
ports:
- containerPort: 8080
env:
- name: E3DC_IP_ADDRESS
valueFrom:
secretKeyRef:
name: e3dc-secret
key: ip_address
- name: E3DC_USERNAME
valueFrom:
secretKeyRef:
name: e3dc-secret
key: username
- name: E3DC_PASSWORD
valueFrom:
secretKeyRef:
name: e3dc-secret
key: password
- name: E3DC_KEY
valueFrom:
secretKeyRef:
name: e3dc-secret
key: key
- name: E3DC_CONFIG
valueFrom:
secretKeyRef:
name: e3dc-secret
key: config
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: e3dc-secret
key: admin_password