<p>I'm trying to deploy RStudio community on Kubernetes.</p>
<p>I'd like to use Helm in order to facilitate the process (I wouldn't really know where to start if I had to specify the different manifests myself).
I've found <a href="https://artifacthub.io/packages/helm/dsri-helm-charts/rstudio/0.1.21" rel="nofollow noreferrer">the dsri helm chart</a>, but of course since it is made for <a href="https://www.okd.io" rel="nofollow noreferrer">okd</a> I can't install it on regular k8 using</p>
<pre><code>helm install rstudio dsri/rstudio \
  --set serviceAccount.name=anyuid \
  --set service.openshiftRoute.enabled=true \
  --set image.repository=ghcr.io/maastrichtu-ids/rstudio \
  --set image.tag=latest \
  --set storage.mountPath=/home/rstudio \
  --set password=changeme
</code></pre>
<p>Is there any way to convert this chart to work on regular Kubernetes? I could switch to okd although I don't really see the benefit of it.</p>

gaut
<p>You can make it work by disabling creation of Openshift-specific resources. In this case its openshiftRoute. In my case the command looks as follows:</p>
<pre><code>helm install rstudio dsri/rstudio   
--set serviceAccount.name=anyuid   
--set service.openshiftRoute.enabled=false   
--set image.repository=ghcr.io/maastrichtu-ids/rstudio   
--set image.tag=latest   
--set storage.mountPath=/home/rstudio   
--set password=changeme 
--set service.openshift.tls.enabled=false 
--set serviceAccount.create=true 
--set storage.enabled=false
</code></pre>
<p>I've also had to set <code>serviceAccount.create=true</code> because Pod was stuck on Pending state without it and <code>storage.enabled=false</code> as I don't have any PersistentVolumes configured, but change those according to your setup.</p>
