@kumori/aurora-backend-handler 1.1.77 → 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.
|
@@ -957,12 +957,9 @@ export async function generateServiceSpec(
|
|
|
957
957
|
imageTag: withDefaultValue(form.imageTag, "").trim(),
|
|
958
958
|
registryCredentialsSecret: form.config.resources
|
|
959
959
|
.map((r) => {
|
|
960
|
-
if (r.type === "secret" && r.key === "registryCredentials") {
|
|
960
|
+
if (r.type === "secret" && (r.key === "registryCredentials" || r.name === "registryCredentials")) {
|
|
961
961
|
return r.name;
|
|
962
962
|
}
|
|
963
|
-
if (r.type === "secret" && r.name === "registryCredentials") {
|
|
964
|
-
return r.value;
|
|
965
|
-
}
|
|
966
963
|
})
|
|
967
964
|
.find((name) => name !== undefined),
|
|
968
965
|
config: {
|
|
@@ -1663,12 +1660,9 @@ async function generateServiceSpecDSL(
|
|
|
1663
1660
|
imageTag: withDefaultValue(form.imageTag, "").trim(),
|
|
1664
1661
|
registryCredentialsSecret: form.config.resources
|
|
1665
1662
|
.map((r) => {
|
|
1666
|
-
if (r.type === "secret" && r.key === "registryCredentials") {
|
|
1663
|
+
if (r.type === "secret" && (r.key === "registryCredentials" || r.name === "registryCredentials")) {
|
|
1667
1664
|
return r.name;
|
|
1668
1665
|
}
|
|
1669
|
-
if (r.type === "secret" && r.name === "registryCredentials") {
|
|
1670
|
-
return r.value;
|
|
1671
|
-
}
|
|
1672
1666
|
})
|
|
1673
1667
|
.find((name) => name !== undefined),
|
|
1674
1668
|
config: {
|