Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Get a local copy of the helm chart

    Code Block
    languagebash
    git clone https://github.com/hivemq/helm-charts.git
    cd helm-charts
  2. Identify files that contain networking.k8s.io/v1beta1

    Code Block
    languagebash
    grep -R networking.k8s.io/v1beta1 .
  3. Edit the ./charts/hivemq-swarm/templates/ingress.yaml. Update API version v1beta1 to v1:

    Code Block
    languagediff
    < apiVersion: networking.k8s.io/v1beta1
    ---
    > apiVersion: networking.k8s.io/v1

  4. Update backend to defaultBackend and its keys from this:

    Code Block
    languageyamldiff
    <  backend:
    <    serviceName: {{ $fullName }}-api
    <    servicePort: api

    to this:

    Code Block
    languageyamldiff
    >  defaultBackend:
    >    service:
    >      name: {{ $fullName }}-api
    >      port:
    >        name: api

  5. Add pathType to the path:

    Code Block
    languageyamldiff
      - path: /
    >    pathType: ImplementationSpecific

...