Commit 85ec351
committed
fix(slime): render spec.replicas correctly when Values.replicas is 0
Go template truthiness treats numeric 0 as falsy, so the previous
`.Values.replicas` check skipped the `replicas:` block when replicas
was explicitly set to 0. Kubernetes then defaulted the Deployment to
1 replica.
Switch to `(ne .Values.replicas nil)` to distinguish "unset" from
"explicitly 0", matching the existing pattern in the php chart.
Bump chart version 1.3.1 -> 1.3.2 (patch / bugfix).
Refs: SREP-44551 parent b653afa commit 85ec351
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments