gke

Codefresh gke plugin

arguments

  • 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
  • CLOUDSDK_COMPUTE_ZONE - one of valid Google Compute zones
  • COMMAND - The command to run once the cluster is ready
  • 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
  • GOOGLE_SERVICE_ACCOUNT_KEY (required) - Google Service Account Key value
  • VAULT_ADDR - Vault server URI. Example: https://vault.testdomain.io:8200 (required)
    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.com
Kosta Klevensky
Sep 18, 2019