Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install with loadBalancer type gke-managed-cert #76

Open
chiu1984 opened this issue Jun 26, 2023 · 3 comments
Open

Unable to install with loadBalancer type gke-managed-cert #76

chiu1984 opened this issue Jun 26, 2023 · 3 comments

Comments

@chiu1984
Copy link

chiu1984 commented Jun 26, 2023

I would like to install livekit server on GKE with google managed cert. It is the helm values I used, since I am using google managed cert, I suppose secretName is not required:

loadBalancer:
  type: gke-managed-cert
  staticIpName: static-ip
  certificateName: cert
  tls:
    - hosts:
      - livekit.host.com

However, I got the following error on the Ingress after helm install:

Error syncing to GCP: error running load balancer syncing routine: error getting secrets for Ingress: secret "" does not exist

I tried to comment out the tls setting but now I got another error:

Error: INSTALLATION FAILED: Ingress.extensions "livekit-server" is invalid: spec: Invalid value: []networking.IngressRule(nil): either `defaultBackend` or `rules` must be specified

Any suggestion?

@frandemona
Copy link

I was having the same issue, I modified the ingress.yaml file of the helm chart

My values.yaml looks

loadBalancer:
  type: gke-managed-cert
  staticIpName: livekit-cluster-load-balancer
  certificateName: livekit-cluster-managed-certificate

And the ingress.yaml stayed like this:

spec:
  {{- if eq .Values.loadBalancer.type "do" }}
  ingressClassName: nginx
  {{- end }}
  defaultBackend:
    service:
      name: {{ $fullName }}
      port:
        number: {{ $svcPort }}
{{- end }}

@mercuryyy
Copy link

Is there a way to fix/solve this without editing the helm directly (Only through "values.yaml" ) ?

@davidzhao
Copy link
Member

davidzhao commented Oct 19, 2024

please submit a PR, it'd be great to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants