Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
bc2a001
update for v1beta1
AustinAbro321 Mar 4, 2026
529e381
update for v1beta1
AustinAbro321 Mar 4, 2026
f244966
include data injections
AustinAbro321 Mar 11, 2026
429411c
add in missing fields
AustinAbro321 Mar 11, 2026
58fdf69
Merge branch 'main' into update-v1beta1-schema
AustinAbro321 Mar 11, 2026
73a519e
generate schema and move out of internal
AustinAbro321 Mar 11, 2026
3b390c3
generate v1beta1
AustinAbro321 Mar 11, 2026
05aed51
Merge branch 'main' into update-v1beta1-schema
AustinAbro321 Mar 12, 2026
3a424b0
add server side apply
AustinAbro321 Mar 12, 2026
8656244
Merge branch 'main' into update-v1beta1-schema
AustinAbro321 Mar 13, 2026
3318a5d
make allow namespace overrides a boolptr field
AustinAbro321 Mar 13, 2026
c2098ef
update v1beta1 with default
AustinAbro321 Mar 16, 2026
0bbd048
add get images
AustinAbro321 Mar 16, 2026
288c31a
build api version
AustinAbro321 Mar 16, 2026
6f04230
Merge branch 'main' into update-v1beta1-schema
AustinAbro321 Apr 13, 2026
a2848a2
v1beta1 changes
AustinAbro321 May 28, 2026
e23b294
Merge branch 'main' into update-v1beta1-schema
AustinAbro321 May 28, 2026
2894b0b
add deprecated fields
AustinAbro321 May 28, 2026
b2eb1d2
add in missing fields
AustinAbro321 May 28, 2026
081a9f2
docs and schema
AustinAbro321 May 29, 2026
6cd42e3
component spec
AustinAbro321 May 29, 2026
9bcc98a
original API version
AustinAbro321 May 29, 2026
7c27f99
multiple api version schema
AustinAbro321 May 29, 2026
7498a0d
yolo and group
AustinAbro321 Jun 1, 2026
8b2f402
schema
AustinAbro321 Jun 1, 2026
b211b89
schema
AustinAbro321 Jun 1, 2026
d50c81e
stop importing v1alpha1
AustinAbro321 Jun 2, 2026
43f70c2
package schema
AustinAbro321 Jun 2, 2026
5c0be33
snake case
AustinAbro321 Jun 2, 2026
d5ba3bc
value was unused
AustinAbro321 Jun 2, 2026
c24f772
omit empty
AustinAbro321 Jun 2, 2026
52b0406
Merge branch 'main' into update-v1beta1-schema
AustinAbro321 Jun 3, 2026
a9c6323
Merge branch 'update-v1beta1-schema' into multiple-api-version-schema
AustinAbro321 Jun 4, 2026
5dcf611
make docs and schema
AustinAbro321 Jun 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ build-cli: build-cli-linux-amd build-cli-linux-arm build-cli-mac-intel build-cli
docs-and-schema: ## Generate the Zarf Documentation and Schema
go generate ./src/pkg/schema
ZARF_CONFIG=hack/empty-config.toml go run main.go internal gen-cli-docs
cp src/pkg/schema/zarf-v1alpha1-schema.json zarf.schema.json
cp src/pkg/schema/zarf.schema.json zarf.schema.json
hack/cots/update-gitea.sh

init-package-with-agent: build build-local-agent-image init-package
Expand Down
1 change: 1 addition & 0 deletions site/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ pnpm-debug.log*

# zarf specific
src/assets/zarf.schema.json
src/assets/zarf-v1alpha1-schema.json
src/content/docs/ref/Examples
4 changes: 2 additions & 2 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"scripts": {
"lint": "markdownlint-cli2 . --config ../.markdownlint-cli2.jsonc",
"lint:fix": "markdownlint-cli2 --fix . --config ../.markdownlint-cli2.jsonc",
"predev": "cp ../zarf.schema.json ./src/assets/zarf.schema.json && node hack/copy-examples.js",
"predev": "cp ../src/pkg/schema/zarf-v1alpha1-schema.json ./src/assets/zarf-v1alpha1-schema.json && node hack/copy-examples.js",
"dev": "astro dev",
"start": "astro dev",
"prebuild": "cp ../zarf.schema.json ./src/assets/zarf.schema.json && node hack/copy-examples.js",
"prebuild": "cp ../src/pkg/schema/zarf-v1alpha1-schema.json ./src/assets/zarf-v1alpha1-schema.json && node hack/copy-examples.js",
"build": "rm -rf dist && astro check && astro build",
"preview": "astro preview",
"astro": "astro",
Expand Down
2 changes: 1 addition & 1 deletion site/src/components/SchemaItemProperties.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const includesElement = (key: string) => {
}
};

const json = await import("../assets/zarf.schema.json");
const json = await import("../assets/zarf-v1alpha1-schema.json");

// @ts-expect-error - We don't import a TS type for the schema, but we know it's structured correctly
const itemSchema = json["$defs"][item];
Expand Down
10 changes: 9 additions & 1 deletion site/src/components/SchemaReference.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
const json = await import("../assets/zarf.schema.json");
interface Props {
path: string;
}
const { path } = Astro.props;
const schemas = import.meta.glob<{ default: Record<string, any> }>("../assets/*.json");
const loader = schemas[`../assets/${path}`];
if (!loader) throw new Error(`Schema not found: ${path}`);
const mod = await loader();
const json = mod.default;
const defs = json["$defs"] as Record<string, any>;

// BFS walk from root properties to produce natural reading order.
Expand Down
2 changes: 1 addition & 1 deletion site/src/content/docs/schema/v1alpha1-package.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ import SchemaReference from '@components/SchemaReference.astro';

[JSON Schema source](https://github.com/zarf-dev/zarf/blob/main/src/pkg/schema/zarf-v1alpha1-schema.json)

<SchemaReference />
<SchemaReference path="zarf-v1alpha1-schema.json" />
335 changes: 0 additions & 335 deletions src/api/internal/v1beta1/component.go

This file was deleted.

180 changes: 0 additions & 180 deletions src/api/internal/v1beta1/package.go

This file was deleted.

101 changes: 0 additions & 101 deletions src/api/internal/v1beta1/package_test.go

This file was deleted.

Loading
Loading