forked from tuenti/secrets-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vault.yaml
54 lines (54 loc) · 917 Bytes
/
vault.yaml
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
53
54
---
apiVersion: v1
kind: Service
metadata:
name: vault
labels:
app: vault
spec:
ports:
- name: vault
port: 8200
targetPort: 8200
protocol: TCP
selector:
app: vault
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: vault
name: vault
spec:
selector:
matchLabels:
app: vault
replicas: 1
template:
metadata:
labels:
app: vault
spec:
containers:
- image: vault
name: vault
command:
- vault
args:
- server
- -dev
- -dev-listen-address=0.0.0.0:8200
ports:
- containerPort: 8200
name: vaultport
protocol: TCP
volumeMounts:
- name: root-home
mountPath: /root
env:
- name: VAULT_ADDR
value: http://localhost:8200
volumes:
- name: root-home
emptyDir: {}