k8wiz
Kustomize
Easy
Concepts

A replacement's source names a Service but sets no fieldPath. Which value does it copy?

Select your answer:

Show answer and explanation

Answer: The Service's metadata.name

Explanation

Both the source fieldPath and the target fieldPaths default to metadata.name. That default covers the most common case, copying a resource's name into another resource's field.

Read more about Kustomize