Skip to content

Can not push skaffold to re-create Helm hook resource #2877

@kvokka

Description

@kvokka

Expected behavior

With deploy helm option recreatePods: true expected, that all resources should be re-created.

Actual behavior

$ skaffold dev
...
Error: pods "poker-core-db-migrate" already exists
Cleaning up...
release "poker-core" deleted
Cleanup complete in 997.567658ms
FATA[0005] exiting dev mode because first deploy failed: deploying poker-core: exit status 1

Information

apiVersion: skaffold/v1beta14
kind: Config
build:
  tagPolicy:
    sha256: {}
  artifacts:
    - image: poker-core
      context: core
      docker:
        dockerfile: docker/development/Dockerfile
deploy:
  helm:
    releases:
      - name: poker-core
        chartPath: core/charts/poker-core
        recreatePods: true
        valuesFiles:
          - core/charts/poker-core/values.yaml
          - core/charts/poker-core/values.development.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/deploydeploy/helmkind/bugSomething isn't workingneeds-reproductionneeds reproduction from the maintainers to validate the issue is truly a skaffold bugpriority/p1High impact feature/bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions