Does helm support xpath?

17 views
Skip to first unread message

Kavindu Gimhan Zoysa

unread,
May 16, 2018, 12:08:58 AM5/16/18
to emacs-helm

Hi,

Currently, I am working on creating configMaps using helm. I am facing an issue that I cannot replace a value of xml file using xpath. I have explained my task below

I have a xml file called tee.xml which should be added to my config map.

The folder structure of helm chart is shown below.

├── charts
├── Chart.yaml
├── conf
│ └── tee.xml
├── templates
│ └── ConfigMap.yaml
└── values.yaml
tee.xml is shown below.

<note>
<to>Tove</to>
<from>${name}</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>

Can I replace the value ${name} (which is located in tee.xml) using xpath before it is added as a config map ? The value should be taken from values.yaml file.

Please help me, if you have any method of doing above task.


Thank you,

Kavindu

Reply all
Reply to author
Forward
0 new messages