kubernetes-cloud-mysql-backup
kubernetes-cloud-mysql-backup copied to clipboard
I am receiving this error ERROR: (gcloud.auth.activate-service-account) Could not read json file /root/gcloud.json: Expecting value: line 1 column 1 (char 0)
I have encoded the base64 string using the command
base64 -i gke_key.json -o k.txt
I added the text string in the kubernetes yaml file as a secret. What is the best option to encode the json file?
Hey @RathVong,
Sorry for the delay in getting back to you.
Did you manage to work this out?
I am working on a pretty big new version of this utility, when it is released, the recommended way to do authentication will move away from a Service Account Key as an environment variable. Instead the recommendation will be to use Workload Identity which would indirectly solve this problem.