Wander Boessenkool werkt sinds 2017 voor HCS Company, waar hij klanten helpt met containerisatie en automatiserings vraagstukken. Met een focus op zowel OpenShift als Ansible automatiseert hij zowel installatie als (dagelijks) beheer van OpenShift clusters bij klanten. Hij werkt met, en schrijft over, OpenShift sinds de eerste release in 2011. Hij heeft nog steeds nachtmerries van gears en cartridges.
Fun With Kustomize nameReference
In a previous post we looked at how to add extensions to the new Keycloak operator. In that article we used a ConfigMap to store those extensions. In the real world a PersistentVolumeClaim (PVC) would be a more realistic choice, especially for larger or more extensions.
In this post we will look at how to change out the ConfigMap for a PVC, and how to set up a Job that can fill that PVC with the content we want.