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:
Achilleas Koutsou 2022-06-15 12:08:27 +02:00 committed by Tomáš Hozza
parent cd2c8e4c45
commit 000344937c

View file

@ -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() {}