The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Best way to perform post-chart configuration/customization

robert.haskins
September 14, 2023

We are deploying Confluence DC via Atlassian Helm Charts, and need to do a little post-helm configuration:

1) add a couple of jar files

2) update a couple of .xml configuration files

3) add one external binary to the container

It's unfortunate that the files I need to change are not on shared home, so this will need to be done on every confluence pod every time the cluster is rebuilt. What is the best way to achieve this? It isn't much, so I am thinking in terms of just using kubctl to copy the files and script in, and run the script, but it seems like there should be a better way.

Does anyone have any suggestions?

1 comment

Comments for this post are closed

Community moderators have prevented the ability to post new comments.

Yevhen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 14, 2023

@robert.haskins it depends on the files. I suggest you take a look at additionalFiles and additionalConfigMaps in values.yaml. With additionalFiles, you can either create configmaps/secrets outside Helm and have them mounted into containers, or you can define additionalConfigMaps with keys and content, and helm chart will create them for you and mount them to the specified locations.

Like # people like this
TAGS
AUG Leaders

Atlassian Community Events