Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build cancelled when using dependsOn for helm deploy #9694

Open
Ahhhh-man opened this issue Jan 30, 2025 · 1 comment
Open

Build cancelled when using dependsOn for helm deploy #9694

Ahhhh-man opened this issue Jan 30, 2025 · 1 comment

Comments

@Ahhhh-man
Copy link

Ahhhh-man commented Jan 30, 2025

I am trying to deploy Istio as part of my deploy steps within Skaffold, however using the dependsOn does not seem to work. Below is the skaffold config I am running,

apiVersion: skaffold/v4beta12
kind: Config
metadata:
  name: example

deploy:
  helm:
    releases:
      - name: istio-base
        namespace: istio-system
        createNamespace: true
        repo: https://istio-release.storage.googleapis.com/charts
        remoteChart: base
        version: 1.24.2
        setValues:
          defaultRevision: default

      - name: istiod
        namespace: istio-system
        createNamespace: true
        repo: https://istio-release.storage.googleapis.com/charts
        remoteChart: istiod
        version: 1.24.2

      - name: istio-ingressgateway
        namespace: istio-system
        repo: https://istio-release.storage.googleapis.com/charts
        remoteChart: gateway
        version: 1.24.2
        dependsOn:
          - istio-base

Which yields the following stdout when running skaffold deploy -vinfo

Starting deploy...
Loading images into k3d cluster nodes...
Images loaded in 84ns
INFO[0000] Deploying with helm v3.17.0 ...               subtask=0 task=Deploy
INFO[0000] Installing 3 releases sequentially            subtask=0 task=Deploy
INFO[0000] Installing level 0/2 releases (2 releases)    subtask=0 task=Deploy
INFO[0000] Release istio-base not upgraded as it is remote...  subtask=0 task=Deploy
INFO[0000] Release istiod not upgraded as it is remote...  subtask=0 task=Deploy
INFO[0000] Installing level 1/2 releases (1 releases)    subtask=0 task=Deploy
Helm release istio-ingressgateway not installed. Installing...
Build Cancelled

I am currently running skaffold version v2.14.0 installed via homebrew. Additionally I am running on a k3d cluster with the following config:

apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
  name: example
servers: 1
image: rancher/k3s:v1.28.1-k3s1
options:
  k3s:
    extraArgs:
      - arg: --disable=traefik
        nodeFilters:
          - server:*
@idsulik
Copy link
Contributor

idsulik commented Feb 1, 2025

it was fixed here #9689 , wait for the next version release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants