<p>I have a nginx ingress controller installed via gitlab managed apps.</p>
<p>I would like to disable hsts for subdomains. I known I can disable it via a custom ConfigMap (<a href="https://kubernetes.github.io/ingress-nginx/user-guide/tls/" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/user-guide/tls/</a>)</p>
<p>But I don't know where to place this and how to name it so the gitlab ingress will pick it up.</p>

errnesto
<p>So what I did in the end is using: <a href="https://docs.gitlab.com/ee/user/clusters/applications.html#install-using-gitlab-cicd" rel="nofollow noreferrer">https://docs.gitlab.com/ee/user/clusters/applications.html#install-using-gitlab-cicd</a>.</p>
<p>So the gitlab-managed-apps are not managed via ui but with a &quot;cluster management project&quot;.
So now I don't have to figure out how to place that config map in my cluster (and how to name it) but I can just configure the ingress controller (and everything else) via the helm chart with a simple values.yaml.</p>
<p>I just cloned the <a href="https://gitlab.com/gitlab-org/cluster-integration/example-cluster-applications/" rel="nofollow noreferrer">https://gitlab.com/gitlab-org/cluster-integration/example-cluster-applications/</a> example and added:</p>
<pre class="lang-yaml prettyprint-override"><code># .gitlab/managed-apps/ingress/values.yml
controller:
  replicaCount: 1
  config:
    hsts-include-subdomains: &quot;false&quot;
</code></pre>
<p>So this is still an alpha feature but for now it works well for me :-)</p>
