🌳
pt0/deployF/k8sF/pvcAndVolumeMountsF.mts
4type PvcAndVolMntsProps = { name: string, mountPath?: string } & Record<string, unknown>
6export const pvcAndVolumeMounts = async ({name, mountPath, ...pvcOpts}: PvcAndVolMntsProps) => {
7 const retH = pvcVolumeMounts({name, mountPath})
8 return {...retH, resources:
9 await genericPvcTmplA({name, ...pvcOpts} as Parameters<typeof genericPvcTmplA>[0])
10 }