Skip to content

Cannot define patches for properties that have been changed in newer versions #4725

Open
@gsquared94

Description

From a user report on slack, consider the patch:

  patches:
     - op: add
        path: /deploy/helm/releases/0
        value:
          name: docs
          namespace: documentation
          chartPath: ./documentation/helm
          remote: false
          values:
            image: docs

This is consistent for skaffold API version skaffold/v1 but in newer versions value property of the helm deployer has been renamed to artifactOverride. This patch fails to get applied as it's not upgraded to the latest version properly unlike the regular Pipeline objects do.

Metadata

Assignees

No one assigned

    Labels

    area/profileskind/bugSomething isn't workingpriority/p3agreed that this would be good to have, but no one is available at the moment.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions