-
Notifications
You must be signed in to change notification settings - Fork 1
/
radius-mysql-deployment.yaml
50 lines (50 loc) · 1.24 KB
/
radius-mysql-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: radius-mysql
name: radius-mysql
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: radius-mysql
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert
kompose.version: 1.26.0 (40646f47)
creationTimestamp: null
labels:
io.kompose.service: radius-mysql
spec:
containers:
- env:
- name: MYSQL_DATABASE
value: radius
- name: MYSQL_PASSWORD
value: dalodbpass
- name: MYSQL_ROOT_PASSWORD
value: dalorootpass
- name: MYSQL_USER
value: radius
image: mariadb:10.3
name: radius-mysql
ports:
- containerPort: 3306
resources: {}
volumeMounts:
- mountPath: /var/lib/mysql
name: radius-mysql-claim0
restartPolicy: Always
volumes:
- name: radius-mysql-claim0
persistentVolumeClaim:
claimName: radius-mysql-claim0
status: {}