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

Kustomize, Easy (Beginner), Generation. https://k8wiz.com/uquiz/which-type-does-secretgenerator-give-a-secret-when-the-entry-sets-no-type

- A. kubernetes.io/tls
- B. kubernetes.io/basic-auth
- C. generic
- D. Opaque

**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.
