code: func buildPodSpec(images []string) v1.PodSpec {
  	podSpec := v1.PodSpec{Containers: []v1.Container{}}
  	for _, imageString := range images {
  		// Retain just the image name
  		imageSplit := strings.Split(imageString, "/")
  		name := imageSplit[len(imageSplit)-1]
  		// Remove any tag or hash
  		if strings.Contains(name, ":") {
  			name = strings.Split(name, ":")[0]
  		}
  		if strings.Contains(name, "@") {
  			name = strings.Split(name, "@")[0]
  		}
  		podSpec.Containers = append(podSpec.Containers, v1.Container{Name: name, Image: imageString})
  	}
  	return podSpec
  }
docs: // buildPodSpec: parse the image strings and assemble them into the Containers
  // of a PodSpec. This is all you need to create the PodSpec for a deployment.