<p>I try to run ReportPortal in my minikube:</p>
<pre><code># Delete stuff from last try
minikube delete

minikube start --driver=docker

minikube addons enable ingress

helm repo add stable https://kubernetes-charts.storage.googleapis.com/

mv v5 reportportal/

helm dependency update

helm install . --generate-name

→ Error: failed pre-install: warning: Hook pre-install reportportal/templates/migrations-job.yaml failed: Job.batch &quot;chart-1601647169-reportportal-migrations&quot; is invalid: spec.template.spec.containers[0].env[4].valueFrom.secretKeyRef.name: Invalid value: &quot;&quot;: a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')
</code></pre>
<p>Here is the file harts.yaml: <a href="https://github.com/reportportal/kubernetes/tree/master/reportportal/v5" rel="nofollow noreferrer">https://github.com/reportportal/kubernetes/tree/master/reportportal/v5</a></p>
<p>What could be wrong?</p>

<p>As mentioned <a href="https://github.com/reportportal/kubernetes/tree/master/reportportal/v5" rel="nofollow noreferrer">here</a></p>
<blockquote>
<p>Before you deploy ReportPortal you should have installed all its requirements. Their versions are described in <a href="https://github.com/reportportal/kubernetes/blob/master/reportportal/v5/requirements.yaml" rel="nofollow noreferrer">requirements.yaml</a>
You should also specify correct PostgreSQL and RabbitMQ addresses and ports in <a href="https://github.com/reportportal/kubernetes/blob/master/reportportal/v5/values.yaml" rel="nofollow noreferrer">values.yaml</a></p>
</blockquote>
<pre><code>rabbitmq:
  SecretName: &quot;&quot;
  installdep:
    enable: false
  endpoint:
    address: &lt;rabbitmq_chart_name&gt;-rabbitmq-ha.default.svc.cluster.local
    port: 5672
    user: rabbitmq
    apiport: 15672
    apiuser: rabbitmq

postgresql:
  SecretName: &quot;&quot;
  installdep:
    enable: false
  endpoint:
    cloudservice: false
    address: &lt;postgresql_chart_name&gt;-postgresql.default.svc.cluster.local
    port: 5432
    user: rpuser
    dbName: reportportal
    password: 
</code></pre>
<hr />
<p>I checked <a href="https://github.com/reportportal/kubernetes/blob/master/reportportal/v5/templates/migrations-job.yaml#L37-L40" rel="nofollow noreferrer">here</a> and it points to postgresql secret name in <a href="https://github.com/reportportal/kubernetes/blob/master/reportportal/v5/values.yaml#L133" rel="nofollow noreferrer">values.yaml</a>.</p>
<p>The solution here would be to change that from <code>&quot;&quot;</code> to your <code>postgresql secret name</code> and install it again. You can change it in your values.yaml or with <a href="https://helm.sh/docs/intro/using_helm/" rel="nofollow noreferrer">--set</a>, which specify overrides on the command line</p>
