<p>While I am trying to install jenkins using Helm chart, it gives error.</p>

<pre class="lang-sh prettyprint-override"><code>$ helm install --name jenkins --namespace jenkins --values values.yml stable/jenkins
</code></pre>

<blockquote>
  <p>Error: render error in "jenkins/templates/deprecation.yaml": template: jenkins/templates/deprecation.yaml:105:14: executing "jenkins/templates/deprecation.yaml" at : error calling fail: <code>Master.ServiceType</code> does no longer exist. It has been renamed to <code>master.serviceType</code></p>
</blockquote>

<p><strong>values.yml</strong></p>

<pre><code>Master:
  ServicePort: 8080
  ServiceType: NodePort
  NodePort: 32123
  ScriptApproval:
    - "method groovy.json.JsonSlurperClassic parseText java.lang.String"
    - "new groovy.json.JsonSlurperClassic"
    - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.util.Map java.util.Map"
    - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String"
  InstallPlugins:
    - kubernetes:1.7.1   
    - workflow-aggregator:2.5   
    - workflow-job:2.21   
    - credentials-binding:1.16   
    - git:3.9.1   
Agent:
  volumes:
    - type: HostPath
      hostPath: /var/run/docker.sock
      mountPath: /var/run/docker.sock

Persistence:
  enabled: true
  StorageClass: jenkins-volume   
  Size: 3Gi

NetworkPolicy:
  enabled: false
  ApiVersion: extensions/v1beta1

rbac:
  install: true
  serviceAccountName: default
  apiVersion: v1beta1
  roleRef: cluster-admin
</code></pre>

Abhishek Parmar
<p>Your <code>values.yaml</code> file isn't compatible with <code>jenkins</code>'s <code>values.yaml</code>. You should follow the format they suggest. </p>

<pre><code>master:
  servicePort: 8080
  serviceType: NodePort
  nodePort: 32123
  scriptApproval:
    - "method groovy.json.JsonSlurperClassic parseText java.lang.String"
    - "new groovy.json.JsonSlurperClassic"
    - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods leftShift java.util.Map java.util.Map"
    - "staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods split java.lang.String"
  installPlugins:
    - kubernetes:1.7.1   
    - workflow-aggregator:2.5   
    - workflow-job:2.21   
    - credentials-binding:1.16   
    - git:3.9.1 

  ......
</code></pre>

<p>You can find the actual format at <a href="https://github.com/helm/charts/blob/master/stable/jenkins/values.yaml" rel="nofollow noreferrer">jenkins/values.yaml</a>. </p>
