iits-consulting / coturn-chart

Coturn Helm Chart to provide a STUN/TURN Server inside Kubernetes
GNU General Public License v3.0
10 stars 9 forks source link

Helm Install Error #2

Open sanroll opened 1 year ago

sanroll commented 1 year ago

Hi, when try to run the Install give me this error:

helm install coturn coturn-chart/coturn

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Certificate" in version "cert-manager.io/v1"

Im using EKS and helm 3. BR

victorgetz commented 1 year ago

Hi,

we should definitly adjust our README.MD sorry for that. Currently we just use it internally.

The error which you see is because of cert-manager(https://cert-manager.io/docs/installation/helm/) you will need it to auto issue certificates. But you can also just disable the creation like this:

#Enable auto issuing certificates over cert-manager certificates https://cert-manager.io/docs/concepts/certificate/
certificate:
  enabled: false

or via cli like this:

helm install coturn coturn-chart/coturn --set certificate.enabled=false

But keep in mind otherwise you need to care about certificates

yynmsl commented 1 year ago

@victorgetz hi, https://github.com/iits-consulting/coturn-chart/blob/51500a1c10c21482e650ecaeb26198a2b1aa7ecc/charts/coturn/templates/deployment.yaml#L68 https://github.com/iits-consulting/coturn-chart/blob/51500a1c10c21482e650ecaeb26198a2b1aa7ecc/charts/coturn/templates/deployment.yaml#L52 we need use to set


{{- with .Values.imagePullSecrets.enabled }}

{{- end }}