fix(harbor): give the nginx proxy explicit resources so it survives the tenant LimitRange

With expose.type=clusterIP the goharbor chart deploys an nginx proxy pod, but
the chart set no resources for it. In a tenant namespace the LimitRange defaults
any container without resources to a 128Mi memory limit, so the proxy is
OOMKilled (exit 137) and Harbor never comes up.

Set the nginx proxy to t1.small (512Mi) and bump the portal (also nginx-based)
from t1.nano (128Mi) to t1.micro (256Mi) for the same reason.

Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>
(cherry picked from commit 5a7e2d5546)
Signed-off-by: cozystack-ci[bot] <274107086+cozystack-ci[bot]@users.noreply.github.com>
This commit is contained in:
IvanHunters authored and Myasnikov Daniil committed 2026-11-26 16:18:52 +00:00
1 parent cabaa4f439
commit 016c76af78
1 file changed
+3 -1
+3 -1
View File
@@ -191,8 +191,10 @@ spec:
{{- end }}
{{- end }}
{{- end }}
nginx:
resources: {{- include "cozy-lib.resources.defaultingSanitize" (list "t1.small" (dict) $) | nindent 10 }}
portal:
resources: {{- include "cozy-lib.resources.defaultingSanitize" (list "t1.nano" (dict) $) | nindent 10 }}
resources: {{- include "cozy-lib.resources.defaultingSanitize" (list "t1.micro" (dict) $) | nindent 10 }}
core:
{{- if and $tokenKey $tokenCert }}
tokenKey: {{ $tokenKey | quote }}