Skip to content

fix: use "$root" instead of "$"#215

Open
krolikbrunatny wants to merge 1 commit intoyugabyte:masterfrom
krolikbrunatny:fix-root-context-passing
Open

fix: use "$root" instead of "$"#215
krolikbrunatny wants to merge 1 commit intoyugabyte:masterfrom
krolikbrunatny:fix-root-context-passing

Conversation

@krolikbrunatny
Copy link

We have set multicluster.createServicePerPod: true and I got an error during YBUniverse provisioning:

No pods even scheduled. Previous step(s) incomplete HELM ERROR: nullError: INSTALLATION FAILED: template: yugabyte/templates/multicluster/service-per-pod.yaml:31:6: executing "yugabyte/templates/multicluster/service-per-pod.yaml" at <include "yugabyte.ipFamilyConfig" .>: error calling include: template: yugabyte/templates/_helpers.tpl:654:14: executing "yugabyte.ipFamilyConfig" at <.Values.ipFamilies>: can't evaluate field Values in type int

For some reason the $ variable does not resolve to the root context. I changed it to use $root - following the convention from other templates in this repository.

We have set `multicluster.createServicePerPod: true` and I got an error during YBUniverse provisioning:
```
No pods even scheduled. Previous step(s) incomplete HELM ERROR: nullError: INSTALLATION FAILED: template: yugabyte/templates/multicluster/service-per-pod.yaml:31:6: executing "yugabyte/templates/multicluster/service-per-pod.yaml" at <include "yugabyte.ipFamilyConfig" .>: error calling include: template: yugabyte/templates/_helpers.tpl:654:14: executing "yugabyte.ipFamilyConfig" at <.Values.ipFamilies>: can't evaluate field Values in type int
```

For some reason the `$` variable does not resolve to the root context. I changed it to use `$root` - following the convention from other templates in this repository.
@CLAassistant
Copy link

CLAassistant commented Feb 12, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants