Ravi S:
@Vijin Palazhi (kodekloud)
MOCK EXAM -1 Que #2
root@controlplane:/# kubectl -n orion get secrets a-safe-secret -o jsonpath=‘{.data.CONNECTOR_PASSWORD}’ | base64 --decode >/root/CKS/secrets/CONNECTOR_PASSWORD
bash: /root/CKS/secrets/CONNECTOR_PASSWORD: No such file or directory
root@controlplane:/# sudo touch /root/CKS/secrets/CONNECTOR_PASSWORD
touch: cannot touch ‘/root/CKS/secrets/CONNECTOR_PASSWORD’: No such file or directory
root@controlplane:/#
what is wrong here
Sam Melik:
just create the folder first
Sam Melik:
mkdir /root/CKS/secrets/ then it will work