Skip to content

Commit 982c26a

Browse files
Fix crypto usage in plural cd control-plane (#732)
This is blocking on fresh installs that do not configure crypto by default
1 parent c924810 commit 982c26a

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

pkg/cd/control_plane_install.go

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,10 @@ func ControlPlaneValues(conf config.Config, file, domain, dsn, name string) (str
120120
configuration[k] = v
121121
}
122122

123-
cryptos, err := cryptoVals()
124-
if err != nil {
125-
return "", err
126-
}
127-
128-
for k, v := range cryptos {
129-
configuration[k] = v
123+
if cryptos, err := cryptoVals(); err == nil {
124+
for k, v := range cryptos {
125+
configuration[k] = v
126+
}
130127
}
131128

132129
clientId, clientSecret, err := ensureInstalledAndOidc(client, consoleDns)

0 commit comments

Comments
 (0)