-
Notifications
You must be signed in to change notification settings - Fork 1
/
zarf.yaml
56 lines (54 loc) · 1.6 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/zarf/main/zarf.schema.json
kind: ZarfPackageConfig
metadata:
name: k3d-local
description: "Defense Unicorns K3D environment"
version: "v1.27.2"
# Big Bang / Iron Bank are only amd64
architecture: amd64
authors: "@runyontr"
source: https://github.com/defenseunicorns/zarf-package-k3d
vendor: Defense Unicorns
variables:
- name: ZARF_VERSION
default: v0.27.1
- name: DUBBD_VERSION
default: 0.3.0
components:
- name: k3d
required: true
files:
- source: scripts/k3d.sh
target: k3d.sh
executable: true
actions:
onDeploy:
after:
- cmd: ./k3d.sh
onRemove:
after:
- cmd: k3d cluster delete dubbd
- name: init
required: true
files:
- source: zarf-init-amd64-###ZARF_PKG_TMPL_ZARF_VERSION###.tar.zst
target: zarf-init.tar.zst
actions:
onCreate:
before:
- cmd: zarf tools download-init
onDeploy:
after:
- cmd: zarf package deploy zarf-init.tar.zst --components git-server --confirm -l warn --set registry_pvc_size=100Gi
- name: bigbang
required: true
files:
- source: zarf-package-dubbd-k3d-amd64-###ZARF_PKG_TMPL_DUBBD_VERSION###.tar.zst
target: zarf-package-dubbd-k3d-amd64-###ZARF_PKG_TMPL_DUBBD_VERSION###.tar.zst
actions:
onCreate:
before:
- cmd: zarf package pull oci://ghcr.io/defenseunicorns/packages/dubbd-k3d:###ZARF_PKG_TMPL_DUBBD_VERSION###-amd64
onDeploy:
after:
- cmd: zarf package deploy --confirm zarf-package-dubbd-k3d-amd64-###ZARF_PKG_TMPL_DUBBD_VERSION###.tar.zst