Once KEYCLOAK-16003 gets merged in it'll allow us to mount secrets, providing us the ability to use the vault integration. However, it currently only allows a single secret to be mounted to a mountPath. I had a solution working, but I'm not sure what the best way to name the cr variables. Right now I have it set to:
volumes:
defaultMode: 0444
items:
- secret:
name: single-secret
mountPath: /single-secret
- secret:
name: multiple-secrets
mountPath: /multiple-secrets
secretNames:
- secret1
- secret2
- configMap:
name: single-configmap
mountPath: /single-configmap
- configMap:
name: multiple-configmaps
mountPath: /multiple-configmaps
configMapNames:
- configmap1
- configmap2
Does this look ok or does anyone have a better suggestion for naming? I'll get a PR cut after KEYCLOAK-16003 is merged.
Thanks,
- Kevin