Helm Fail In Cloud Build

11/25/2019

I'm using alpine/helm:3.0.0 in the following Google Cloud Build step

- id: 'update helm app'
  name: 'alpine/helm:3.0.0'
  args: ['upgrade', 'staging', './iprocure-chart/']
  env:
  - CLOUDSDK_COMPUTE_ZONE=us-central1-a
  - CLOUDSDK_CONTAINER_CLUSTER=iprocure-cluster

The problem is when i run this using cloud-build-local i get the following error and the pipeline ends with a fail

Starting Step #4 - "update helm app"
Step #4 - "update helm app": Already have image (with digest): alpine/helm:3.0.0
Step #4 - "update helm app": Error: UPGRADE FAILED: query: failed to query with labels: Get http://localhost:8080/api/v1/namespaces/default/secrets?labelSelector=name%3Dstaging%2Cowner%3Dhelm%2Cstatus%3Ddeployed: dial tcp 127.0.0.1:8080: connect: connection refused
-- Yunus Einsteinium
continuous-integration
google-cloud-build
google-kubernetes-engine
kubernetes-helm

0 Answers