1import { pvcVolumeMounts } from './pvcVolumeMountsF.mts'2import { genericPvcTmplA } from './genericPvcF.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 }11}