forked from xur17/southwest-alerts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeployment.yaml
39 lines (39 loc) · 1.06 KB
/
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
apiVersion: epicconstructions.com/v1alpha1
kind: CronJob
metadata:
name: southwest-alerts
namespace: default
build: "BUILD_NUMBER"
spec:
schedule: "5 14 * * *"
jobTemplate:
spec:
template:
spec:
imagePullSecrets:
- name: registry.gitlab.com
restartPolicy: OnFailure
containers:
- image: xur17/southwest-alerts:latest
name: southwest-alerts
env:
- name: USERNAME1
valueFrom:
secretKeyRef:
name: southwest-logins
key: username1
- name: PASSWORD1
valueFrom:
secretKeyRef:
name: southwest-logins
key: password1
- name: EMAIL1
valueFrom:
secretKeyRef:
name: southwest-logins
key: email1
- name: MAILGUN_API_KEY
valueFrom:
secretKeyRef:
name: southwest-logins
key: mailgun_api_key