Make custom configuration for the Release
This is internal documentation. This document can be used only if it was recommended by the Support Team.
From 23.3 version this document is outdated. Use official Digital.ai documentation.
Requirements
- Running Release installation on k8s cluster
kubectlconnected to the cluster- Release operator version above following:
- 10.2.18
- 10.3.16
- 22.0.8
- 22.1.6
- 22.2.2
Steps
-
Download current template configuration file that exists on you Release pod that is running. It is in the
/opt/xebialabs/xl-release-server/default-conf/xl-release.conf.templateFor example:
kubectl cp digitalai/dai-xlr-digitalai-release-0:/opt/xebialabs/xl-release-server/default-conf/xl-release.conf.template . -
Update the CR file or CR on the cluster
Use that file to update your CR file under
spec.release.configurationManagement.configuration.scriptDatapath. Add there the content of thexl-release.conf.templatefile under thexl-release.conf.templatekey.Also update the script under the
spec.release.configurationManagement.configuration.scriptpath. Add thereFor example:
...
script: |-
...
cp /opt/xebialabs/xl-release-server/xlr-configuration-management/xl-release.conf.template /opt/xebialabs/xl-release-server/default-conf/xl-release.conf.template && echo "Changing the xl-release.conf.template";
scriptData:
...
xl-release.conf.template: |-
xl {
...
} -
If you have oidc enabled, in that case disable it. Because the changes that are from there will conflict with your changes in the
xl-release.conf.templatefile.Just in CR file put
spec.oidc.enabled: false. -
Save and apply changes from the CR file.