fix(ci-sizer): use getenv with default for SIZER_ALLOWED_ORG

Prevents gomplate crash when SIZER_ALLOWED_ORG is not set in environment.
Falls back to DevFW-CICD as default org.
This commit is contained in:
Daniel.Sy 2026-05-13 10:18:43 +00:00
parent 5eaf4a761a
commit 1f4489bd70

View file

@ -62,7 +62,7 @@ spec:
- name: RECEIVER_SESSION_TTL
value: "12h"
- name: RECEIVER_ALLOWED_ORG
value: "{{{ .Env.SIZER_ALLOWED_ORG }}}"
value: "{{{ getenv "SIZER_ALLOWED_ORG" "DevFW-CICD" }}}"
- name: RECEIVER_CPU_SIZING_MODE
value: "observe"
- name: RECEIVER_MEMORY_QOS