Skip to content

Commit

Permalink
werft/deploy: Wait for certmanager readiness on Harvester deployments
Browse files Browse the repository at this point in the history
Signed-off-by: ArthurSens <[email protected]>
  • Loading branch information
ArthurSens committed Mar 9, 2022
1 parent 103411b commit 3db1d55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .werft/jobs/build/deploy-to-preview-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ export async function deployToPreviewEnvironment(werft: Werft, jobConfig: JobCon
werft.log(vmSlices.KUBECONFIG, 'all pods in kube-system are ready')



exec(`kubectl wait --for=condition=Complete -n cert-manager job --all --timeout=600s`, { slice: vmSlices.INSTALL_LETS_ENCRYPT_ISSUER })
exec(`kubectl apply -f clouddns-dns01-solver-svc-acct.yaml -f letsencrypt-issuer.yaml`, { slice: vmSlices.INSTALL_LETS_ENCRYPT_ISSUER, dontCheckRc: true })
werft.done(vmSlices.INSTALL_LETS_ENCRYPT_ISSUER)

Expand Down

0 comments on commit 3db1d55

Please sign in to comment.