hashicorp / consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
https://www.consul.io
Other
28.37k stars 4.42k forks source link

execution error at consul/templates/enterprise-license-job.yaml. server.enterpriseLicense has been moved to global.enterpriseLicense. #17591

Open Rudraksh95 opened 1 year ago

Rudraksh95 commented 1 year ago

Trying to install consul on a k8s cluster with Ingressgateway enabled and running into the following error with the helm chart

❯ helm upgrade --install consul hashicorp/consul --set global.name=consul -f values.yaml -n Release "consul" does not exist. Installing it now. Error: execution error at (consul/templates/enterprise-license-job.yaml:1:45): server.enterpriseLicense has been moved to global.enterpriseLicense.

david-yu commented 1 year ago

Hi @Rudraksh95 looks like you were using a fairly old version of the Helm chart before, the license stanza has been moved to the global stanza. See https://developer.hashicorp.com/consul/docs/k8s/deployment-configurations/consul-enterprise