What is PATH_TO_CREDENTIAL_FILE on Running Django on Kubernetes Engine?

10/14/2018

On step 8 of Deploying the app to GKE in Running Django on Kubernetes Engine, it asks you to run this command:

kubectl create secret generic cloudsql-oauth-credentials --from-file=credentials.json=[PATH_TO_CREDENTIAL_FILE]

What is PATH_TO_CREDENTIAL_FILE supposed to be? I'm a bit lost here.

-- pupeno
django
google-cloud-platform
google-kubernetes-engine
kubernetes

1 Answer

10/14/2018

As it says in the previous line, it's the "location of the key you downloaded when you created your service account".

-- Daniel Roseman
Source: StackOverflow