Created
January 17, 2024 22:59
-
-
Save YurgenUA/4fc823d73e8aa35971728fdb1e18398d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl get secret top-secret-ks -n playground -o yaml | |
>> apiVersion: v1 | |
>> data: | |
>> password: TG9zdW5nd29ydA== | |
>> username: TnV0emVybmFtZQ== | |
>> kind: Secret | |
>> metadata: | |
>> name: top-secret-ks | |
>> namespace: playground | |
>> ... | |
>> type: Opaque | |
kubectl get secret top-secret-ks -n playground -o jsonpath='{.data.username}' | base64 --decode | |
>>Nutzername | |
kubectl get secret top-secret-ks -n playground -o jsonpath='{.data.password}' | base64 --decode | |
>>Losungwort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment