[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when setting initContainers with env vars #109

Open
Jahn16 opened this issue Oct 5, 2024 · 1 comment
Open

Error when setting initContainers with env vars #109

Jahn16 opened this issue Oct 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Jahn16
Copy link
Jahn16 commented Oct 5, 2024

Helm chart version

6.0.4

Container name

1337kavin/piped

Container tag

latest

Description

When trying to add initiContainers with env vars in the backend controller, it raises template error

Error: template: piped/templates/backend/deployment.yaml:47:10: executing "piped/templates/backend/deployment.yaml" at <include "backend.controller.pod" .>: error calling include: template: piped/templates/backend/lib/_pod.tpl:55:33: executing "backend.controller.pod" at <include "common.controller.env_vars" $>: error calling include: template: no template "common.controller.env_vars" associated with template "gotpl"

Expected result

The helm chart to render correctly

Helm values to reproduce

backend:
  initContainers:
    foo:
      env:
        foo: bar

Additional Information

No response

Repo link

No response

@Jahn16 Jahn16 added the bug Something isn't working label Oct 5, 2024
@Jahn16 Jahn16 changed the title [<chart name>] Concise description of the issue [piped] Error when setting initContainers with env vars Oct 5, 2024
@samip5
Copy link
Collaborator
samip5 commented Nov 1, 2024

Thanks for reporting, I think this is one of the use cases that I hadn't tried..

@samip5 samip5 changed the title [piped] Error when setting initContainers with env vars Error when setting initContainers with env vars Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants