Hi all, Im new here
So Im running a Dockerized version of bitnami Discourse ( the latest one ) on a Kubernetes cluster, really seems to be a great project. However Im facing a kind of problem trying to autmate a theme installation. Essentially I need to build, deploy, run and configure this docker image from a CICD, so at the very first login everything is ready. About the configuration stuffs there is the customized theme installation. As far as a could understand from several forums and docs there is no a native way to install it programmatically, i found just a click by click guide ( correct me if Im wrong pls ).
My first idea was to add the theme files “manually” in the Discourse file systems via k8s, but as I can see Discourse manage its files in a strange way, renaming them according to its own internal logic and making it impossibile to predict.
Looking in more detail i found this great cli called discourse_theme , the problem here is that I would still need to generate an api key from discourse first, otherwise it cannot work ( again… correct me if Im wrong ).
So in the end Ive a couple questions:
first, is there a different/native way to install programmatically a theme in Discourse that I missed?
and on the other hand, is there a way to get an api key from discourse from a script?
and at the end, does anyone know some kubernetees trick to workaround this kind of issue?
Many thanks in advance