Skip to content

Commit fc18db4

Browse files
committed
Set reconcile timeout to 5m
Signed-off-by: Stefan Prodan <[email protected]>
1 parent b9d1ae5 commit fc18db4

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

kubernetes/apps/podinfo.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ metadata:
2020
annotations:
2121
fluxcd.controlplane.io/reconcileTimeout: "5m"
2222
spec:
23-
wait: true
24-
serviceAccountName: dev-team
23+
inputsFrom:
24+
- kind: ResourceSetInputProvider
25+
name: podinfo-latest
2526
dependsOn:
2627
- apiVersion: apps/v1
2728
kind: Deployment
2829
name: redis
2930
namespace: apps
3031
ready: true
31-
inputsFrom:
32-
- kind: ResourceSetInputProvider
33-
name: podinfo-latest
32+
serviceAccountName: dev-team
3433
commonMetadata:
3534
labels:
3635
app.kubernetes.io/name: podinfo
36+
wait: true
3737
resources:
3838
- apiVersion: v1
3939
kind: ServiceAccount

kubernetes/apps/redis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ metadata:
2222
annotations:
2323
fluxcd.controlplane.io/reconcileTimeout: "5m"
2424
spec:
25-
wait: true
26-
serviceAccountName: dev-team
2725
inputsFrom:
2826
- kind: ResourceSetInputProvider
2927
name: redis-latest
28+
serviceAccountName: dev-team
3029
commonMetadata:
3130
labels:
3231
app.kubernetes.io/name: redis
32+
wait: true
3333
resources:
3434
- apiVersion: v1
3535
kind: ServiceAccount

kubernetes/infra/cert-manager.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@ kind: ResourceSet
33
metadata:
44
name: cert-manager
55
namespace: flux-system
6+
annotations:
7+
fluxcd.controlplane.io/reconcileTimeout: "5m"
68
spec:
7-
wait: true
89
inputs:
910
- interval: "1h" # check for updates every hour
1011
version: "*" # upgrade to latest stable version
1112
namespace: cert-manager
1213
commonMetadata:
1314
labels:
1415
toolkit.fluxcd.io/tenant: platform-team
16+
wait: true
1517
resources:
1618
- apiVersion: v1
1719
kind: Namespace

kubernetes/infra/gateway-api.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ kind: ResourceSet
33
metadata:
44
name: gateway-api
55
namespace: flux-system
6+
annotations:
7+
fluxcd.controlplane.io/reconcileTimeout: "5m"
68
spec:
7-
wait: true
89
inputs:
910
- channel: experimental # or standard
1011
version: 1.x # auto upgrade to latest minor
1112
interval: 24h # check for updates daily
13+
wait: true
1214
resources:
1315
- apiVersion: source.toolkit.fluxcd.io/v1
1416
kind: GitRepository

kubernetes/infra/metrics-server.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ kind: ResourceSet
33
metadata:
44
name: metrics-server
55
namespace: flux-system
6+
annotations:
7+
fluxcd.controlplane.io/reconcileTimeout: "5m"
68
spec:
7-
wait: true
89
dependsOn:
910
- apiVersion: fluxcd.controlplane.io/v1
1011
kind: ResourceSet
@@ -18,6 +19,7 @@ spec:
1819
commonMetadata:
1920
labels:
2021
toolkit.fluxcd.io/tenant: platform-team
22+
wait: true
2123
resources:
2224
- apiVersion: v1
2325
kind: Namespace

0 commit comments

Comments
 (0)