Skip to content

jx gitops upgrade fails be cause of helm chart #968

@yelhouti

Description

@yelhouti

I spent the day struggling with the use of jx gitops upgrade
After a lot of debugging and manual changes I reached the followng conclusion.
Kpt is not (yet) the best to merge changes from remote repo like jx-pipeline-catalog
It uses kustomize/kmr under the hood and tries to validate the yaml files inside charts/templates which are not valid yaml files (helm templates).
kptdev/kpt#3351
We should either find a new approach or create a PR in KPT that adds a flag to git merge instead of yaml merge if the file can't be parsed. or just ignore the schema when parsing to skip common issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions