osbuild: add Inscure field to CurlSourceOptions
Makes curl skip the verification step for secure connections and proceed
without checking.
The default (empty) value is 'false'.
osbuild counterpart: c8073b5836
This commit is contained in:
parent
cd2c8e4c45
commit
000344937c
1 changed files with 3 additions and 2 deletions
|
|
@ -22,8 +22,9 @@ type URL string
|
|||
func (URL) isCurlSourceItem() {}
|
||||
|
||||
type CurlSourceOptions struct {
|
||||
URL string `json:"url"`
|
||||
Secrets *URLSecrets `json:"secrets,omitempty"`
|
||||
URL string `json:"url"`
|
||||
Secrets *URLSecrets `json:"secrets,omitempty"`
|
||||
Insecure bool `json:"insecure,omitempty"`
|
||||
}
|
||||
|
||||
func (CurlSourceOptions) isCurlSourceItem() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue