forked from alexander-blackwell/zarf-package-big-bang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzarf.yaml
107 lines (105 loc) · 3.57 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# yaml-language-server: $schema=https://raw.githubusercontent.com/defenseunicorns/zarf/main/zarf.schema.json
kind: ZarfPackageConfig
metadata:
name: dubbd-rke2
description: "Defense Unicorns Big Bang Distro for RKE2"
# x-release-please-start-version
version: "0.30.0"
# x-release-please-end
url: https://p1.dso.mil/products/big-bang
image: https://p1.dso.mil/img/Big_Bang_Color_Logo_White_text.de14c793.webp
# Big Bang / Iron Bank are only amd64
architecture: amd64
authors: "@mjnagel"
source: https://github.com/defenseunicorns/uds-package-dubbd
documentation: https://github.com/defenseunicorns/uds-package-dubbd
vendor: Defense Unicorns
variables:
- name: CONTAINER_RUNTIME_SOCKET
default: "/run/k3s/containerd/containerd.sock"
description: "Path for container runtime socket"
prompt: false
- name: EPHEMERAL
description: "Set whether the cluster should be considered ephemeral - if true all resources will be force destroyed on removal"
default: "false"
- name: EXEMPT_NAMESPACES
description: "List of namespaces to be exempt from cluster policies (must contain zarf)"
default: '[ "zarf" ]'
- name: DUBBD_VALUES
description: "Path to a local values file that includes configuration to be used at deploy time (does not support enabling or disabling charts)"
default: deploy-dubbd-values.yaml
prompt: false
type: file
autoIndent: true
- name: VELERO_BUCKET_PROVIDER_URL
description: "S3 compatible object storage service for use with Velero"
#default: "Intentionally no default value is configured"
#example: "http://minio.minio.svc.cluster.local:9000"
- name: VELERO_BUCKET
description: "S3 compatible object storage bucket for use with Velero"
#default: "Intentionally no default value is configured"
#example: "velero"
- name: VELERO_BUCKET_REGION
description: "Region of the bucket for use with Velero"
#default: "Intentionally no default value is configured"
- name: VELERO_BUCKET_KEY
description: "Key to use when connecting to the Velero bucket"
#default: "Intentionally no default value is configured"
- name: VELERO_BUCKET_KEY_SECRET
sensitive: true
description: "Key secret to use when connecting to the Velero bucket"
#default: "Intentionally no default value is configured"
components:
- name: set-zarf-vars
required: true
import:
path: ../defense-unicorns-distro
- name: preflight
required: true
import:
path: ../defense-unicorns-distro
- name: rke2-preflight
required: true
actions:
onDeploy:
after:
- cmd: ./rke2-preflight.sh
- cmd: rm rke2-preflight.sh
files:
- source: scripts/rke2-preflight.sh
target: rke2-preflight.sh
executable: true
- name: load-certs
required: true
import:
path: ../defense-unicorns-distro
- name: generate-credentials
required: true
import:
path: ../defense-unicorns-distro
- name: download-flux
required: true
import:
path: ../defense-unicorns-distro
- name: storage-class
required: true
import:
path: ../defense-unicorns-distro
- name: dubbd-pre-upgrade
required: true
import:
path: ../defense-unicorns-distro
- name: bigbang
required: true
import:
path: ../defense-unicorns-distro
extensions:
bigbang:
version: "###ZARF_PKG_VAR_BIGBANG_VERSION###"
valuesFiles:
- values/rke2-velero-s3.yaml
- values/add-dubbd-values.yaml
- name: dubbd-post-upgrade
required: true
import:
path: ../defense-unicorns-distro