Skip to content

Commit fbfeed4

Browse files
Merge pull request #7924 from zalando-incubator/addFabricGatewaySnapshottingCmdlineArg
Add fabric-gateway-controller snapshotting support
2 parents cb31721 + 7423561 commit fbfeed4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

cluster/config-defaults.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ fabric_gateway_controller_enabled: "true"
337337
fabric_gateway_controller_cpu: "50m"
338338
fabric_gateway_controller_memory: "150Mi"
339339
fabric_gateway_controller_allow_all_filters: "false"
340+
fabric_gateway_controller_snapshots_history_limit: "0"
340341
fabric_gateway_controller_enable_versioning: "false"
341342
fabric_gateway_controller_ssl_policy: ""
342343
fabric_gateway_controller_log_level: "INFO"

cluster/manifests/fabric-gateway/deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {{ $version := "master-265" }}
1+
# {{ $version := "master-274" }}
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
@@ -47,6 +47,9 @@ spec:
4747
{{ if eq .Cluster.ConfigItems.fabric_gateway_controller_allow_all_filters "true" }}
4848
- -allow-all-filters=true
4949
{{ end }}
50+
{{ if ne .Cluster.ConfigItems.fabric_gateway_controller_snapshots_history_limit "0" }}
51+
- -snapshots-history-limit={{ .Cluster.ConfigItems.fabric_gateway_controller_snapshots_history_limit }}
52+
{{ end }}
5053
{{ if eq .Cluster.ConfigItems.fabric_gateway_controller_enable_versioning "true" }}
5154
- -enable-versioning=true
5255
{{ end }}

0 commit comments

Comments
 (0)