- Home
- All questions
- Question 602
CKA study material · question 602 of 1000
A Secret manifest sets the key password under both data and stringData. Which value ends up stored?
Show the answer
Answer: B. The one from stringData
stringData is merged into data at admission, and where a key appears in both the stringData value takes precedence.
Source: Secrets (Kubernetes) — Working with Secrets › Constraints on Secret names and data