Fix step-ca root CA access on Linux CI
Host chmod cannot open 0700 dirs owned by UID 1000, so `-f` never sees root_ca.crt. Chmod from inside the container as root while waiting for the cert. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -651,6 +651,7 @@ func NewCIMDClient(
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot parse logo_uri: %w", err)
|
||||
}
|
||||
|
||||
if !u.IsHTTP() {
|
||||
return nil, fmt.Errorf("logo_uri must be an absolute http or https URL")
|
||||
}
|
||||
@@ -663,6 +664,7 @@ func NewCIMDClient(
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot parse client_uri: %w", err)
|
||||
}
|
||||
|
||||
if !u.IsHTTP() {
|
||||
return nil, fmt.Errorf("client_uri must be an absolute http or https URL")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user