code: func (container *Container) SecretMounts() ([]Mount, error) {
  	var mounts []Mount
  	for _, r := range container.SecretReferences {
  		if r.File == nil {
  			continue
  		}
  		src, err := container.SecretFilePath(*r)
  		if err != nil {
  			return nil, err
  		}
  		mounts = append(mounts, Mount{
  			Source:      src,
  			Destination: getSecretTargetPath(r),
  			Writable:    false,
  		})
  	}
  	for _, r := range container.ConfigReferences {
  		fPath, err := container.ConfigFilePath(*r)
  		if err != nil {
  			return nil, err
  		}
  		mounts = append(mounts, Mount{
  			Source:      fPath,
  			Destination: r.File.Name,
  			Writable:    false,
  		})
  	}
  
  	return mounts, nil
  }
docs: // SecretMounts returns the mounts for the secret path.