k8wiz
Kustomize
Easy
Generation

Which type does secretGenerator give a Secret when the entry sets no type?

Select your answer:

Show answer and explanation

Answer: Opaque

Explanation

Kustomize sets type: Opaque unless the secretGenerator entry has a type field. generic is the kubectl create secret subcommand, not a Secret type. Set type: kubernetes.io/tls when you generate a TLS Secret.

Read more about Kustomize