/
zarf.yaml
48 lines (46 loc) · 1.35 KB
/
zarf.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
kind: ZarfPackageConfig
metadata:
name: doug-translate
version: 0.1.0
description: >
Translate, transcribe, and summarize audio recordings using a self-hosted OpenAI API.
variables:
- name: LEAPFROGAI_BASE_URL
description: The base URL for the Leapfrog AI API
default: http://api.leapfrogai.svc.cluster.local:8080/openai/v1
prompt: true
sensitive: true
- name: DOMAIN
description: The domain to use for the application (istio-ingress shenanigans)
default: bigbang.dev
prompt: true
sensitive: true
- name: SUMMARIZATION_MODEL
description: The LLM to use for transcript summarization
default: ctransformers
prompt: true
sensitive: false
components:
- name: translate-ui
required: true
manifests:
- name: translate-ui
namespace: doug-translate
files:
- manifests/deploy.yaml
- manifests/svc.yaml
- manifests/istio.yaml
- manifests/namespace.yaml
images:
- ghcr.io/defenseunicorns/doug-translate:0.1.0
actions:
onDeploy:
# before:
# - cmd: ./zarf tools wait-for https ${ZARF_VAR_LEAPFROGAI_BASE_URL} success
after:
- wait:
cluster:
kind: Deployment
name: doug-translate
namespace: doug-translate
condition: Available