<p>I had a Jenkins values.yaml file written prior to v1.19, I need some help to change it to be v1.19 compliant.</p>
<p>In the old <code>Values.yaml</code> below, I tried adding <code>http path:/</code>. Should the <code>pathType</code> be <code>ImplementationSpecific</code>?</p>
<p>Only <code>defaultBackend</code> works for some reason, not sure what I'm doing wrong with <code>path</code> and <code>pathType</code>.</p>
<pre><code>ingress:
enabled: true
# Override for the default paths that map requests to the backend
paths:
  # - backend:
  #     serviceName: ssl-redirect
  #     servicePort: use-annotation
  - backend:
      serviceName: &gt;-
        {{ template &quot;jenkins.fullname&quot; . }}
      # Don't use string here, use only integer value!
      servicePort: 8080
# For Kubernetes v1.14+, use 'networking.k8s.io/v1'
apiVersion: &quot;networking.k8s.io/v1&quot;
labels: {}
annotations:
  kubernetes.io/ingress.global-static-ip-name: jenkins-sandbox-blah
  networking.gke.io/managed-certificates: jenkins-sandbox-blah
  kubernetes.io/ingress.allow-http: &quot;true&quot;

# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: &quot;true&quot;
# Set this path to jenkinsUriPrefix above or use annotations to rewrite path
# path: &quot;/jenkins&quot;
# configures the hostname e.g. jenkins.example.com
hostName: jenkins.sandbox.io
</code></pre>

<p>There are several changes to the definition of Ingress resources between  <code>v1.18</code> and <code>v1.19</code>.</p>
<p>In <code>v1.18</code>, we defined paths like this (see: <a href="https://v1-18.docs.kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource" rel="nofollow noreferrer">A minimal Ingress resource example</a>):</p>
<pre><code>  paths:
  - path: /testpath
    pathType: Prefix
    backend:
      serviceName: test
      servicePort: 80
      
</code></pre>
<p>In version <code>1.19</code> it was changed to: (see: <a href="https://v1-19.docs.kubernetes.io/docs/concepts/services-networking/ingress/#the-ingress-resource" rel="nofollow noreferrer">A minimal Ingress resource example</a>):</p>
<pre><code>  paths:
  - path: /testpath
    pathType: Prefix
    backend:
      service:
        name: test
        port:
          number: 80
          
</code></pre>
<p>In your example, you can slightly modified the <code>values.yaml</code> and try again:<br />
<strong>NOTE:</strong> You may need to change the port number and <a href="https://v1-19.docs.kubernetes.io/docs/concepts/services-networking/ingress/#path-types" rel="nofollow noreferrer">pathType</a> depending on your configuration. Additionally, I've added the <code>kubernetes.io/ingress.class: nginx</code> annotation because I'm using <a href="https://kubernetes.github.io/ingress-nginx/" rel="nofollow noreferrer">NGINX Ingress Controller</a> and I didn't configure the hostname.</p>
<pre><code>$ cat values.yaml
controller:
  ingress:
    enabled: true
    paths:
    - path: &quot;/&quot;
      pathType: Prefix
      backend:
        service:
          name: &gt;-
            {{ template &quot;jenkins.fullname&quot; . }}
          port:
            number: 8080
    apiVersion: &quot;networking.k8s.io/v1&quot;
    annotations:
      kubernetes.io/ingress.global-static-ip-name: jenkins-sandbox-blah
      networking.gke.io/managed-certificates: jenkins-sandbox-blah
      kubernetes.io/ingress.allow-http: &quot;true&quot;
      kubernetes.io/ingress.class: nginx
    # configures the hostname e.g. jenkins.example.com
    # hostName: jenkins.sandbox.io
</code></pre>
