
@aantn Kubectl only command:
kubectl apply -f foo.yaml --dry-run=client -o go-template='{{.data.BASIC_AUTH_HEADER | base64decode}}'
You can use it similary to read a secret from the cluster:
kubectl get secret foo -o go-template='{{.data.BASIC_AUTH_HEADER | base64decode}}'
English







