Skip to content

chore: rename registry struct #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 9 additions & 9 deletions apis/kots/v1beta1/airgap_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ type AirgapReleaseMeta struct {

// EmbeddedClusterArtifacts maps embedded cluster artifacts to their path
type EmbeddedClusterArtifacts struct {
Charts string `json:"charts,omitempty"`
ImagesAmd64 string `json:"imagesAmd64,omitempty"`
BinaryAmd64 string `json:"binaryAmd64,omitempty"`
Metadata string `json:"metadata,omitempty"`
Registry Registry `json:"registry,omitempty"`
Charts string `json:"charts,omitempty"`
ImagesAmd64 string `json:"imagesAmd64,omitempty"`
BinaryAmd64 string `json:"binaryAmd64,omitempty"`
Metadata string `json:"metadata,omitempty"`
Registry EmbeddedClusterRegistry `json:"registry,omitempty"`
}

// Registry holds a directory from where a images can be read and later pushed
// to the registry. Format inside the directory is the same as the registry
// storage format.
type Registry struct {
// EmbeddedClusterRegistry holds a directory from where a images can be read and later
// pushed to the embedded cluster registry. Format inside the directory is the same as
// the registry storage format.
type EmbeddedClusterRegistry struct {
Dir string `json:"dir,omitempty"`
SavedImages []string `json:"savedImages,omitempty"`
}
Expand Down
40 changes: 20 additions & 20 deletions apis/kots/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions config/crds/kots.io_airgaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ spec:
type: string
registry:
description: |-
Registry holds a directory from where a images can be read and later pushed
to the registry. Format inside the directory is the same as the registry
storage format.
EmbeddedClusterRegistry holds a directory from where a images can be read and later
pushed to the embedded cluster registry. Format inside the directory is the same as
the registry storage format.
properties:
dir:
type: string
Expand Down
6 changes: 3 additions & 3 deletions config/crds/kots.io_installations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ spec:
type: string
registry:
description: |-
Registry holds a directory from where a images can be read and later pushed
to the registry. Format inside the directory is the same as the registry
storage format.
EmbeddedClusterRegistry holds a directory from where a images can be read and later
pushed to the embedded cluster registry. Format inside the directory is the same as
the registry storage format.
properties:
dir:
type: string
Expand Down