Skip to content

Commit

Permalink
zarf package config
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Aug 2, 2024
1 parent 105ecdc commit 00163e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/v1alpha1/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ZarfPackage struct {
// The API version of the Zarf package.
ApiVersion string `json:"apiVersion,omitempty," jsonschema:"enum=zarf.dev/v1alpha1"`
// The kind of Zarf package.
Kind ZarfPackageKind `json:"kind" jsonschema:"enum=ZarfInitConfig,enum=ZarfPackageConfig"`
Kind ZarfPackageKind `json:"kind" jsonschema:"enum=ZarfInitConfig,enum=ZarfPackageConfig,default=ZarfPackageConfig"`
// Package metadata.
Metadata ZarfMetadata `json:"metadata,omitempty"`
// Zarf-generated package build data.
Expand Down
3 changes: 1 addition & 2 deletions zarf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,7 @@
"ZarfInitConfig",
"ZarfPackageConfig"
],
"description": "The kind of Zarf package.",
"default": "ZarfPackageConfig"
"description": "The kind of Zarf package."
},
"metadata": {
"$ref": "#/$defs/ZarfMetadata",
Expand Down

0 comments on commit 00163e6

Please sign in to comment.