Skip to content

Commit

Permalink
ostree: add ostree image options for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Nov 8, 2023
1 parent e4aa024 commit 61c8eda
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/ostree/ostree.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ type ImageOptions struct {
// embedded in the installer or deployed in the image.
ImageRef string `json:"ref"`

// For ostree installers and images, the source of the container to be
// embedded in the installer or deployed in the image.
// This conflicts with ImageRef and URL.
Container string `json:"container"`

// For ostree commit and container types: The ParentRef specifies the parent
// ostree commit that the new commit will be based on.
// For ostree installers and raw images: The ParentRef does not apply.
Expand All @@ -72,6 +77,9 @@ type ImageOptions struct {
// Indicate if the 'org.osbuild.rhsm.consumer' secret should be added when pulling from the
// remote.
RHSM bool `json:"rhsm"`

// TLS verification for container sources.
TLSVerify *bool `json:"tls-verify"`
}

// Validate the image options. This doesn't verify the existence of any remote
Expand Down

0 comments on commit 61c8eda

Please sign in to comment.