Skip to content

Commit

Permalink
fix k8s manifests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Jun 30, 2021
1 parent a32e81d commit 954cd22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .k8s/components/jobs/pg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export default async () => {

// add gitlab annotations
updateMetadata(secret, {
annotations: envParams.manifest.annotations || {},
labels: envParams.manifest.labels || {},
namespace: envParams.manifest.namespace,
annotations: envParams.metadata.annotations || {},
labels: envParams.metadata.labels || {},
namespace: envParams.metadata.namespace,
});

return [secret];
Expand Down
6 changes: 3 additions & 3 deletions .k8s/components/jobs/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ const ciEnv = environments(process.env);
const job = new Job({
metadata: {
name: "restore-db",
namespace: ciEnv.manifest.namespace.name,
labels: ciEnv.manifest.labels,
annotations: ciEnv.manifest.annotations
namespace: ciEnv.metadata.namespace.name,
labels: ciEnv.metadata.labels,
annotations: ciEnv.metadata.annotations
},
spec: {
// backoffLimit: 0,
Expand Down

0 comments on commit 954cd22

Please sign in to comment.