Configure your custom service account
Use your own GCP service account instead of the CARTO-provisioned one
Last updated
Was this helpful?
Was this helpful?
cartoSecrets:
defaultGoogleServiceAccount:
value: |
{
"type": "service_account",
"project_id": "<your_project_id>",
"private_key_id": "<your_private_key_id>",
"private_key": "-----BEGIN PRIVATE KEY-----\n<your_private_key>\n-----END PRIVATE KEY-----\n",
"client_email": "<your_sa_email>@<your_project>.iam.gserviceaccount.com",
"client_id": "<your_client_id>",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/<your_sa_email>"
}kubectl create secret generic \
mycarto-google-custom-service-account \
--from-file=key=<PATH_TO_YOUR_SECRET.json> \
-n <namespace>cartoSecrets:
defaultGoogleServiceAccount:
existingSecret:
name: mycarto-google-custom-service-account
key: keyhelm upgrade carto carto/carto \
--namespace <namespace> \
-f carto-values.yaml \
-f carto-secrets.yaml \
-f customizations.yaml