Skip to content
Snippets Groups Projects
Verified Commit b865b392 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

objstorage: Fix autoscaling template issue

Refs. swh/infra/sysadm-environment#5164
parent a6a24ce4
No related branches found
No related tags found
No related merge requests found
{{ if .Values.objstorage.enabled -}}
{{ range $objstorage_type, $deployment_config := .Values.objstorage.deployments }}
{{- if and (or (not (hasKey $deployment_config "enabled")) (get $deployment_config "enabled"))
(hasKey $deployment_config "autoScale") -}}
(hasKey $deployment_config "autoScaling") -}}
{{- include "swh.autoscale" (dict "serviceType" ( print "objstorage-" $objstorage_type )
"configuration" $deployment_config
"Values" $.Values) -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment