-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yml
52 lines (50 loc) · 1.44 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: batch/v1beta1
kind: CronJob
metadata:
name: mysq-bk-s3-ftp-data
spec:
schedule: "0 0 * * *"
jobTemplate:
spec:
template:
spec:
restartPolicy: OnFailure
containers:
- name: mysq-bk-s3-ftp-data
image: deividdy/mysql-bk-s3-ftp:latest
env:
- name: MYSQLDUMP_OPTIONS
value: "--default-character-set=utf8 --single-transaction=TRUE --routines --events --no-create-info=TRUE"
- name: MYSQLDUMP_DATABASE
value: ""
- name: MYSQL_HOST
value: ""
- name: MYSQL_PORT
value: ""
- name: MYSQL_USER
value: ""
- name: MYSQL_PASS
value: ""
- name: S3_ACCESS_KEY_ID
value: ""
- name: S3_SECRET_ACCESS_KEY
value: ""
- name: S3_BUCKET
value: ""
- name: S3_PREFIX
value: ""
- name: S3_REGION
value: ""
- name: FTP_HOST
value: ""
- name: FTP_USER
value: ""
- name: FTP_PASS
value: ""
- name: FTP_PATH
value: ""
- name: FTP_FILE_NAME
value: ""
- name: FTP_OPTIONS
value: "--ftp-ssl"