File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,26 @@ import (
77 "github.com/openshift/installer/pkg/types"
88)
99
10- // ImageBasedConfigVersion is the version supported by this package.
11- const ImageBasedConfigVersion = "v1beta1"
10+ const (
11+ // ImageBasedConfigVersion is the version supported by this package.
12+ ImageBasedConfigVersion = "v1beta1"
13+ )
14+
15+ // Config is the API for specifying configuration for the image-based configuration ISO.
16+ type Config struct {
17+ metav1.TypeMeta `json:",inline"`
18+ metav1.ObjectMeta `json:"metadata,omitempty"`
19+
20+ // Hostname is the desired hostname of the SNO node.
21+ Hostname string `json:"hostname,omitempty"`
22+
23+ // NetworkConfig is a YAML manifest that can be processed by nmstate, using custom
24+ // marshaling/unmarshaling that will allow to populate nmstate config as plain yaml.
25+ NetworkConfig aiv1beta1.NetConfig `json:"networkConfig,omitempty"`
26+
27+ // ReleaseRegistry is the container registry used to host the release image of the seed cluster.
28+ ReleaseRegistry string `json:"releaseRegistry,omitempty"`
29+ }
1230
1331// InstallationConfig is the API for specifying configuration for the
1432// image-based installation ISO.
You can’t perform that action at this time.
0 commit comments