projectnessie / nessie

Nessie: Transactional Catalog for Data Lakes with Git-like semantics
https://projectnessie.org
Apache License 2.0
1k stars 132 forks source link

[Bug]: Mismatch in expected structure in management-service.yaml template pointing to "nessie-mgmt" in values.yaml #9707

Closed robathija closed 1 week ago

robathija commented 1 week ago

What happened

I get the error when upgrading to version 0.99.0 Error: UPGRADE FAILED: template: nessie/templates/management-service.yaml:15:15: executing "nessie/templates/management-service.yaml" at <index .Values.service.ports "nessie-mgmt">: error calling index: cannot index slice/array with type string

and happening due to a mismatch between the expected structure of the service.ports in values.yaml file and how it's being accessed in the management-service.yaml template.

How to reproduce it

  1. Deploy nessie on K8s using helm or upgrade from an existing version from 0.83.2 -> 0.99.0
  2. Run helm upgrade --install nessie ./helm/nessie -f ./env/$ENV.yaml --namespace $NS (or quivalent)

Nessie server type (docker/uber-jar/built from source) and version

0.99.0

Client type (Ex: UI/Spark/pynessie ...) and version

No response

Additional information

image

robathija commented 1 week ago

sorry mistakenly created