<p>I am trying to set up the sentry helm chart in Kubernetes environment. However, I am constantly getting the following error:</p>
<pre><code>sezer@optimist ~&gt; minikube --memory 10240 --cpus 4 start
😄  minikube v1.28.0 on Ubuntu 22.04
✨  Automatically selected the docker driver
📌  Using Docker driver with root privileges
👍  Starting control plane node minikube in cluster minikube
🚜  Pulling base image ...
🔥  Creating docker container (CPUs=4, Memory=10240MB) ...
🐳  Preparing Kubernetes v1.25.3 on Docker 20.10.20 ...
    ▪ Generating certificates and keys ...
    ▪ Booting up control plane ...
    ▪ Configuring RBAC rules ...
🔎  Verifying Kubernetes components...
    ▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟  Enabled addons: storage-provisioner, default-storageclass
🏄  Done! kubectl is now configured to use &quot;minikube&quot; cluster and &quot;default&quot; namespace by default
sezer@optimist ~&gt; helm install sentry sentry/sentry
coalesce.go:162: warning: skipped value for config: Not a table.
Error: INSTALLATION FAILED: failed post-install: job failed: DeadlineExceeded

</code></pre>
<p>If I run the debug mode it only gives this output;</p>
<pre><code>sezer@optimist ~&gt; helm install sentry sentry/sentry --debug
install.go:178: [debug] Original chart version: &quot;&quot;
install.go:199: [debug] CHART PATH: /home/sezer/.cache/helm/repository/sentry-17.9.0.tgz

coalesce.go:162: warning: skipped value for config: Not a table.
client.go:299: [debug] Starting delete for &quot;sentry-sentry-secret&quot; Secret
client.go:128: [debug] creating 1 resource(s)
client.go:128: [debug] creating 61 resource(s)
client.go:299: [debug] Starting delete for &quot;sentry-db-check&quot; Job
client.go:128: [debug] creating 1 resource(s)
client.go:528: [debug] Watching for changes to Job sentry-db-check with timeout of 5m0s
client.go:556: [debug] Add/Modify event for sentry-db-check: ADDED
client.go:595: [debug] sentry-db-check: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for sentry-db-check: MODIFIED
client.go:595: [debug] sentry-db-check: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for sentry-db-check: MODIFIED
client.go:595: [debug] sentry-db-check: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for sentry-db-check: MODIFIED
client.go:595: [debug] sentry-db-check: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
client.go:556: [debug] Add/Modify event for sentry-db-check: MODIFIED
Error: INSTALLATION FAILED: failed post-install: job failed: DeadlineExceeded
helm.go:88: [debug] failed post-install: job failed: DeadlineExceeded
INSTALLATION FAILED
main.newInstallCmd.func2
    helm.sh/helm/v3/cmd/helm/install.go:127
github.com/spf13/cobra.(*Command).execute
    github.com/spf13/cobra@v1.2.1/command.go:856
github.com/spf13/cobra.(*Command).ExecuteC
    github.com/spf13/cobra@v1.2.1/command.go:974
github.com/spf13/cobra.(*Command).Execute
    github.com/spf13/cobra@v1.2.1/command.go:902
main.main
    helm.sh/helm/v3/cmd/helm/helm.go:87
runtime.main
    runtime/proc.go:225
runtime.goexit
    runtime/asm_amd64.s:1371
</code></pre>
<p>I am using this repo;<br />
<a href="https://artifacthub.io/packages/helm/sentry/sentry" rel="nofollow noreferrer">https://artifacthub.io/packages/helm/sentry/sentry</a></p>
<p>I tried installing without changing anything just to be sure.</p>
<p>I would like to say in advance that all your help is very valuable.</p>
<p>I tried to do the installation both in the remote server environment and in my local environment.</p>

Sezer BOZKIR
<p><em>First of all, only the helm command log is not enough to determine the error reason.</em></p>
<p>This error occurs because the post-install job waits too long to be marked as successful.</p>
<p>Maybe the correct answer can be founded in the source repository: <a href="https://github.com/sentry-kubernetes/charts" rel="nofollow noreferrer">https://github.com/sentry-kubernetes/charts</a></p>
<p>But let me try to figure out:
The sentry chart has some <a href="https://helm.sh/docs/topics/charts_hooks/" rel="nofollow noreferrer">Helm hooks</a> <a href="https://github.com/sentry-kubernetes/charts/tree/develop/sentry/templates/hooks" rel="nofollow noreferrer">https://github.com/sentry-kubernetes/charts/tree/develop/sentry/templates/hooks</a> with post-install jobs, but by the logs you provide is not possible to determine which one is failing.</p>
<p>My suggestion is to troubleshoot this installation, try again to run the helm install command, and in another terminal tab run some kubectl commands to try discover which jobs are failing, like <code>kubectl get pods</code> <code>kubectl logs &lt;POD&gt;</code>, more options can be found here: <a href="https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/debug/debug-application/debug-pods/</a></p>
<p>Maybe the post-install job is trying to create a resource that doesn't work in your cluster or something else.</p>
