cmd/osbuild-worker: add default OCI configuration
Useful for hosted deployments, where target options are often empty or incomplete.
This commit is contained in:
parent
a7794dc634
commit
a632848c59
5 changed files with 111 additions and 17 deletions
|
|
@ -238,11 +238,11 @@ func (c Client) createImage(objectName, bucketName, namespace, compartmentID, im
|
|||
}
|
||||
|
||||
type ClientParams struct {
|
||||
User string
|
||||
Region string
|
||||
Tenancy string
|
||||
PrivateKey string
|
||||
Fingerprint string
|
||||
User string `toml:"user"`
|
||||
Region string `toml:"region"`
|
||||
Tenancy string `toml:"tenancy"`
|
||||
PrivateKey string `toml:"private_key"`
|
||||
Fingerprint string `toml:"fingerprint"`
|
||||
}
|
||||
|
||||
type ociClient struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue