cmd/osbuild-worker: add default OCI configuration

Useful for hosted deployments, where target options are often empty or
incomplete.
This commit is contained in:
Sanne Raymaekers 2023-09-06 13:49:05 +02:00
parent a7794dc634
commit a632848c59
5 changed files with 111 additions and 17 deletions

View file

@ -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 {