Skip to content

Commit

Permalink
style: add https port to container rollout-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sentoz committed Dec 18, 2024
1 parent 273e5b5 commit 0155d55
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions operations/mimir/rollout-operator.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,10 @@
container.new('rollout-operator', $._images.rollout_operator) +
container.withArgsMixin($.util.mapToFlags($.rollout_operator_args)) +
container.withPorts(
[$.core.v1.containerPort.new('http-metrics', 8001)] +
if $._config.enable_rollout_operator_webhook then
[
$.core.v1.containerPort.new('http-metrics', 8001),
$.core.v1.containerPort.new('https', 8443),
]
else [$.core.v1.containerPort.new('http-metrics', 8001)],
[$.core.v1.containerPort.new('https', 8443)]
else []
) +
$.util.resourcesRequests('100m', '100Mi') +
$.util.resourcesLimits(null, '200Mi') +
Expand Down

0 comments on commit 0155d55

Please sign in to comment.