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:
parent
5eaf4a761a
commit
1f4489bd70
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ spec:
|
||||||
- name: RECEIVER_SESSION_TTL
|
- name: RECEIVER_SESSION_TTL
|
||||||
value: "12h"
|
value: "12h"
|
||||||
- name: RECEIVER_ALLOWED_ORG
|
- name: RECEIVER_ALLOWED_ORG
|
||||||
value: "{{{ .Env.SIZER_ALLOWED_ORG }}}"
|
value: "{{{ getenv "SIZER_ALLOWED_ORG" "DevFW-CICD" }}}"
|
||||||
- name: RECEIVER_CPU_SIZING_MODE
|
- name: RECEIVER_CPU_SIZING_MODE
|
||||||
value: "observe"
|
value: "observe"
|
||||||
- name: RECEIVER_MEMORY_QOS
|
- name: RECEIVER_MEMORY_QOS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue