-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathzarf.yaml
56 lines (51 loc) · 1.8 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
49
50
51
52
53
54
55
56
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/uds-cli/v0.16.0/zarf.schema.json
kind: ZarfPackageConfig
metadata:
description: "LeapfrogAI API"
name: leapfrogai-api
version: "###ZARF_PKG_TMPL_IMAGE_VERSION###"
constants:
- name: IMAGE_VERSION
value: "###ZARF_PKG_TMPL_IMAGE_VERSION###"
variables:
- name: EXPOSE_API
default: "true"
description: "Flag to expose the OpenAPI schema for debugging."
- name: DEFAULT_EMBEDDINGS_MODEL
default: "text-embeddings"
- name: DEV
default: "false"
description: "Flag to enable development endpoints."
components:
- name: leapfrogai-api
description: "A Python API that shadows the OpenAI API specification"
only:
flavor: upstream
required: true
import:
path: common
charts:
- name: leapfrogai
namespace: leapfrogai
valuesFiles:
- "values/upstream-values.yaml"
images:
- "ghcr.io/defenseunicorns/leapfrogai/leapfrogai-api:###ZARF_PKG_TMPL_IMAGE_VERSION###"
- "ghcr.io/defenseunicorns/leapfrogai/api-migrations:###ZARF_PKG_TMPL_IMAGE_VERSION###"
- "kiwigrid/k8s-sidecar:1.23.3"
- name: leapfrogai-api
only:
flavor: registry1
required: true
import:
path: common
charts:
- name: leapfrogai
namespace: leapfrogai
valuesFiles:
- "values/registry1-values.yaml"
images:
- "registry1.dso.mil/ironbank/opensource/defenseunicorns/leapfrogai/api:v###ZARF_PKG_TMPL_IMAGE_VERSION###"
# TODO: replace with Ironbank image once hardened: registry1.dso.mil/ironbank/opensource/defenseunicorns/leapfrogai/api/migrations
- "ghcr.io/defenseunicorns/leapfrogai/api-migrations:###ZARF_PKG_TMPL_IMAGE_VERSION###"
- "registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar:1.23.3"