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

jenkins-values.yaml does not work #90

Open
trahloff opened this issue Sep 6, 2017 · 1 comment
Open

jenkins-values.yaml does not work #90

trahloff opened this issue Sep 6, 2017 · 1 comment

Comments

@trahloff
Copy link

trahloff commented Sep 6, 2017

When I try to start the install Jenkins with

'helm install stable/jenkins -f jenkins-values.yaml --namespace jenkins'

I get the error message:

Error: parse error in "jenkins/templates/rbac.yaml": template: jenkins/templates/rbac.yaml:3: function "required" not defined

It seems like the required statement from the line apiVersion: rbac.authorization.k8s.io/{{ required "A valid .Values.rbac.apiVersion entry required!" .Values.rbac.apiVersion }} somehow breaks the deployment although it is flagged as stable.

Does somebody know if this is a problem with my k8s cluster or with the jenkins-values file?

System:
Helm 2.1.3
K8S Client 1.7.4
K8S Server 1.5.6

@lachie83
Copy link
Owner

lachie83 commented Jan 10, 2018

"required" is a function in Helm. I don't believe "required" was available in Helm 2.1. I would suggest using a later version.

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

No branches or pull requests

2 participants