An old Secret, legacy-creds, sits in caverns-1vjs1ll. Print it:
sh
kubectl get secret legacy-creds -n caverns-1vjs1ll -o yamlDecode its password. Then create db-creds with username=market and password=s3cret, and describe it.
Lab4 objectives100 XP
An old Secret, legacy-creds, sits in caverns-1vjs1ll. Print it:
kubectl get secret legacy-creds -n caverns-1vjs1ll -o yamlDecode its password. Then create db-creds with username=market and password=s3cret, and describe it.
Decode the password in legacy-creds
Pull data.password with jsonpath and pipe it through base64 -d.
Decode the password in legacy-creds
Pull data.password with jsonpath and pipe it through base64 -d.
Read the Secret's type
It is in the YAML, next to data.
Create Secret db-creds with username=market and password=s3cret
A generic Secret with two literals.
Describe the new Secret
describe shows the keys. Look at what it shows for the values.