dgkanatsios / CKAD-exercises

A set of exercises to prepare for Certified Kubernetes Application Developer exam by Cloud Native Computing Foundation
MIT License
8.77k stars 5.64k forks source link

fix(configuration): fix bash commands in secrets question #341

Closed syaffers closed 11 months ago

syaffers commented 1 year ago

The Secrets question

Create a Secret named 'ext-service-secret' in the namespace 'secret-ops'. Then, provide the key-value pair API_KEY=LmLHbYhsgWZwNifiqaRorH8T as literal.

had some issues with the bash commands shown:

  1. $ns was defined but not used; instead, -n secret-ops was reiterated in the command.
  2. $do was not defined but used. Unless you read the really out of context tip at the top of the page and remembered it, you would know how to define $do but I didn't.

This PR is to clarify that part of the question and improve the commands.