Hi, When I try to connect to helm using tls it gives me a TLS error:
MacBook-Pro-di-Marco:.ssh arm$ helm ls --tls
Error: tls: first record does not look like a TLS handshake
The cause seems to be an ingress annotation ( https://github.com/helm/charts/issues/4204 )How can I change it in a DO K8S environment?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
UPDATE: The Helm/Chart project is no longer supported as described in the following blog post:
https://helm.sh/blog/2019-10-22-helm-2150-released/#helm-2-support-plan
However, in case that anyone comes across this in the future, here are the steps you can follow to modify the ingress annotation in a Kubernetes cluster:
Identify the ingress you need to modify. If you have many services, you can list them using the command:
kubectl get ingress --all-namespaces
Make sure you’ve set up the Kubernetes context correctly for your DO cluster.
After you have identified the ingress that you need to modify, you can describe it using the following command:
kubectl describe ingress <INGRESS_NAME> -n <NAMESPACE>
Replace <INGRESS_NAME> with the name of your ingress and <NAMESPACE> with the namespace in which your ingress is located. This will show you the current details of your ingress, including annotations.
To modify the ingress, you would typically edit the YAML file that defines it. If you do not have the original YAML file, you can export the existing ingress configuration to a file using the following command:
kubectl get ingress <INGRESS_NAME> -n <NAMESPACE> -o yaml > ingress.yaml
Open the ingress.yaml file with a text editor. You should see a field annotations under metadata. Modify the annotations as necessary based on your requirements and save the file.
Now you can apply the changes using the command:
kubectl apply -f ingress.yaml
Make sure to execute this in the directory where your ingress.yaml file is located.
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.