Skip to content

argodcd commandlin create app for webapp-kustom-prod not going through-rpc error: code = InvalidArgument desc = application spec #19

Description

@eliassal

Hi I reached minute 28 of the video and tried to apply
argocd app create webapp-kustom-prod --repo https://gitea.cnoe.localtest.me:8443/giteaAdmin/argo-examples.git --path kustom-webapp/overlays/prod --dest-server https://kubernetes.default.svc --dest-namespace prod
I am getting the following error

level=fatal msg="rpc error: code = InvalidArgument desc = application spec for webapp-kustom-prod is invalid: InvalidSpecError: Unable to generate manifests in kustom-webapp/overlays/prod: rpc error: code = Unknown desc = kustomize build <path to cached source>/kustom-webapp/overlays/prod failed exit status 1: Error: invalid Kustomization: json: cannot unmarshal string into Go struct field Kustomization.patches of type types.Patch"

Thanks for your help

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions