The example PatchTransformer $deploy/sas-bases/examples/sas-compute-server/config/compute-server-add-nfs-mount.yaml shows how to add a volume to podTemplates with the label sas.com/template-intent=sas-launcher, which would include batch and compute servers.
Since you'd be adding a PVC instead of an NFS volume, instead of:
nfs:
path: {{ PATH-TO-BE-MOUNTED }}
server: {{ HOST }}
you would use:
persistentVolumeClaim:
claimName: {{ PVC-NAME }}
Your LDAP and oauth configurations are persisted in the SAS Configuration Server, so these would not be lost when pods are restarted or you apply new assets.
--
Greg Wootton | Principal Systems Technical Support Engineer