Skip to content

kapp deploy suddenly doesn't work anymore #404

Closed
@ahoehma

Description

@ahoehma

What steps did you take:

Yesterday I started working with kapp (nice tool! :D) in my win-10 docker-desktop-k8s ... simple setup, using lens to look into it, simple application to deploy (deployment, service, nginx-ingress, ....) nothing special so far ... And everything works well ...

kapp deploy -a "foo" -f .

I did this many many many times ... changed my yaml's, re-deployed etc.
I also deleted my app many times

kapp delete -a "foo"

Everything was fine

What happened:

BUT :D Today ... kapp deploy always fail with

"kapp: Error: error unmarshaling JSON: json: cannot unmarshal array into Go value of type map[string]interface {}"

And I have no glue why :(

Anything else you would like to add:

I removed all the things I installed with kapp yesterday

kapp list
kapp delete ...

Is there a debug/verbose mode or something?

Environment:

$kapp --version
kapp version 0.43.0

$kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:41:01Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:42:41Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionThis issue is not a bug or feature and a conversation is needed to find an appropriate resolution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions