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.
More easy Kustomize questions
- What is Kustomize?
- Which file tells Kustomize which resources to build and how to change them?
- Which command prints the built output of a kustomization directory with kubectl, without applying it?
- Which flag makes kubectl apply a kustomization directory?
- Which field lists the manifest files and directories a kustomization builds from?
- What is an overlay in Kustomize?