<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>persistence on Alekc's Blog</title><link>https://blog.alekc.org/tags/persistence/</link><description>Recent content in persistence on Alekc's Blog</description><generator>Hugo -- gohugo.io</generator><copyright>©{year}, All Rights Reserved</copyright><lastBuildDate>Wed, 05 Oct 2022 23:00:00 +0000</lastBuildDate><atom:link href="https://blog.alekc.org/tags/persistence/index.xml" rel="self" type="application/rss+xml"/><item><title>Template for persistent volumes on helm charts</title><link>https://blog.alekc.org/posts/template-for-persistent-volumes-on-helm-charts/</link><pubDate>Wed, 05 Oct 2022 23:00:00 +0000</pubDate><guid>https://blog.alekc.org/posts/template-for-persistent-volumes-on-helm-charts/</guid><description>Over and over happens to reinvent the wheel and write some specific configuration related to volume management while creating helm charts. This is due to the fact that helm chart template doesn&amp;rsquo;t create any settings relative to the persistent volumes.
To avoid doing that in the future, I am adding here a small recipe
Values.yaml 1persistence:2storageClass:&amp;#34;&amp;#34;3existingClaim:&amp;#34;&amp;#34;4enabled:true5accessMode:ReadWriteOnce6size:800Mi7# if you need any additional volumes, you can define them here8additionalVolumes:[]9# if you need any additional volume mounts, you can define them here10additionalMounts:[]Deployment.</description></item></channel></rss>