Closed letzya closed 2 years ago
Zaid - can we use the cli command tyk-analytics bootstrap
?
@letzya To simply delete the batch job, modifying the bootstrap-post-install.yaml
template to include "helm.sh/hook-delete-policy": hook-succeeded,hook-failed
will delete the batch job if the bootstrap fails, for example if the license is invalid. As you say though, we probably need a more complete solution and think about how we handle the collection/tables already existing in mongo/postgres
@buraksekili
@rewsmith thank you! we have a couple of open PRs (#202 and #203 ) regarding bootstrap jobs. I'm hoping that we'll be able to fix the fundamental issues with bootstrap jobs soon, such as those that arise when there is a preceding job.
Resolved via #202
If my install failed and I do
helm uninstall tyk-pro
, i still cant install since I get:The post-install job needs to be deleted as well.
Currently it's causing a lot of pain.