defenseunicorns / leapfrogai

Production-ready Generative AI for local, cloud native, airgap, and edge deployments.
https://leapfrog.ai
Apache License 2.0
257 stars 29 forks source link

[BUG] -- Domain Prefixed with Leafrogai 2x #181

Closed TristanHoladay closed 7 months ago

TristanHoladay commented 1 year ago

Issue

When deploying a generated zarf package from the leapfrogai repo, the host for the VirtualService ends up being leapfrogai.leapfrogai.bigbang.dev, which causes an SSL error because the cert for DUBBD only allows for *.bibang.dev.

Proposed Solutions

Remove the leapfrogai from the domain in zarf-config.yaml

deploy:
    set:
      domain: leapfrogai.bigbang.dev
      whisper_enabled: "true"

becomes

deploy:
    set:
      domain: bigbang.dev
      whisper_enabled: "true"

(this would match what the chart and values.yaml are already doing)

or remove it from the vs.yaml in /chart /templates

hosts:
  - leapfrogai.{{ .Values.domain }}

becomes

hosts:
  - {{ .Values.domain }}
YrrepNoj commented 7 months ago

OBE. We are no longer using the 'nested-subdomain' approach.