fix: order external PostgreSQL migration resources
This commit is contained in:
@@ -775,7 +775,16 @@ function externalPostgresManifest({ profile = "v03", config, source, deploy = nu
|
||||
{
|
||||
apiVersion: "v1",
|
||||
kind: "ConfigMap",
|
||||
metadata: { name: migrationName, namespace, labels, annotations: { ...annotations, "hwlab.pikastech.local/migration-sha256": migrationSha256 } },
|
||||
metadata: {
|
||||
name: migrationName,
|
||||
namespace,
|
||||
labels,
|
||||
annotations: {
|
||||
...annotations,
|
||||
"argocd.argoproj.io/sync-wave": "-2",
|
||||
"hwlab.pikastech.local/migration-sha256": migrationSha256
|
||||
}
|
||||
},
|
||||
data: {
|
||||
"run.mjs": migrationRunner,
|
||||
...migrationData
|
||||
|
||||
Reference in New Issue
Block a user