Skip to content

Commit d0bde51

Browse files
committed
fix mapping resource in quota
Signed-off-by: IvanHunters <[email protected]>
1 parent cf71f6f commit d0bde51

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎packages/library/cozy-lib/templates/_resources.tpl‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,8 @@
108108
{{- $vEphemeralStorageRequestF64 := (include "cozy-lib.resources.toFloat" $v) | float64 }}
109109
{{- $ephemeralStorageRequestF64 := divf $vEphemeralStorageRequestF64 $ephemeralStorageAllocationRatio }}
110110
{{- $_ := set $output.requests $k ($ephemeralStorageRequestF64 | int | toString) }}
111-
{{- $_ := set $output.limits $k ($v | toString) }}
112111
{{- else }}
113112
{{- $_ := set $output.requests $k $v }}
114-
{{- $_ := set $output.limits $k $v }}
115113
{{- end }}
116114
{{- end }}
117115
{{- $output | toYaml }}
@@ -182,5 +180,5 @@
182180
{{- $_ := set $out $key $v }}
183181
{{- end }}
184182
{{- end }}
185-
{{- dict "resourceQuotas" $out | toYaml }}
183+
{{- $out | toYaml }}
186184
{{- end }}

0 commit comments

Comments
 (0)