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

Unable to run dry-run #2

Open
T0MASD opened this issue Nov 15, 2019 · 0 comments
Open

Unable to run dry-run #2

T0MASD opened this issue Nov 15, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@T0MASD
Copy link

T0MASD commented Nov 15, 2019

Hi, thanks for working on the chart! I'm running into some issues trying it out.
First fairly simple:

Error: parse error in "drone/templates/deployment-agent.yaml": template: drone/templates/deployment-agent.yaml:59: unexpected "}" in operand

After fixing that, I ran it again:

$ helm install --dry-run --debug .
[debug] Created tunnel using local port: '38347'

[debug] SERVER: "127.0.0.1:38347"

[debug] Original chart version: ""
[debug] CHART PATH: /home/tomas/helm-charts-drone

Error: render error in "drone/templates/role.yaml": template: drone/templates/role.yaml:6:23: executing "drone/templates/role.yaml" at <.Values.kubernetes.namespace>: na
mespace is not a method but has arguments

I have tried replacing .Values.kubernetes.namespace . with .Values.kubernetes.namespace but then other issue appeared:

$ helm install --dry-run --debug .
[debug] Created tunnel using local port: '37603'

[debug] SERVER: "127.0.0.1:37603"

[debug] Original chart version: ""
[debug] CHART PATH: /home/tomas/helm-charts-drone

Error: render error in "drone/templates/deployment-agent.yaml": template: drone/templates/deployment-agent.yaml:18:22: executing "drone/templates/deployment-agent.yaml" 
at <.Values.agent.replicas>: nil pointer evaluating interface {}.replicas

Should I be passing in some values?

Here's my helm version

$ helm version
Client: &version.Version{SemVer:"v2.15.0", GitCommit:"c2440264ca6c078a06e088a838b0476d2fc14750", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.0", GitCommit:"c2440264ca6c078a06e088a838b0476d2fc14750", GitTreeState:"clean"}
@HighwayofLife HighwayofLife added the bug Something isn't working label Nov 28, 2019
@HighwayofLife HighwayofLife self-assigned this Nov 28, 2019
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