diff --git a/src/components/app/index.ts b/src/components/app/index.ts index 6c1f8bc074..e99000bebe 100644 --- a/src/components/app/index.ts +++ b/src/components/app/index.ts @@ -35,7 +35,7 @@ export const create = ( deployment: deploymentParams, }: { env: Environment; - config: Partial; + config?: Partial; deployment?: Partial>; } ): { kind: string }[] => { @@ -54,7 +54,7 @@ export const create = ( defaultEnvParams, // set name as default if not provided gitlab(process.env), env.component(name) as AppConfig, // kosko env overrides - config // create options + config ?? {} // create options ); const { containerPort, servicePort } = envParams; diff --git a/src/components/hasura/index.ts b/src/components/hasura/index.ts index 09943466a1..c3d623292b 100644 --- a/src/components/hasura/index.ts +++ b/src/components/hasura/index.ts @@ -58,10 +58,9 @@ export const create = ( ok(deployment); addPostgresUserSecret(deployment); - - // todo: doesnt work ATM, we need to check if user+db are ready addWaitForPostgres(deployment); // + return manifests; };