You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering if you would be willing to consider the following feature proposal.
The chart currently supports adding extra volumes and volumeMounts to the Keycloak pods and it works great.
However, some users may be interested in using PersistentVolumes with a storageClass of their preference.
For example, a use case would be to deploy Keycloak to Amazon EKS using volumes with a storageClass that uses the EFS CSI driver.
The idea is to add a volumeClaimTemplates value much in the same way as extraVolumes. Then they can be used in extraVolumeMounts by name just like volumes.
An example illustrating both:
# Add additional volumes, e. g. for custom themesextraVolumes: | - name: {{ include "keycloak.fullname" . }}-static-vol emptyDir: sizeLimit: 512Mi# Add volume claim templates to the StatefulSet, e. g. for dynamic provisioningvolumeClaimTemplates: | - metadata: name: {{ include "keycloak.fullname" . }}-themes spec: accessModes: [ "ReadWriteOncePod" ] storageClassName: "efs-sc" resources: requests: storage: 2Gi# Add additional volumes mounts, e. g. for custom themesextraVolumeMounts: | - name: {{ include "keycloak.fullname" . }}-static-vol mountPath: /opt/keycloak/static - name: {{ include "keycloak.fullname" . }}-themes mountPath: /opt/keycloak/themes
I will submit a PR with the chart additions I am currently using for my case.
Thanks for such a great chart!
The text was updated successfully, but these errors were encountered:
Hi, I was wondering if you would be willing to consider the following feature proposal.
The chart currently supports adding extra volumes and volumeMounts to the Keycloak pods and it works great.
However, some users may be interested in using PersistentVolumes with a storageClass of their preference.
For example, a use case would be to deploy Keycloak to Amazon EKS using volumes with a storageClass that uses the EFS CSI driver.
The StatefulSet spec provides volumeClaimTemplates to achieve this.
The idea is to add a
volumeClaimTemplates
value much in the same way asextraVolumes
. Then they can be used inextraVolumeMounts
by name just like volumes.An example illustrating both:
I will submit a PR with the chart additions I am currently using for my case.
Thanks for such a great chart!
The text was updated successfully, but these errors were encountered: