-
Notifications
You must be signed in to change notification settings - Fork 21
/
.flux.yaml
98 lines (98 loc) · 2.08 KB
/
.flux.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
apiVersion: v1
kind: Namespace
metadata:
name: FILLED_IN_BY_CI
labels:
sandboxId: FILLED_IN_BY_CI
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
spec:
interval: 5m0s
url: FILLED_IN_BY_CI
ref:
branch: FILLED_IN_BY_CI
---
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImageRepository
metadata:
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
spec:
image: FILLED_IN_BY_CI
interval: 2m0s
provider: aws
---
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImagePolicy
metadata:
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
spec:
imageRepositoryRef:
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
filterTags:
pattern: FILLED_IN_BY_CI
extract: FILLED_IN_BY_CI
---
apiVersion: image.toolkit.fluxcd.io/v1beta2
kind: ImageUpdateAutomation
metadata:
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
spec:
interval: 2m0s
sourceRef:
kind: GitRepository
name: flux-system
namespace: flux-system
git:
commit:
author:
name: Flux - UI image update
email: [email protected]
update:
strategy: Setters
path: FILLED_IN_BY_CI
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
labels:
sandboxId: FILLED_IN_BY_CI
spec:
releaseName: FILLED_IN_BY_CI
interval: 2m0s
chart:
spec:
chart: charts/nodejs
sourceRef:
kind: GitRepository
name: FILLED_IN_BY_CI
namespace: FILLED_IN_BY_CI
reconcileStrategy: Revision
values:
# disable readiness probes as load balancer performs
# its own health checks/cordoning
readinessProbe:
probeType: exec
command: ['echo', '0']
loadBalancerHealthCheck:
path: '/robots.txt'
periodSeconds: 30
livenessProbe:
probeType: tcpSocket
service:
additionalHosts: FILLED_IN_BY_CI
valuesFrom:
- kind: ConfigMap
name: account-config
valuesKey: account-config.yaml
optional: false
# filled in by CI. do not modify.