Skip to content

Commit

Permalink
Only storage canary manifests if storage canary slo is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
haasad committed Aug 9, 2024
1 parent 80e83a9 commit 740981a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ local storageCanaries = std.flattenArrays(std.filterMap(
'10_secrets': com.generateResources(params.secrets, function(name) com.namespaced(params.namespace, kube.Secret(name))),
[if params.canary_scheduler_controller.enabled then '30_canaryImageStream']: canaryImageStream,
[if params.canary_scheduler_controller.enabled then '30_canary']: canary,
[if params.canary_scheduler_controller.enabled then '32_storageCanary']: storageCanaries,
[if params.canary_scheduler_controller.enabled && params.slos.storage.canary.enabled then '32_storageCanary']: storageCanaries,
}
+ blackbox.deployment
+ blackbox.probes
Expand Down

0 comments on commit 740981a

Please sign in to comment.