Skip to content

Commit 45c79b5

Browse files
Merge pull request #14 from replicatedhq/ricardomaraschini/sc-105498/rename-registry-property
chore: rename registry struct
2 parents 2e6c90e + 172256f commit 45c79b5

File tree

4 files changed

+35
-35
lines changed

4 files changed

+35
-35
lines changed

apis/kots/v1beta1/airgap_types.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ type AirgapReleaseMeta struct {
4444

4545
// EmbeddedClusterArtifacts maps embedded cluster artifacts to their path
4646
type EmbeddedClusterArtifacts struct {
47-
Charts string `json:"charts,omitempty"`
48-
ImagesAmd64 string `json:"imagesAmd64,omitempty"`
49-
BinaryAmd64 string `json:"binaryAmd64,omitempty"`
50-
Metadata string `json:"metadata,omitempty"`
51-
Registry Registry `json:"registry,omitempty"`
47+
Charts string `json:"charts,omitempty"`
48+
ImagesAmd64 string `json:"imagesAmd64,omitempty"`
49+
BinaryAmd64 string `json:"binaryAmd64,omitempty"`
50+
Metadata string `json:"metadata,omitempty"`
51+
Registry EmbeddedClusterRegistry `json:"registry,omitempty"`
5252
}
5353

54-
// Registry holds a directory from where a images can be read and later pushed
55-
// to the registry. Format inside the directory is the same as the registry
56-
// storage format.
57-
type Registry struct {
54+
// EmbeddedClusterRegistry holds a directory from where a images can be read and later
55+
// pushed to the embedded cluster registry. Format inside the directory is the same as
56+
// the registry storage format.
57+
type EmbeddedClusterRegistry struct {
5858
Dir string `json:"dir,omitempty"`
5959
SavedImages []string `json:"savedImages,omitempty"`
6060
}

apis/kots/v1beta1/zz_generated.deepcopy.go

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crds/kots.io_airgaps.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ spec:
5959
type: string
6060
registry:
6161
description: |-
62-
Registry holds a directory from where a images can be read and later pushed
63-
to the registry. Format inside the directory is the same as the registry
64-
storage format.
62+
EmbeddedClusterRegistry holds a directory from where a images can be read and later
63+
pushed to the embedded cluster registry. Format inside the directory is the same as
64+
the registry storage format.
6565
properties:
6666
dir:
6767
type: string

config/crds/kots.io_installations.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ spec:
5757
type: string
5858
registry:
5959
description: |-
60-
Registry holds a directory from where a images can be read and later pushed
61-
to the registry. Format inside the directory is the same as the registry
62-
storage format.
60+
EmbeddedClusterRegistry holds a directory from where a images can be read and later
61+
pushed to the embedded cluster registry. Format inside the directory is the same as
62+
the registry storage format.
6363
properties:
6464
dir:
6565
type: string

0 commit comments

Comments
 (0)