Added config.getString() method to check if kubernetes.config has googleServiceAccount property
Signed-off-by: armandocomellas1 <cgarmando@google.com>
This commit is contained in:
@@ -341,6 +341,7 @@ For example:
|
||||
- type: 'gke'
|
||||
projectId: 'gke-clusters'
|
||||
region: 'europe-west1' # optional
|
||||
authProvider: 'google' # optional
|
||||
skipTLSVerify: false # optional
|
||||
skipMetricsLookup: false # optional
|
||||
exposeDashboard: false # optional
|
||||
@@ -365,6 +366,18 @@ The Google Cloud project to look for Kubernetes clusters in.
|
||||
The Google Cloud region to look for Kubernetes clusters in. Defaults to all
|
||||
regions.
|
||||
|
||||
##### `authProvider` (optional)
|
||||
|
||||
Set the authentication method for discovering clusters and gathering information
|
||||
about resources.
|
||||
|
||||
Defaults to `google` which leverages the logged in user's Google OAuth credentials.
|
||||
|
||||
Set to `googleServiceAccount` to leverage
|
||||
Application Default Credentials (https://cloud.google.com/docs/authentication/application-default-credentials).
|
||||
To use a service account JSON key (not recommended), set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable
|
||||
on the Backstage backend to the path of the service account key file.
|
||||
|
||||
##### `skipTLSVerify` (optional)
|
||||
|
||||
This determines whether the Kubernetes client verifies the TLS certificate
|
||||
|
||||
Reference in New Issue
Block a user