gke

Codefresh gke plugin
Arguments
VAULT_ADDR
- Vault server URI. Example: https://vault.testdomain.io:8200 (required)
GOOGLE_SERVICE_ACCOUNT_KEY (required)
- Google Service Account Key value
CLOUDSDK_COMPUTE_ZONE
- one of valid Google Compute zones
CLOUDSDK_COMPUTE_REGION
- one of valid Google Compute regions. If both CLOUDSDK_COMPUTE_ZONE and CLOUDSDK_COMPUTE_REGION are not set, default is us-central1
GKE_CLUSTER_NAME
- Name of the cluster to create/delete. Can be also set from gke-create command line. It is generated if not set
COMMAND
- The command to run once the cluster is ready
    version: '1.0'
steps:
  run:
    type: gke
    arguments:
      GOOGLE_SERVICE_ACCOUNT_KEY: '${{GOOGLE_SERVICE_ACCOUNT_KEY}}'
      VAULT_ADDR: '${{VAULT_ADDR}}'
      GKE_CLUSTER_NAME: '${{GKE_CLUSTER_NAME}}'
      CLOUDSDK_COMPUTE_ZONE: '${{CLOUDSDK_COMPUTE_ZONE}}'
      CLOUDSDK_COMPUTE_REGION: '${{CLOUDSDK_COMPUTE_REGION}}'
      COMMAND: '${{COMMAND}}'

  
github.comKosta KlevenskyAug 21, 2019source