@kumori/aurora-backend-handler 1.1.78 → 1.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1660,12 +1660,9 @@ async function generateServiceSpecDSL(
|
|
|
1660
1660
|
imageTag: withDefaultValue(form.imageTag, "").trim(),
|
|
1661
1661
|
registryCredentialsSecret: form.config.resources
|
|
1662
1662
|
.map((r) => {
|
|
1663
|
-
if (r.type === "secret" && r.key === "registryCredentials") {
|
|
1663
|
+
if (r.type === "secret" && (r.key === "registryCredentials" || r.name === "registryCredentials")) {
|
|
1664
1664
|
return r.name;
|
|
1665
1665
|
}
|
|
1666
|
-
if (r.type === "secret" && r.name === "registryCredentials") {
|
|
1667
|
-
return r.value;
|
|
1668
|
-
}
|
|
1669
1666
|
})
|
|
1670
1667
|
.find((name) => name !== undefined),
|
|
1671
1668
|
config: {
|