Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 24a7f44

Browse files
arschlespmorie
authored andcommitted
Adding feature flag for broker relist interval (#728)
Fixes #713
1 parent eb1f1e7 commit 24a7f44

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/catalog/templates/controller-manager-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,10 @@ spec:
4646
- "{{ .Values.controllerManager.verbosity }}"
4747
- --resync-interval
4848
- {{ .Values.controllerManager.resyncInterval }}
49+
{{ if .Values.controllerManager.brokerRelistIntervalActivated -}}
4950
- --broker-relist-interval
5051
- {{ .Values.controllerManager.brokerRelistInterval }}
52+
{{- end }}
5153
ports:
5254
- containerPort: 8080
5355
volumeMounts:

charts/catalog/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,7 @@ controllerManager:
5656
resyncInterval: 5m
5757
# Broker relist interval; format is a duration (`20m`, `1h`, etc)
5858
brokerRelistInterval: 24h
59+
# Whether or not the controller supports a --broker-relist-interval flag. If this is
60+
# set to true, brokerRelistInterval will be used as the value for that flag
61+
brokerRelistIntervalActivated: false
5962
useAggregator: false

0 commit comments

Comments
 (0)