I believed these three lines are the source of my problem: xwiki-helm/charts/xwiki/templates/initialization-configmaps.yaml at master · xwiki-contrib/xwiki-helm · GitHub
Using an install with no customConfigs in my values.yaml, I can see a complete xwiki.cf of 537 lines at /usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.cfg and a xwiki.propoerties of 1560 lines at /usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.properties .
Now if I add a few lines in customConfigs like below:
customConfigs:
xwiki.cfg:
xwiki.home: "https://my.domain"
xwiki.authentication.authclass: "org.xwiki.contrib.oidc.auth.OIDCAuthServiceImpl"
xwiki.properties:
oidc.provider: https://my.oidc
Then /usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.cfg and /usr/local/tomcat/webapps/ROOT/WEB-INF/xwiki.properties only contain these few lines I have added. But not the rest. So a lot of config is missing, and the UI complains about it.
l’ll try tomorrow to use the entire xwiki.cfg and xwiki.properties and just change the lines relevant to me to see if it works.
Something seems to be broken with the customConfigs key.
What is strange is those lines removing the config files. But somehow with no customConfigs provided, the config is there plain and well.