File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ type MetalConfig struct {
1313 NTPServers []string `json:"ntp_servers,omitempty"`
1414 Partition string `json:"partition"`
1515 // Logging contains logging configurations passed to metal-hammer
16- Logging * Logging `json:"logging,omitempty"`
16+ Logging * Logging `json:"logging,omitempty"`
17+ OciConfig * OciConfig `json:"oci_config,omitempty"`
1718}
1819
1920type Logging struct {
@@ -45,6 +46,15 @@ type CertificateAuth struct {
4546 InsecureSkipVerify bool `json:"insecure_skip_verify,omitempty"`
4647}
4748
49+ type OciConfig struct {
50+ // URL pointing to the oci registry
51+ RegistryURL string `json:"registry_url"`
52+ // Username that is capable of logging in to the registry
53+ Username string `json:"username,omitempty"`
54+ // Password for the user
55+ Password string `json:"password,omitempty"`
56+ }
57+
4858// LogType defines which logging backend should be used
4959type LogType string
5060
You can’t perform that action at this time.
0 commit comments